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: how to get hold of the observations used in reg2hdfe


From   natasha agarwal <agarwana2@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how to get hold of the observations used in reg2hdfe
Date   Wed, 30 Jan 2013 15:35:42 +0000

Hi again,

I want to see the observations used.

Like the top RHS shows I have used 3000 observations out of a dataset
of 4000. So I want to see which one's are used.

Thanks,
Natasha

On Wed, Jan 30, 2013 at 3:13 PM, Guo Xu <guo.xu@okfn.org> wrote:
> Hi Natasha,
>
> Are you trying to count the number of obs used? Doesn't that just show
> up on the top RHS of the output ("Number of obs")?
>
> Or are you trying to count the number of regressors/degrees-of-freedom?
>
> Thanks,
>
> Guo
>
> On 30 January 2013 16:04, natasha agarwal <agarwana2@googlemail.com> wrote:
>> Dear All,
>>
>> I am trying to estimate a model with reg2hdfe.
>>
>> I tried to count the number of observations with "count if e(sample)"
>>
>> However, I am unable to do the same after reg2hdfe. I get an output which says 0
>>
>> Has someone had the same problem ?
>>
>> Help will be greatly appreciated.
>>
>> Thanks,
>> Natasha
>> *
>> *   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/
> *
> *   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/
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index