Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

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

From   "Martin Weiss" <>
To   <>
Subject   st: RE: Operators in -reg- or -xtreg-
Date   Thu, 12 Aug 2010 17:57:01 +0200


If you do have Stata 11, try -help fvvarlist-...


-----Original Message-----
[] On Behalf Of Hobst
Sent: Donnerstag, 12. August 2010 17:51
Subject: st: Operators in -reg- or -xtreg-


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:
Sent from the Statalist mailing list archive at
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index