Description Usage Arguments Value Examples
Observation generation
1 2 3 4 5 6 7 8 9 10 11 12 13 |
n |
number of observations |
n.sim |
number of simulation to use. |
reg.name |
class of regression functions to be used; |
reg.spec |
a number denoting the type of regression function among the class of functions chosen
in |
M |
bound on the second derivative |
cvar.spec |
specification for conditional variance function, one of |
dist |
distribution for noise function; choose among normal ( |
scale |
scale parameter, a positive constant multiplied to the noise. |
x.spec |
distribution of the regressor, either uniform distribution ( |
x.l |
lower end of the support of the regressor. |
x.u |
upper end of the support of the regressor. |
list of following components
vector of regressors
matrix of outcome variables with nrow = n
and ncol = n.sim
1 | obs_gen(100, 100, "AK.bin", 2, 1, "het.AK", "norm", 1/2, "beta")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.