Mort1Dsmooth.update {MortalitySmooth} | R Documentation |
This is an internal function of package MortalitySmooth
which
update coefficients for penalized B-splines for a given smoothing
parameter within the function Mort1Dsmooth
.
Mort1Dsmooth.update(x, y, offset, wei, psi2, B, lambdaP, a)
x |
Vector for the abscissa of data |
y |
Vector of counts response |
offset |
Vector with an a priori known component (optional) |
wei |
An optional vector of weights to be used in the fitting process |
psi2 |
An overdispersion parameter used the quasi-likelihood approach |
B |
B-splines basis |
lambdaP |
Penalty factor, included the smoothing parameter |
a |
Old coefficients |
Internal function used for updating coefficients of the B-splines in 1D Poisson penalized B-splines model.
A vector of updated coefficients
Carlo G Camarda