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: Regression with fixed random data from panel data set


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: Regression with fixed random data from panel data set
Date   Tue, 26 Apr 2011 14:43:39 -0500

Take a look at Ben Jann's -gsample- (-findit gsample- to locate and download).

-gsample 20, cluster(id) wor- would randomly sample 20 firms without
replacement.

Scott


On Tue, Apr 26, 2011 at 2:26 PM, vikramfinavker
<[email protected]> wrote:
>
> HI all,
>
> could someone please tell me how can i run a regression for say 20 firms out
> of my 1000 firms selected randomly. i want to do it many times. so, is there
> any command which i can use which will automatically selects 20 firms based
> on some unique id and run the regression.
>
> Thanks.
*
*   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