Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Repeating a program


From   Larraine Becker <lbecker@unimelb.edu.au>
To   statalist@hsphsun2.harvard.edu
Subject   st: Repeating a program
Date   Thu, 11 Sep 2008 15:02:10 +1000

Hi everyone

 

I want to run a logit program 1000 times, outputting the predicted y values each time. 

I’m not sure how to go about this – I was thinking of doing a simulation, but before I submit the logit command, I also use a random number generator to randomly change variables in order to compare the predicted values each time.

 

Not sure if the above makes sense, but does anyone have advice on how to do this – keeping the output so that in the end I can compare means, etc.?

 

Thanks

Larraine




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index