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: random sampling matching the characteristics of the sample
From
Andrea Rispoli <[email protected]>
To
[email protected]
Subject
Re: st: random sampling matching the characteristics of the sample
Date
Tue, 1 May 2012 09:22:04 +0100
Dear Stan,
Thank you. This is the request of a reviewer. Would you recommend that
I simply chose a random sample?
On Tue, May 1, 2012 at 3:13 AM, Stas Kolenikov <[email protected]> wrote:
> So why exactly do you want to do this? You will only lose in
> precision, provided your model is OK; if it is badly misspecified,
> then God only knows how your coefficients could jump around, so you
> probably should not trust either specification, anyway.
>
> On Mon, Apr 30, 2012 at 6:44 PM, Andrea Rispoli <[email protected]> wrote:
>> Dear Statalisters,
>> I am running a regression model: y=f(x, age, size) where x is a dummy
>> variable that can take value 1 or 0.
>> Since in my sample x=1 for 10% of the sample and x=0 for 90% of the
>> sample, I would like to identify a random subsample among the group
>> x=0 so that it is more "comparable" in terms of size with the
>> subsample for which x=1.
>>
>> My problem is that I would like that the selected subsample (in which
>> x=0) matched the characteristics of the first subsample (x=1) on the
>> other dimensions (e,g age and size).
>> For instance, if I take the subsample x=1, mean of age = 37, mean of size=45.
>> I would like to randomly select the second subsample (x=0), so that
>> mean of age = 37, mean of size=45 as it is the case in the first
>> subsample (x=1).
>>
>> Do you have any suggestions on how I could achieve such result in stata?
>>
>> Thank you very much in advance for all your help!!!
>> Kind Regards
>> *
>> * 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/
>
>
>
> --
> Stas Kolenikov, also found at http://stas.kolenikov.name
> Small print: I use this email account for mailing lists only.
>
> *
> * 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/
*
* 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/