Unit-Weibull regression models for proportions | R Documentation |
Unit-Weibull regression models for proportions.
unitweib.reg(y, x, tau = 0.5)
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. |
See the reference paper.
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. |
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
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.
propreg, beta.reg
y <- exp( - rweibull(100, 1, 1) )
x <- matrix( rnorm(100 * 2), ncol = 2 )
a <- unitweib.reg(y, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.