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 08:47:26 +0100

-xtset- or -tsset- to set it.

On Mon, Aug 29, 2011 at 7:41 AM, Nahla Samargandi
<[email protected]> wrote:
> Dear Nick,
>
> Actually , as I mentioned before I used as same command as that command for pmg maybe a month a go and I got the regression results , moreover, I have not done any change on my variables or use another  stata version (11) , however I got the massage below, I don't know why ?
> . xtpmg d. gdpg d. lnca d. lnhh d. lnpop d. fl1, lr(l1.gdpg fl1) mg replace ec(ec)
> time variable not set
> in option lr()
>
> Cheers,
>
> ________________________________________
> From: [email protected] [[email protected]] On Behalf Of Nick Cox [[email protected]]
> Sent: 29 August 2011 07:29
> To: [email protected]
> Subject: Re: st: xtpmg
>
> -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