Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: estout - betas


From   "Ben Jann" <[email protected]>
To   [email protected]
Subject   Re: st: estout - betas
Date   Fri, 24 Aug 2007 22:47:53 +0200

Hm, I see. The -estadd beta- function, which is used by -esttab- to
compute the betas, does not support time-series operators. I'll look
into that.
ben

On 8/24/07, Christian Mackenrodt <[email protected]> wrote:
> Thank you for the immediate reply.
>
> Now, I'm able to narrow the problem down. I constructed y with the help of the time series operator "L1". This operator doesn't seem to work together with estout.
>
> I don't get betas if  I  do the following:
>
> input  time y x
> .1 44 52
> .2 33 23
> .3 12 23
> .4 76 87
> .5 60 71
> end
>
> tsset time
>
> eststo beta: reg y L1.x
>
> esttab beta, beta
>
> I "fixed" the problem by creating lagged values with the help of [_n-1] instead of using the time series operator.
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index