defaultGuess: Default Guess

Description Usage Arguments Value

View source: R/defaultGuess_function.R

Description

This function, used in blcest, picks a reasonable starting guess for optim, which is the mean, sd, and corr of the data ignoring censoring.

Usage

1
defaultGuess(cenData)

Arguments

cenData

nx4 matrix of data, in which first two columns hold data values for x and y variables and the second two columns hold flags for censoring such that 1 implies censored and 0 implies not censored.

Value

Returns a vector of length 5, which is a guess for each xmu, ymu, xsd, ysd, correlation.


senresearch/lcest documentation built on Jan. 14, 2022, 5:29 p.m.