Mort1Dsmooth_update: Update a 1D Penalized-Poisson Iteration

Description Usage Arguments Details Value Author(s) See Also

View source: R/Mort1Dsmooth_update.R

Description

This is an internal function of package MortalitySmooth which update coefficients for penalized B-splines for a given smoothing parameter within the function Mort1Dsmooth.

Usage

1
Mort1Dsmooth_update(x, y, offset, wei, psi2, B, lambdaP, a) 

Arguments

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.

Details

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

Value

A vector of updated coefficients

Author(s)

Carlo G Camarda

See Also

Mort1Dsmooth.


MortalitySmooth documentation built on May 29, 2017, 7:11 p.m.