mcmap_probitnorm {mcmapper}R Documentation

Mapper function for probit-normal distribution

Description

Maps a pair of mean and c-statistic value to the parameters of a pobit-normal distribution

Usage

mcmap_probitnorm(
  target = c(m = 0.25, c = 0.75),
  method = "",
  integrate_controls = list(),
  optim_controls = list()
)

Arguments

target

A vector of size 2. The first element is mean and the second element is c-statistic.

method

Fir compatibilty with other functions. Use "" for now (alternative optimization methods might be implemented in the future)

integrate_controls

(optional): parameters to be passed to integrate()

optim_controls

(optional): parameters to be passed to optim()

Value

A vector of size two that contains the distribution parameters

Examples

mcmap_probitnorm(c(0.1, 0.75))

[Package mcmapper version 0.0.11 Index]