unitweib.reg: Unit-Weibull regression models for proportions

View source: R/unitweib.reg.R

Unit-Weibull regression models for proportionsR Documentation

Unit-Weibull regression models for proportions

Description

Unit-Weibull regression models for proportions.

Usage

unitweib.reg(y, x, tau = 0.5)

Arguments

y

A numerical vector proportions. 0s and 1s are allowed.

x

A matrix or a data frame with the predictor variables.

tau

The quantile to be used for estimation. The default value is 0.5 yielding the median.

Details

See the reference paper.

Value

A list including:

loglik

The loglikelihood of the regression model.

info

A matrix with all estimated parameters, their standard error, their Wald-statistic and its associated p-value.

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

References

Mazucheli J., Menezes A. F. B., Fernandes L. B., de Oliveira R. P. and Ghitany M. E. (2020). The unit-Weibull distribution as an alternative to the Kumaraswamy distribution for the modeling of quantiles conditional on covariates. Journal of Applied Statistics, 47(6): 954–974.

See Also

propreg, beta.reg

Examples

y <- exp( - rweibull(100, 1, 1) )
x <- matrix( rnorm(100 * 2), ncol = 2 )
a <- unitweib.reg(y, x)

Compositional documentation built on Oct. 9, 2024, 5:10 p.m.