Search found 240 matches

by hardmann
Fri Apr 10, 2026 7:09 pm
Forum: State Space Models/DSGE
Topic: Unscented Kalman Filter
Replies: 0
Views: 16279

Unscented Kalman Filter

Dear Tom:

Does winrats support Unscented Kalman Filter?
Can you provide some examples


Best regard
Hardmann
by hardmann
Thu Feb 26, 2026 8:00 pm
Forum: General Econometrics
Topic: correlation coefficient between two time series
Replies: 1
Views: 16884

correlation coefficient between two time series

Dear Tom: May I ask a fundamental question. How to compare the similarity between two time series? Directly calculating the correlation coefficient, due to the common trend, the coefficient is very high, which is obviously a spurious correlation. After differential or logarithmic difference, calcula...
by hardmann
Sun Feb 22, 2026 10:31 am
Forum: State Space Models/DSGE
Topic: question about UC model
Replies: 2
Views: 50163

Re: question about UC model

Dear Tom:

I am still confused. I decomposed the US GDP with and without irregular components using the linear trend model and AR2 model. The results of the two are very similar, but the amplitude difference is significant. Which one is correct?

Best regard
Hardmann
by hardmann
Sun Feb 22, 2026 8:59 am
Forum: State Space Models/DSGE
Topic: question about time-varying trigonometric cycle
Replies: 2
Views: 14570

question about time-varying trigonometric cycle

Dear Tom: I am familiar with using the UC model to decompose trends and cycles. But the cyclical component uses ar2 instead of trigonometric functions. If there are multiple different cyclic components that need to be stacked, is it necessary to use cyclical components in the form of time-varying tr...
by hardmann
Sat Jan 24, 2026 11:20 am
Forum: State Space Models/DSGE
Topic: a question about the smoothness of the trend
Replies: 8
Views: 37621

Re: a question about the smoothness of the trend

Dear Tom: If there were no observation errors, there would seem to be no difference between assigning the intervention variable to the mu and z options. However, in reality, there is a significant difference in the estimates. If the intervention effect is in the z option, then the intervention effec...
by hardmann
Sat Jan 24, 2026 6:41 am
Forum: State Space Models/DSGE
Topic: a question about the smoothness of the trend
Replies: 8
Views: 37621

Re: a question about the smoothness of the trend

Dear Tom: Power generation should exhibit varying changes during the three stages of the mobile festival: before, during, and after. Electricity consumption can be broadly categorized into industrial and residential consumption. Industrial consumption is further divided into continuous and discontin...
by hardmann
Thu Jan 22, 2026 8:32 am
Forum: State Space Models/DSGE
Topic: a question about the smoothness of the trend
Replies: 8
Views: 37621

Re: a question about the smoothness of the trend

Dear Tom:


I have identified the cause of the problem. I should have set the intervention variable to the 'mu' option instead of the 'z' option. The intervention variable should act on the observed variable rather than the state variable.

Best regard
Hardmann
by hardmann
Sun Jan 18, 2026 8:18 am
Forum: State Space Models/DSGE
Topic: a question about the smoothness of the trend
Replies: 8
Views: 37621

Re: a question about the smoothness of the trend

Dear Tom: Our dummy variable is the Spring Festival, a lunar festival that typically moves between January and February. We constructed it as a three-stage model, namely before, during, and after the Spring Festival, with each stage simply lasting for 7 days. Before the Spring Festival, it increases...
by hardmann
Sat Nov 15, 2025 6:54 am
Forum: State Space Models/DSGE
Topic: a question about the smoothness of the trend
Replies: 8
Views: 37621

a question about the smoothness of the trend

Dear Tom: I have a question about the decomposition. I decomposed the log of monthly electricity consumption into trend, cyclical, and seasonal components. The trend component is very smooth. After adding some intervention variables, the log-likelihood improved, and both AIC and BIC (or SBC) decreas...
by hardmann
Sat Aug 16, 2025 10:28 pm
Forum: State Space Models/DSGE
Topic: problem on version
Replies: 1
Views: 49569

problem on version

Dear Tom: I have programed a couple of the codes of State space with DLM to deal with Extend kalman filter. When I update Winrats from V11.00c to V11.00d, my old codes cannot get right result that is normal under V11.00c. My codes is not stable, which has different result under different version. I ...
by hardmann
Wed Jun 11, 2025 8:27 am
Forum: State Space Models/DSGE
Topic: How to estimate the MF-VAR model in Winrats?
Replies: 2
Views: 70499

How to estimate the MF-VAR model in Winrats?

Dear Tom: The MF-VAR model is cast in state-space form. How to estimate the MF-VAR model in Winrats? In econometric softwares, Winrats' SSF is very powerful and easy to use, why are there no related subroutines or examples? Even in the e-course of SSF or VAR, there are no relevant examples? Best Reg...
by hardmann
Wed Jun 11, 2025 8:12 am
Forum: Data: Reading, Writing, Transforming
Topic: write out colunm name
Replies: 6
Views: 45508

Re: write out colunm name

Dear Tom:

Thanks, It works.

copy(dates,format=xlsx,org=columns,dformat="YYYY:PP")

Best Regard
Hardmann
by hardmann
Tue Jun 10, 2025 6:12 pm
Forum: Data: Reading, Writing, Transforming
Topic: write out colunm name
Replies: 6
Views: 45508

Re: write out colunm name

Dear Tom:

There is new problem.

Image

Best Regard
Hardmann