create_link_func: Pick one of the (inverse) link functions

Description Usage Arguments Value Examples

View source: R/estimate_program.R

Description

These are functions that map the real number line to the (0,1) interval.

Usage

1

Arguments

link

Character vector length one specifying which link function you want. logit, probit, cauchit (logistic, normal and Cauchy CDFs respectively).

Value

Returns a function that has one argument (Numeric vector length one), returns a Numeric vector length one.

Examples

1
2
3
create_link_func("logit")
create_link_func("probit")
create_link_func("cauchit")

JohnNay/agp documentation built on May 7, 2019, noon