Composite coefficients after power-law transformation
Composite coefficients after power-law transformation
Coefficients of a power-law transformed composite distribution
composite_plt(dist, coeff, a =1, b =1, inv =FALSE)
Arguments
dist: character vector denoting the distribution of the first-, second- (and third) component respectively. If only two components are provided, the distribution reduces to the two-component distribution.
coeff: named numeric vector holding the coefficients of the first-, second- (and third) component, predeced by coeff1., coeff2. (and coeff3.), respectively. Coefficients for the last component do not have to be provided for the two-component distribution and will be disregarded.
a, b: constant and power of power-law transformation, defaults to 1 and 1 respectively.
inv: logical indicating whether coefficients of the outcome variable of the power-law transformation should be returned (FALSE) or whether coefficients of the input variable being power-law transformed should be returned (TRUE). Defaults to FALSE.