makeregs in midas

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

scoop
Posts: 4
Joined: Thu Dec 14, 2017 1:47 am

makeregs in midas

Postby scoop » Wed Apr 29, 2020 11:16 pm

Using version 10. In a MIDAS equation with a quarterly dependent variable, and some quarterly and monthly exogenous variables, makeregs creates a group that only includes the quarterly variables. Reason for question is desire to loop through the group to extract string variables containing names of each RHS equation variable for further manipulation. Is there a function equivalent to makeregs that can create a group containing the MIDAS variables please? Or some crafty code that might achieve the same thing? Thanks in advance for any help. Cheers.

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

Re: makeregs in midas

Postby EViews Gareth » Thu Apr 30, 2020 7:39 am

You could parse equation.@spec to retrieve the pages/seriesnames

scoop
Posts: 4
Joined: Thu Dec 14, 2017 1:47 am

Re: makeregs in midas

Postby scoop » Thu Apr 30, 2020 9:31 pm

Great. I think I can then use @wkeep, @wcount and @word to get me to where I need to be. Many thanks Gareth. Cheers.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests