Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Polynomial in Time in an Unbalanced Panel


From   natasha agarwal <agarwana2@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Polynomial in Time in an Unbalanced Panel
Date   Fri, 18 Jun 2010 14:43:05 +0100

The problem is I dont know how to create it.

I tried

egen t1=group(year)
gen t2=t1^2
gen t3=t^3

But am not sure if this is correct for an unbalanced panel?

On Fri, Jun 18, 2010 at 2:37 PM, Maarten buis <maartenbuis@yahoo.co.uk> wrote:
> --- On Fri, 18/6/10, natasha agarwal wrote:
>> I wanted to introduce a polynomial in time in my unbalanced
>> panel.
>
> What is the problem?
>
> -- Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
> http://www.maartenbuis.nl
> --------------------------
>
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index