how to set a string as a sample

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

wilshire
Posts: 45
Joined: Fri Jan 07, 2011 12:49 pm

how to set a string as a sample

Postby wilshire » Wed Jan 16, 2013 9:01 am

After I run a VAR model, I extract the @smpl from the VAR object. It is a string and could be complex.

How can I set the sample using the string?

Thanks

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13318
Joined: Tue Sep 16, 2008 5:38 pm

Re: how to set a string as a sample

Postby EViews Gareth » Wed Jan 16, 2013 9:34 am

Code: Select all

%varsmpl = myvar.@smpl
smpl {%varsmpl}
Follow us on Twitter @IHSEViews


Return to “Estimation”

Who is online

Users browsing this forum: Google [Bot] and 72 guests