Description Usage Arguments Examples
a robust estimating method in semiparametric partially linear errors-in-variables model
1 | PLMEV(y, vv, xt, palabra = "mcd", cw = 0.975, k = 0.55, ventana)
|
y |
observed response Y |
vv |
observed data V |
xt |
observed t in nonparametric components |
palabra |
selects the robust estimators of multivariate location and scatter |
cw |
quantile of a chi^2, default is 0.975 |
k |
tuning constant of score function |
ventana |
smoothing parameter |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
n=200
z1 <- rnorm(n)
z2 <- rnorm(n)
eps <- rnorm(n,0,0.2)
eps1 <- rnorm(n,0,0.2)
eps2 <- rnorm(n,0,0.2)
xx <- cbind(z1,z2)
xt <- runif(n,-6,6)
vv <- cbind(z1+eps1,z2+eps2)
y <- 2*xx[,1] + xx[,2] + cos(pi*xt/6) + eps
gg <- cos(pi*xt/6)
ventana=2.5
salida=PLMEV(y,vv,xt,palabra="mcd",cw=0.975,k=0.55,ventana)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.