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]

st: Re: Operators in -reg- or -xtreg-


From   Hobst <tobias.friedli@access.uzh.ch>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Operators in -reg- or -xtreg-
Date   Thu, 12 Aug 2010 09:00:00 -0700 (PDT)

no i have Stata 10



On 12.08.2010, at 17:57, Martin Weiss-5 [via Statalist] wrote:

> 
> <> 
> 
> If you do have Stata 11, try -help fvvarlist-... 
> 
> 
> HTH 
> Martin 
> 
> -----Original Message----- 
> From: [hidden email] 
> [mailto:[hidden email]] On Behalf Of Hobst 
> Sent: Donnerstag, 12. August 2010 17:51 
> To: [hidden email] 
> Subject: st: Operators in -reg- or -xtreg- 
> 
> Hello 
> 
> Is it somehow posible to use operators directly inside the regression code? 
> 
> for example -xtreg y x (x)^2 , fe didnt work 
> 
> do i always need to generate a new variable first? 
> 
> gen x2=x^2 
> xtreg y x x2, fe 
> 
> Thanks for your help 
> 
> 
> -- 
> View this message in context: 
> http://statalist.1588530.n2.nabble.com/Operators-in-reg-or-xtreg-tp5416682p5
> 416682.html 
> Sent from the Statalist mailing list archive at Nabble.com. 
> * 
> *   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/
> 
> 
> View message @ http://statalist.1588530.n2.nabble.com/Operators-in-reg-or-xtreg-tp5416682p5416715.html 
> To unsubscribe from Operators in -reg- or -xtreg-, click here.
> 


-- 
View this message in context: http://statalist.1588530.n2.nabble.com/Operators-in-reg-or-xtreg-tp5416682p5416728.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   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