Bookmark and Share

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


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

Re: st: xtpoisson -- error


From   Richard Williams <[email protected]>
To   [email protected], [email protected]
Subject   Re: st: xtpoisson -- error
Date   Mon, 14 Nov 2011 18:10:19 -0500

At 06:01 PM 11/14/2011, Ivan Png wrote:
Dear STATAlist:

I'm running xtpoisson and keep encountering an error message
"factor variables and time-series operators not allowed in option xvars()"

My code:

. global explvar bkval_ln mktval_ln revt_ln at_ln
. global fixedeff i.sic i.year

. set matsize 1000
. xtset gvkey year

. xi: xtpoisson move cnc_alt $explvar $fixedeff , fe i(gvkey) vce(robust)

I'm using STATA-11.  It runs through about 12 iterations then stops,
giving me the error message,
""factor variables and time-series operators not allowed in option xvars()".

I would appreciate your help.

Why are you using xi:? Stata 11 supports factor variables. I would drop the xi. I would also run -update all- to make sure Stata was up to date.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW:    http://www.nd.edu/~rwilliam

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index