rsm.families: Generate a RSM Family Object

Description Usage Arguments Details Value See Also Examples

Description

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

Usage

1
2
3
4
5
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 family.rsm.

Value

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

See Also

family.rsm.object, family.rsm, rsm, Huber

Examples

1
2
3
4
5
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)

hoa documentation built on May 2, 2019, 8:56 a.m.