FoodExpenditure

0th

Percentile

Proportion of Household Income Spent on Food

Data on proportion of income spent on food for a random sample of 38 households in a large US city.

Keywords
datasets
Usage
data("FoodExpenditure")
Format

A data frame containing 38 observations on 3 variables.

food

household expenditures for food.

income

household income.

persons

number of persons living in household.

References

Cribari-Neto, F., and Zeileis, A. (2010). Beta Regression in R. Journal of Statistical Software, 34(2), 1--24. http://www.jstatsoft.org/v34/i02/.

Ferrari, S.L.P., and Cribari-Neto, F. (2004). Beta Regression for Modeling Rates and Proportions. Journal of Applied Statistics, 31(7), 799--815.

Griffiths, W.E., Hill, R.C., and Judge, G.G. (1993). Learning and Practicing Econometrics New York: John Wiley and Sons.

See Also

betareg

Aliases
  • FoodExpenditure
Examples
# NOT RUN {
data("FoodExpenditure", package = "betareg")

## Ferrari and Cribari-Neto (2004)
## Section 4
fe_lin <- lm(I(food/income) ~ income + persons, data = FoodExpenditure)
library("lmtest")
bptest(fe_lin)

## Table 2
fe_beta <- betareg(I(food/income) ~ income + persons, data = FoodExpenditure)
summary(fe_beta)
# }
Documentation reproduced from package betareg, version 3.1-3, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.