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: xtpmg


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: xtpmg
Date   Mon, 29 Aug 2011 07:29:10 +0100

-xtpmg- (SJ) is a user-written program written for Stata 9 and so may
not understand the factor variable syntax introduced in Stata 11. You
will need to create an indicator (dummy) variable beforehand.

-outreg2- (SSC) is also a user-written program. Sometimes it does not
understand recent additions to Stata syntax.

You are asked to indicate where user-written programs you refer to come from.

You should not type spaces between time series operators and the
variables to which they refer. Using such operators depends on a
previous -tsset- or -xtset-.

You may be using different versions of Stata on different machines.

Nick

On Mon, Aug 29, 2011 at 7:15 AM, Nahla Samargandi
<[email protected]> wrote:

> I am running PMG and MG estimator and I got  my regressions results for the below command and other command using the same estimator ( pmg , mg )before.
> xtpmg d. gdpg d. lnca d. lnhh d. lnpop d. fl1, lr(12.gdpg fl1) pmg replace ec(ec)
> xtpmg d. gdpg d. lnca d. lnhh d. lnpop d. fl1, lr(12.gdpg fl1) mg replace ec(ec)
>  However, now when I tried to run the same formula again in order to report my results (using outreg2)  for my deadline submission,   I got these massages
> xtpmg d. gdpg d. lnca d. lnhh d. lnpop d. fl1, lr(12.gdpg fl1) pmg replace ec(ec)
> 12:  operator invalid
> in option lr()
> r(198);
>
> . xtpmg d. gdpg d. lnca d. lnhh d. lnpop d. fl1, lr(l2.gdpg fl1) pmg replace ec(ec)
> time variable not set
> in option lr()
> r(111
> could you please help me if you have any idea how I can fix this problem ?
> Any insight would be greatly appreciated .

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