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]
Subject
Re: st: xtpoisson -- error
Date
Mon, 14 Nov 2011 18:24:53 -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.
According to the Stata 11 update 01jul2010, "xtpoisson with options
fe and vce(robust) failed when factor variables were used. This has
been fixed." So, my guess is you don't have the most current version
of Stata. On my computer,
. update query
(contacting http://www.stata.com)
Stata executable
folder: C:\Program Files (x86)\Stata11\
name of file: StataSE-64.exe
currently installed: 01 Sep 2011
latest available: 01 Sep 2011
Ado-file updates
folder: C:\Program Files (x86)\Stata11\ado\updates\
names of files: (various)
currently installed: 01 Sep 2011
latest available: 01 Sep 2011
Utilities updates
folder: C:\Program Files (x86)\Stata11\utilities
names of files: (various)
currently installed: 01 Sep 2011
latest available: 01 Sep 2011
Recommendation
Do nothing; all files 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/