In my data set I have a dataseries which consists of real stock prices from 1979Q1-2012Q2 and a series for the P/E_ratio for 1980Q1-2012Q2
I want to run the following OLS:
log(real_stock_price)-log(real_stock_price(-1)) c log(P/E_ratio)
Written like this the dependent variable is the logaritmic real return (I want to construct it like this - not make a new series for real return from 1980Q1-2012Q2)
and because i write log(real_stock_price(-1)) i thought Eviews would use the observation from 1979Q1 but it does not..
Is it impossible for Eviews to use the 1979Q4 observation like this when the series have different numbers of observations??
OLS with series containing different number of obs
Moderators: EViews Gareth, EViews Moderator
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: OLS with series containing different number of obs
EViews will use the 1979Q4 to calculate log(real_stock_price)-log(real_stock_price(-1)) for 1980q1. Is that what you want?In my data set I have a dataseries which consists of real stock prices from 1979Q1-2012Q2 and a series for the P/E_ratio for 1980Q1-2012Q2
I want to run the following OLS:
log(real_stock_price)-log(real_stock_price(-1)) c log(P/E_ratio)
Written like this the dependent variable is the logaritmic real return (I want to construct it like this - not make a new series for real return from 1980Q1-2012Q2)
and because i write log(real_stock_price(-1)) i thought Eviews would use the observation from 1979Q1 but it does not..
Is it impossible for Eviews to use the 1979Q4 observation like this when the series have different numbers of observations??
Re: OLS with series containing different number of obs
Yes that is what i want.. Then why does Eviews write:EViews will use the 1979Q4 to calculate log(real_stock_price)-log(real_stock_price(-1)) for 1980q1. Is that what you want?In my data set I have a dataseries which consists of real stock prices from 1979Q1-2012Q2 and a series for the P/E_ratio for 1980Q1-2012Q2
I want to run the following OLS:
log(real_stock_price)-log(real_stock_price(-1)) c log(P/E_ratio)
Written like this the dependent variable is the logaritmic real return (I want to construct it like this - not make a new series for real return from 1980Q1-2012Q2)
and because i write log(real_stock_price(-1)) i thought Eviews would use the observation from 1979Q1 but it does not..
Is it impossible for Eviews to use the 1979Q4 observation like this when the series have different numbers of observations??
Sample (adjusted): 1980Q1 2012Q2
in my estimation output?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: OLS with series containing different number of obs
Because those are the observations used in the estimation, even if values from other dates are used in the calculation of those observations.
Re: OLS with series containing different number of obs
Thank you both :)
Who is online
Users browsing this forum: No registered users and 2 guests
