getBeta {debest}R Documentation

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

Description

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

Usage

getBeta(x)

Arguments

x

- vector of real positive numbers.

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).

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

getBeta(as.numeric(dat_udca$entry.dt))

[Package debest version 0.1.0 Index]