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 two given smoothing
parameters within the function Mort2Dsmooth
.
1 2 | Mort2Dsmooth_update(x, y, Z, offset, psi2, wei,
Bx, By, nbx, nby, RTBx, RTBy, P, a)
|
x |
vector for the abscissa of data. |
y |
vector for the ordinate of data. |
Z |
matrix of counts response. |
offset |
matrix with an a priori known component (optional). |
wei |
an optional matrix of weights to be used in the fitting process. |
psi2 |
overdispersion parameter. |
Bx |
B-splines basis for the x-axis. |
By |
B-splines basis for the y-axis. |
nbx |
number of B-splines for the x-axis. |
nby |
number of B-splines for the y-axis. |
RTBx |
tensors product of B-splines basis for the x-axis. |
RTBy |
tensors product of B-splines basis for the y-axis. |
P |
penalty factor. |
a |
coefficients (in a matrix). |
Internal function used for updating a matrix coefficients of the B-splines in 2D Poisson penalized B-splines model.
A matrix of updated coefficients.
Carlo G Camarda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.