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
ZA <[email protected]>
To
[email protected]
Subject
Re: st: Error: factor variables and time-series operators not allowed r(101)
Date
Sat, 21 Jan 2012 15:04:06 +0100
Thanks.... it seems to work. But I was puzzelled by earlier message,
i.e., time-series operators not allowed.
Anyways, thanks for helping out.
Regards,
On 21 January 2012 14:30, Nick Cox <[email protected]> wrote:
> 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 <[email protected]> wrote:
>
>> Dear Richard,
>>
>> Thanks for the suggestion. I tried that, but doesn't work either.
>>
>> Best,
>>
>> On 19 January 2012 17:52, Richard Williams
>> <[email protected]> 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: [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/
>>
>>
>>
>>
>> --
>> ---
>> 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/
--
---
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/