Main page: https://www.rdocumentation.org/packages/datasets/versions/3.6.2/topics/USPersonalExpenditure
USPersonalExpenditure
## 1940 1945 1950 1955 1960
## Food and Tobacco 22.200 44.500 59.60 73.2 86.80
## Household Operation 10.500 15.500 29.00 36.5 46.20
## Medical and Health 3.530 5.760 9.71 14.0 21.10
## Personal Care 1.040 1.980 2.45 3.4 5.40
## Private Education 0.341 0.974 1.80 2.6 3.64
require(stats) # for medpolish
USPersonalExpenditure
## 1940 1945 1950 1955 1960
## Food and Tobacco 22.200 44.500 59.60 73.2 86.80
## Household Operation 10.500 15.500 29.00 36.5 46.20
## Medical and Health 3.530 5.760 9.71 14.0 21.10
## Personal Care 1.040 1.980 2.45 3.4 5.40
## Private Education 0.341 0.974 1.80 2.6 3.64
medpolish(log10(USPersonalExpenditure))
## 1: 1.126317
## 2: 1.032421
## Final: 1.032421
##
## Median Polish Results (Dataset: "log10(USPersonalExpenditure)")
##
## Overall: 0.9872192
##
## Row Effects:
## Food and Tobacco Household Operation Medical and Health Personal Care
## 0.7880270 0.4327608 0.0000000 -0.5606543
## Private Education
## -0.7319467
##
## Column Effects:
## 1940 1945 1950 1955 1960
## -0.4288933 -0.2267967 0.0000000 0.1423128 0.3058289
##
## Residuals:
## 1940 1945 1950 1955 1960
## Food and Tobacco 0.000000 0.0999105 0.000000 -0.053048 -0.142555
## Household Operation 0.030103 -0.0028516 0.042418 0.000000 -0.061167
## Medical and Health -0.010551 0.0000000 0.000000 0.016596 0.031234
## Personal Care 0.019362 0.0968971 -0.037399 -0.037399 0.000000
## Private Education -0.293625 -0.0399168 0.000000 0.017388 0.000000