pspline_checker: P-spline checking algorithm for the GLM.

pspline_checkerR Documentation

P-spline checking algorithm for the GLM.

Description

pspline_checker checks to see if all the inputs associated for P-spines are properly defined.

Usage

pspline_checker(family, link, bdeg, pord, nseg, lambda, ridge_adj, wts)

Arguments

family

the response distribution, e.g. "gaussian", "binomial", "poisson", "Gamma" distribution. Quotes are needed.

link

the link function, one of "identity", "log", "sqrt", "logit", "probit", "cloglog", "loglog", "reciprocal";

bdeg

the degree of B-splines.

pord

the order of the penalty.

nseg

the number of evenly-spaced B-spline segmements.

lambda

the positive tuning parameter for the difference penalty.

ridge_adj

the positive tuning parameter for the ridge penalty.

wts

the weight vector, separate from GLM weights.

Value

list

same as inputs, with warnings if required.


JOPS documentation built on Sept. 8, 2023, 5:42 p.m.

Related to pspline_checker in JOPS...