jdemetra / jdemetra-app

JDemetra+ v2 desktop application
European Union Public License 1.2
76 stars 30 forks source link

seasonal adjustment - TS Providers #329

Closed pinkfairystardust closed 7 years ago

pinkfairystardust commented 7 years ago

Hello!

I loaded some data from the provider in JDemetra 2,2, put them in a multi-document and calculate using a TramoSeats specification; image see, there are 23 observations in my series from q1 2011 to q3 2016. Then I deleted the entrance for 01.04.2013. I used the reload option in the TS Providers and refreshed the series in the multidocument. Seasonal adjustment is still performed, displaying 23 observations like in the original series. image

The same thing happens when in the original file I replace numbers for 01.01.2014 with character "a". image

It seems strange :) I think it should provide some sort of message displying there is missing data/wrong data type.

Kind regards, Andreea Mirica National Institute of Statistics, Romania

palatej commented 7 years ago

The number of observations includes missing values (which are considered as estimated parameters). It is indeed misleading. I will slightly change the likelihood statistics for models with missing values: they will appear explicitly and removed from the estimated parameters. To be noted that there will be an impact on the AIC..., which will be computed more correctly (the likelihood has been corrected for missing values; so they should not be taken into account in the number of estimated parameters). No impact on all the other results (actual model and decomposition....)