Description Usage Arguments Details Value Author(s) See Also
This is an internal function of package MortalitySmooth
which
update coefficients for penalized B-splines for a given smoothing
parameter within the function Mort1Dsmooth
.
1 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.