On this R-data statistics page, you will find information about the DanishWelfare data set which pertains to Danish Welfare Study Data. The DanishWelfare data set is found in the vcd R package. You can load the DanishWelfare data set in R by issuing the following command at the console data("DanishWelfare"). This will load the data into a variable called DanishWelfare. If R says the DanishWelfare data set is not found, you can try installing the package by issuing this command install.packages("vcd") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the DanishWelfare R data set. The size of this file is about 6,841 bytes.
Danish Welfare Study Data
Data from the Danish Welfare Study.
A data frame with 180 observations and 5 variables.
factor indicating daily alcohol consumption: less than 1 unit (<1), 1-2 units (1-2) or more than 2 units (>2). 1 unit is approximately 1 bottle of beer or 4cl 40% alcohol.
factor indicating income group in 1000 DKK (0-50, 50-100, 100-150, >150).
factor indicating marriage status (Widow, Married, Unmarried).
factor indicating urbanization: Copenhagen (Copenhagen), Suburbian Copenhagen (SubCopenhagen), three largest cities (LargeCity), other cities (City), countryside (Country).
E. B. Andersen (1991), The Statistical Analysis of Categorical Data, page 205.
E. B. Andersen (1991), The Statistical Analysis of Categorical Data. 2nd edition. Springer-Verlag, Berlin.
ftable(xtabs(Freq ~ ., data = DanishWelfare))
Dataset imported from https://www.r-project.org.