br.fit {betareg}R Documentation

Function to estimate the coefficients of the Beta Regression.

Description

Function to estimate the coefficients of the Beta Regression.

Usage

br.fit(x, y, link)

Arguments

x the terms matrix
y the response matrix
link an object returned by the make.link function.

Value

The function returns the estimated coefficients of the regression, the estimation of the precision parameter phi, the fitted values, the residuals,the pseudo R2, the standard errors, the critical values of the normal distribution and the p-values of each coefficient and the phi parameter.

Author(s)

Alexandre de Bustamante Simas, Instituto de Matemática Pura e Aplicada (alesimas@impa.br).

References

FERRARI, S.L.P., CRIBARI-NETO, F. (2004). Beta regression for modeling rates and proportions. Journal of Applied Statistics, v. 31, n. 7, p. 799-815.

See Also

betareg, summary.betareg, predict.betareg, residuals.betareg

Examples

x <- cbind(rnorm(10),rnorm(10))
y <- cbind(rbeta(10,1,1))
link = betareg(y ~ x)$funlink
br.fit(x,y,link)

[Package betareg version 1.2 Index]