estimate.priors {BALD}R Documentation

A function to estimate priors for the gompertz curve.

Description

A function to estimate priors for the gompertz curve. Intended for internal use only.

Usage

estimate.priors(p)

Arguments

p

A vector of the form returned by calculateProbOfPayment. NAs are allowed.

Details

The function uses nlm to minimize the squared error.

Value

A vector equal in length to the number of columns in x representing the empirical probably of payment.


[Package BALD version 1.0.0-3 Index]