cdf_fun: Function factory for distribution functions

View source: R/likelihood_copula_models.R

cdf_funR Documentation

Function factory for distribution functions

Description

Function factory for distribution functions

Usage

cdf_fun(para, family)

Arguments

para

Parameter vector.

family

Distributional family, one of the following:

  • "normal": normal distribution where para[1] is the mean and para[2] is the standard deviation.

  • "logistic": logistic distribution as parameterized in stats::plogis() where para[1] and para[2] correspond to location and scale, respectively.

  • "t": t distribution as parameterized in stats::pt() where para[1] and para[2] correspond to ncp and df, respectively.

Value

A distribution function that has a single argument. This is the vector of values in which the distribution function is evaluated.


Surrogate documentation built on Sept. 25, 2023, 5:07 p.m.