Help with fitted values
Posted: Tue Dec 23, 2008 7:37 am
Hello,
I hope this isn't too elementary of a question, but I am having some problems getting fitted values out of an equation.
I estimate an equation using sample period A to period C,
I then set my workfile sample from period A to period B,
Then I get the fitted values from my equation.
My problem is that the fitted values between periods B and C are now forced to being the actual values ... is this done on purpose for some reason?
Going back to my equation output and viewing the actual/fitted/residual table does show the truly fitted values for all periods between A and C, so I don't see why replacing some fitted values with actual values because of the workfile sample would be done on purpose...
A related question: if I do this command, myeq.fit(f="na") myfitted, doesn't this mean that all observations outside the sample used for the equation estimation are supposed to be "NA" ? I still get actual values placed into the series myfitted.
Thanks in advance,
-cap
I hope this isn't too elementary of a question, but I am having some problems getting fitted values out of an equation.
I estimate an equation using sample period A to period C,
I then set my workfile sample from period A to period B,
Then I get the fitted values from my equation.
My problem is that the fitted values between periods B and C are now forced to being the actual values ... is this done on purpose for some reason?
Going back to my equation output and viewing the actual/fitted/residual table does show the truly fitted values for all periods between A and C, so I don't see why replacing some fitted values with actual values because of the workfile sample would be done on purpose...
A related question: if I do this command, myeq.fit(f="na") myfitted, doesn't this mean that all observations outside the sample used for the equation estimation are supposed to be "NA" ? I still get actual values placed into the series myfitted.
Thanks in advance,
-cap