Internal function implementing one step of AIRWLS for the estimation of GMF models.
cpp.airwls.update(
beta,
Y,
X,
familyname,
linkname,
varfname,
idx,
offset,
weights,
penalty,
transp = FALSE,
nsteps = 100L,
stepsize = 0.1,
print = FALSE,
parallel = FALSE,
nthreads = 1L
)
initial value of the regression coefficients to be estimated
response vector
design matrix
model family name
link function name
variance function name
index identifying the parameters to be updated in beta
vector of constants to be added to the linear predictor
vector of constants non-negative weights
penalty parameter of a ridge-type penalty
if TRUE
, transpose the data
number of iterations
stepsize parameter of the Fisher scoring algorithm
if TRUE
, print the algorithm history
if TRUE
, run the updates in parallel using openMP
number of threads to be run in parallel (only if parallel=TRUE
)