Learn R Programming

debest (version 0.1.0)

getBeta: Estimate parameters of the distribution of a*Beta(1, b) .

Description

Estimate parameters of the distribution of a*Beta(1, b) .

Usage

getBeta(x)

Value

estimates of a and b. For a, it is the range of x. For b, two estimates are provided: the MLE, and the method of moment (matching mean).

Arguments

x

- vector of real positive numbers.

References

Hong Zhang, Jie Pu, Shibing Deng, Satrajit Roychoudhury, Haitao Chu and Douglas Robinson. "Study Duration Prediction for Clinical Trials with Time-to-Event Endpoints Using Mixture Distributions Accounting for Heterogeneous Population", arXiv:2401.00540.

Examples

Run this code
getBeta(as.numeric(dat_udca$entry.dt))

Run the code above in your browser using DataLab