.modelFamilySpec: Function to specify the model family/link...

Description Usage Arguments Value Note Author(s) References Examples

Description

Function to specify the model family/link distributions/functions

Usage

1
.modelFamilySpec(distr="poisson", myLink="log", theta)

Arguments

distr

character string denoting the distribution to use options are "poisson", "binomial", "gaussian", "Gamma", "inverse.gaussian", "quasi", "quasibinomial", "quasipoisson", "negative.binomial"

myLink

character string denoting the link function, e.g. "identity", "log", "logit", "inverse", "1/mu^2"

theta

should be set to the value of theta if the "negative.binomal" distribution is selected

Value

The output is an object of class "family"

Note

This is just a wrapper function for the family() function

Author(s)

Chibisi Chima-Okereke cchima-okereke@mango-solutions.com

References

http://finzi.psych.upenn.edu/R/library/stats/html/family.html

Examples

1
modelFamilySpec("poisson", "log")

MangoTheCat/autoPricing documentation built on May 7, 2019, 2:09 p.m.