Learn R Programming

BALD (version 1.0.0-3)

estimate.priors: 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.

Value

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

Details

The function uses nlm to minimize the squared error.