nonparametric parametric
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
method 2 simulation—nonparametric sampling/parametric inference
must send down a complete data set
parameter meanings same as in wqm_mlboth except the following:
can get rid of scalars like iervcv,ierfit,xlike,nobs
theta(nparm) true value of theta
thetah(nparm) space for thetahat
iarray(marray) scratch space needed to generate random weights
marray length of scratch space. must be at least equal in length to the number of rows in wt a computationally more efficient method is used if the number is larger than the sum of the weights
wtnew vector for the random weights for the simulation
xnew hold space for x
ynew hold space for y
iret amount of stuff to return
retmat(numret,numsim) matrix to return the results, one result per col
numsim number of simulations to be run
nrowr number of rows being returned in retmat
tspass(33) should be able to eliminate
lrand should be able to eliminate
iersim data space too small
need to send down data space big enough to cover all data situations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.