rsm.families: Generate a RSM Family Object

rsm.familiesR Documentation

Generate a RSM Family Object

Description

Generates a familyRsm object containing a list of functions and expressions used by rsm.

Usage

extreme()
Huber(k = 1.345)
logistic()
logWeibull()
student(df = stop("Argument \"df\" is missing, with no default"))

Arguments

k

the tuning constant in Huber's least favourable distribution.

df

the degrees of freedom in Student's t distribution.

Details

Each of the names are associated with a member of the class of error distributions for regression-scale models. Users can construct their own families, as long as they have components compatible with those given in rsm.distributions. The demonstration file ‘margdemo.R’ that accompanies the package shows how to create a new generator function. When passed as an argument to rsm with the default setting, the empty parentheses () can be omitted. There is a print method for the class familyRsm.

Value

A familyRsm object, which is a list of functions and expressions used by rsm in the iteratively reweighed least-squares algorithm. See familyRsm.object for details.

See Also

familyRsm.object, family.rsm, rsm, Huber

Examples

student(df = 3) ## generates Student's t error distribution with 3 d.f.
## Not run: 
rsm(formula = value, data = value, family = extreme)

## End(Not run)

marg documentation built on June 8, 2025, 12:33 p.m.