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
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: how to get hold of the observations used in reg2hdfe
Date
Wed, 30 Jan 2013 16:57:29 +0000
Comments made yesterday still apply:
http://www.stata.com/statalist/archive/2013-01/msg01170.html
http://www.stata.com/statalist/archive/2013-01/msg01169.html
http://www.stata.com/statalist/archive/2013-01/msg01155.html
Please give a reproducible example based on a Stata-bundled dataset
and precise commands that people can copy.
Nick
On Wed, Jan 30, 2013 at 3:35 PM, natasha agarwal
<[email protected]> wrote:
> 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.
On Wed, Jan 30, 2013 at 3:13 PM, Guo Xu <[email protected]> wrote:
>> 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?
On 30 January 2013 16:04, natasha agarwal <[email protected]> wrote:
>>> 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.
*
* 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/