Usage
Mort1Dsmooth_estimate(x, y, offset, wei, psi2, B, lambda, DtD, a.init, MON, TOL1, MAX.IT)
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
Overdispersion parameter.
lambda
Smoothing parameter.
DtD
Inner product of the difference matrix.
a.init
Vector with the initial coefficients.
MON
Logical switch indicating if monitoring is required.
TOL1
The tolerance level in the IWLS algorithm.
MAX.IT
The maximum number of iterations.