Statalist


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

Re: st: RE: montecarlo simulations with actual distributions


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: RE: montecarlo simulations with actual distributions
Date   Wed, 2 Jul 2008 12:39:32 +0100 (BST)

---  emanuele canegrati wrote:
> > I have to perform some montecarlo simulations of market returns
> > with STATA. I would like to generate these returns from the
> > original time series under the condition they reflect the actual
> > PDF and so I think I need to calculate the mean and the standard
> > deviations of returns. 

--- Martin Weiss <[email protected]> wrote:
> - h simulate - is for you. 

-simulate- can be a real help in these cases. All that is left is
creating random samples from the observed data. This can be done using
the -bsample- command, see -help bsample-. Alternatively, what you want
is close to the bootstrap, instead that the aim of this excersice is
probably not to estimate the standard error/confidence interval, but to
look in some other way at the distribution of the results estimated in
the different samples. You can do that using -bootstrap- with the 
-saving()- option.

-- maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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