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: mean group


From   Nick Cox <[email protected]>
To   [email protected]
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
<[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index