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: Error: factor variables and time-series operators not allowed r(101)


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Error: factor variables and time-series operators not allowed r(101)
Date   Sat, 21 Jan 2012 13:30:29 +0000

gen lx1 = L.x1
gen lx2 = L.x2

and try again with lx1 and lx2 as predictors.

Nick

On 21 Jan 2012, at 12:53, ZA <zoolfee@gmail.com> wrote:

Dear Richard,

Thanks for the suggestion. I tried that, but doesn't work either.

Best,

On 19 January 2012 17:52, Richard Williams
<richardwilliams.ndu@gmail.com> wrote:
At 05:03 AM 1/18/2012, ZA wrote:

Dear Statausers,

When I run this command:

tsset dtt
probit y l.x1 l.x2
mfx

I get the following error:

factor variables and time-series operators not allowed r(101);

What could be the reason for no mfx for lagged variables in time- series?
Or am I missing something? Any comments would be appreciated.


-mfx- is old. Assuming you have Stata 11 or higher, see if the new - margins-
command will do what you want.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
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/



--
---
Z Ahmed

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