Data Not Updating

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

kcaron
Posts: 101
Joined: Wed Mar 04, 2015 11:46 am

Data Not Updating

Postby kcaron » Fri Feb 28, 2020 11:50 am

I have a field that uses the following formula:

(myseries-@cummean(myseries,"1999m12 2019m12"))/@cumstdev(myseries,"1999m12 2019m12")

Eviews created the date range when I created the formula and "hardcoded" it so that I have to update it manually every month. This takes lots of time.

I would like to have the range equal to the entire series so long as there is data available. In other words, so that I don't have to keep updating the formula one at a time for each calculated series.

Is there a way to change this formula so that the date range is not "hardcoded?"

Thank you!
KC

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

Re: Data Not Updating

Postby EViews Gareth » Fri Feb 28, 2020 1:25 pm

Could try "if myseries<>na" as the sample

kcaron
Posts: 101
Joined: Wed Mar 04, 2015 11:46 am

Re: Data Not Updating

Postby kcaron » Sat Feb 29, 2020 1:34 pm

Works perfectly!

Thank you!


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests