Mort2Dsmooth.update {MortalitySmooth}R Documentation

Update a 2D Penalized-Poisson Iteration

Description

This is an internal function of package MortalitySmooth which update coefficients for penalized B-splines for two given smoothing parameters within the function Mort2Dsmooth.

Usage

Mort2Dsmooth.update(x, y, Z, offset, psi2, wei,
                    Bx, By, nbx, nby, RTBx, RTBy, P, a)

Arguments

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).

Details

Internal function used for updating a matrix coefficients of the B-splines in 2D Poisson penalized B-splines model.

Value

A matrix of updated coefficients.

Author(s)

Carlo G Camarda

See Also

Mort2Dsmooth.


[Package MortalitySmooth version 1.0 Index]