variance.val {pendensity} | R Documentation |
Calculating the variances and standard deviance of each observation for which 'base.den' has been created. Therefore we use the variance of the parameter set beta '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 for which 'base.den' has been created.