Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[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 <zoolfee@gmail.com>
To   statalist@hsphsun2.harvard.edu
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 <njcoxstata@gmail.com> 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 <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/



-- 
---
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index