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 at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: mean group


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: mean group
Date   Wed, 22 Jun 2011 07:30:42 +0100

if dincome==0

is not an option, and so should be typed before the comma.

xtpmg d.gdpg d.lnhh d.lnca d.lnpop d.fl1 if dincome == 0, lr( l2.gdpg
fl1) pmg replace ec(ec)

See the help for -language- for a review of basic Stata syntax.

Nick

On Tue, Jun 21, 2011 at 9:00 PM, Nahla Samargandi
<Nahla.Samargandi@brunel.ac.uk> wrote:

> How I can impose the dummy variable in pmg estimator ,
> if this is my pmg regressions
> xtpmg d.gdpg d.lnhh d.lnca d.lnpop d.fl1, lr( l2.gdpg  fl1) pmg replace ec(ec)
> and
> I want to add
> if dincome==0
> or
>  if dincome==1
> where I can add it in the formula above.

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