Page 1 of 1

FRML Creation and Sampling

Posted: Sun Jan 27, 2019 8:52 am
by kcaron
Could someone please help with a simple question?

Each time I create a formula using:

frml z_autos = @qnorm(@ranks(autos)/(@obs(autos)+1))

It saves the formula as:

@qnorm(@ranks(autos,"A","A","1999m12 2019m12")/(@obs(autos,"1999m12 2019m12")+1))

Why is EViews forcing a sample range into the formula? What if I want the range to change as more data is added over time?

I know this is probably a very easy question, but I can't seem to find an answer.

Thank you!

Kevin

Re: FRML Creation and Sampling

Posted: Sun Jan 27, 2019 9:51 am
by EViews Gareth
Formulas have a fixed sample. There is no way around that

Re: FRML Creation and Sampling

Posted: Sun Jan 27, 2019 1:19 pm
by startz
Can you edit the frml smpl to be @pagesmpl ?

Re: FRML Creation and Sampling

Posted: Sun Jan 27, 2019 4:07 pm
by EViews Gareth
frmls only update when an underlying series changes, not when things like workfile ranges, samples, or matrix objects change. So, yes, you can set a frml to be based upon @pagesmpl, but it will never update itself automatically, since @pagesmpl is not a series.

Re: FRML Creation and Sampling

Posted: Sun Jan 27, 2019 4:27 pm
by startz
But won't any output based on a frml reflect the current smpl anyway? So using @pagesmpl prevents an invisible conflict between changing the smpl globally and what's buried in the frml.

Re: FRML Creation and Sampling

Posted: Sun Jan 27, 2019 4:56 pm
by EViews Gareth
Oh, I see what you mean. No.

The @ranks and @obs functions won't accept @pagesmpl as an argument.

Re: FRML Creation and Sampling

Posted: Sun Jan 27, 2019 9:02 pm
by kcaron
Got it. Thank you all!