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: factor variables and time-series operators not allowed error for prgen after ologit


From   "Anat (Manes) Tchetchik" <[email protected]>
To   [email protected]
Subject   Re: st: factor variables and time-series operators not allowed error for prgen after ologit
Date   Fri, 2 Nov 2012 01:47:43 +0200

Thanks Nick, that worked..

On Fri, Nov 2, 2012 at 12:33 AM, Nick Cox <[email protected]> wrote:
> Don't know. Try
>
> gen(newvar1)
>
> not
>
> gen (newvar1)
>
> Nick
>
> On Thu, Nov 1, 2012 at 9:59 PM, Anat (Manes) Tchetchik
> <[email protected]> wrote:
>
>> I ran an ologit model and (after calc. MEs) I typed the command:
>> prgen  Hindex, x(oncology=1) from(1) to(14) ncases(15) gen (newvar1)
>> (where Hindex is indep_continuous ranging from 1- 14 and oncology is a
>> indep_dummy)
>> and received:
>> factor variables and time-series operators not allowed
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/



-- 
Anat Tchetchik, PhD
Department of Hotel and Tourism Management
Guilford Glazer Faculty of Business and Management
Ben-Gurion University of the Negev
P.O.Box: 653
Beer-Sheva, Israel, 84105

E-mail:       [email protected]
Phone         972-(0)8-6479735
Fax:           972-(0)8-6472920
Web:          http://cmsprod.bgu.ac.il/Eng/som/hotelmanage/Staff/Academic/ChechikA.htm
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index