This data set from Aitchison (1986), p. 395, describes household expenditures (in former Hong Kong dollars) on five commundity groups.
A data frame with 20 observations on the following 5 variables.
housing housing (including fuel and light)
alcohol alcohol and tobacco
other other goods (including clothing, footwear and durable goods)
services services (including transport and vehicles)
This data set contains household expenditures on five commodity groups of 20 single men. The variables represent housing (including fuel and light), foodstuff, alcohol and tobacco, other goods (including clothing, footwear and durable goods) and services (including transport and vehicles). Thus they represent the ratios of the men's income spent on the mentioned expenditures.
Matthias Templ firstname.lastname@example.org, Karel Hron
Aitchison, J. (1986) The Statistical Analysis of Compositional Data Monographs on Statistics and Applied Probability. Chapman and Hall Ltd., London (UK). 416p.
data(expenditures) ## imputing a missing value in the data set using k-nearest neighbor imputation: expenditures[1,3] expenditures[1,3] <- NA impKNNa(expenditures)$xImp[1,3]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.