Learn R Programming

betareg (version 1.0-1)

br.fit: 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.

References

FERRARI, S.L.P., CRIBARI-NETO, F. (2004). Beta regression for modeling rates and proportions. Journal of Applied Statistics, forthcoming.

See Also

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

Examples

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

Run the code above in your browser using DataLab