Search found 4 matches

by skan
Tue Oct 20, 2020 9:04 am
Forum: Programming
Topic: Replace does not work as expected on strings
Replies: 2
Views: 6298

Re: Replace does not work as expected on strings

Great! Thank you!

skan
by skan
Tue Oct 20, 2020 6:33 am
Forum: Programming
Topic: Replace does not work as expected on strings
Replies: 2
Views: 6298

Replace does not work as expected on strings

Dear All, how should replace work on strings? Please consider the following code: wfcreate(wf="file") a 1 10 series foo_1=1 series bar_1=2 group _bar bar_* %sn_bar=_bar.@seriesname(1) %sn_foo=@replace(%sn_bar,"bar","foo") group __result {%sn_foo} {%sn_bar} The group &qu...
by skan
Tue Sep 08, 2020 9:38 am
Forum: Estimation
Topic: Compute a forecast from a Sspace model using basic matrix algebra
Replies: 1
Views: 7195

Compute a forecast from a Sspace model using basic matrix algebra

Hello All, how can I use the estimation output of a state-space model (extracted using the available @ commands) to emulate the output of smoothed forecast command: {%modname}.forecast(m=s,n=!horizon) @signal *f I would like to export the estimation matrices to Excel, where the smoothed forecast wou...
by skan
Fri Aug 14, 2020 5:46 am
Forum: Models
Topic: Including Sspace object in a Model object
Replies: 1
Views: 21414

Including Sspace object in a Model object

Dear All, what can be gained by including state-space models (Sspace) in a model object (Sspace menu option: Proc: Make Model)? I was hoping that several state-space models can thus be solved simultaneously, effectively linking them with other objects and identities. However, unlike with Equation or...

Go to advanced search