predict.betareg {betareg}R Documentation

Predicted values from beta regression model.

Description

This function returns the predicted values based on beta regression models.

Usage

predict.betareg(object, terms,...)

Arguments

object Fitted model using betareg
terms A matrix or a vector containing the values that you want to have the predict.
... Optional arguments

Author(s)

Alexandre de Bustamante Simas, Department of Statistics, Federal University of Pernambuco (alexandredbs@cox.de.ufpe.br).

References

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

See Also

betareg, br.fit, summary.betareg, residuals.betareg

Examples

data(pratergrouped)
attach(pratergrouped)
y <- V11/100
X <- cbind(V1,V2,V3,V4,V5,V6,V7,V8,V9,V10)
fit <- betareg(y ~ X)
predict(fit)
predict(fit,c(2,3,4,5,6,7,8,9,10,11))
  

[Package betareg version 1.0-1 Index]