rTLCAR {TLCAR} | R Documentation |
Generate a random sample from the TLCAR distribution
Description
Generate a random sample from the TLCAR distribution using the quantile function.
Usage
rTLCAR(n, alpha, a, b, theta, m)
Arguments
n |
Number of observations in the sample. |
alpha |
Parameter representing the distribution of the Topp-Leone component. |
a |
Parameter representing the scale (a) of the Cauchy component. |
b |
Parameter representing the position (b) of the Cauchy component. |
theta |
Parameter representing the scale of the Rayleigh component. |
m |
Additional parameter. |
Value
Random sample from the TLCAR distribution.
Examples
# Generate a random sample with 100 observations using estimated parameters
sample <- rTLCAR(n = 100, alpha = 1, a = 1, b = 0, theta = 3, m = 1)
[Package TLCAR version 0.1.0 Index]