Don't know. Try
gen(newvar1)
not
gen (newvar1)
Nick
On Thu, Nov 1, 2012 at 9:59 PM, Anat (Manes) Tchetchik
<anatmanes@gmail.com> 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/