[R] How to generate heterosced​astic random numbers?

Arun Kumar Saha arun.kumar.saha at gmail.com
Fri Jul 8 21:07:36 CEST 2011


Answering http://r.789695.n4.nabble.com/How-to-generate-heteroscedastic-random-numbers-td3654534.html

I think best way to generated Heterosced​astic data would be, first
fix or assume some DGP of your choice, you may assume any arbitrary
model parameter(s) provided forms of those parameters are legitimate
under the model space. Then just simulate numbers starting from the
Residual (the form of that residual you already must have assumed).
Given some initial value(s), you would then get some Time series. You
may chose to generate a lengthy TS as most of the parameters
estimations happen within Asymptotic concept. Then apply your
statistical test on that realized series.

You may repeatedly generate TS and check the distribution of estimated
model parameters etc.

HTH
_____________________________________________________

Arun Kumar Saha, FRM
QUANTITATIVE RISK AND HEDGE CONSULTING SPECIALIST
Visit me at: http://in.linkedin.com/in/ArunFRM



More information about the R-help mailing list