variance.val {pendensity} | R Documentation |
Calculating the variance and standard deviance of each observation. Therefore we use the variance of the parameter set beta, called 'var.par'.
variance.val(base.den, var.par, weight, K, x, list.len, Z, x.factor)
base.den |
base values |
var.par |
variance of the parameter set beta |
weight |
weights ck |
K |
number of knots |
x |
covariates |
list.len |
number of covariate combinations |
Z |
covariate matrix |
x.factor |
list of covariate combinations |
Returning a vector with the standard deviance of each observation.
Christian Schellhase <cschellhase@wiwi.uni-bielefeld>
Density Estimation with a Penalized Mixture Approach, Kauermann G. and Schellhase C. (2009), to appear.