Learn R Programming

betareg (version 1.0-1)

prater: Prater's gasoline data

Description

This dataset was collected by Prater (1956), its dependent variable is the proportion of crude oil after distilation and fractionation. This dataset was analyzed by Atkunson (1985), who used the linear regression model and noted that there is "indication that the error distribution is not quite symmetrical, giving rise to some unduly large and small residuals" (p. 60).

Usage

data(prater)

Arguments

format

A data frame with 32 observations on 5 variables.

source

Prater, N.H. (1956). Estimate gasoline yields from crudes. New York: Springer-Verlag.

References

Atkinson, A.C. (1985). Plots, Transformations and Regression: An Introduction to Graphical Methods of Diagnostic Regression Analysis. New York: Oxford University Press.

Examples

Run this code
data(prater)
fit <- betareg(V5/100 ~ V1 + V2 + V3 + V4, data=prater)
plot(fit)

Run the code above in your browser using DataLab