Skip to contents

Cross-section data originating from the Medical Expenditure Panel Survey survey conducted in 1996.

Usage

data("HealthInsurance")

Format

A data frame containing 8,802 observations on 11 variables.

health

factor. Is the self-reported health status “healthy”?.

age

age in years.

limit

factor. Is there any limitation?

gender

factor indicating gender.

insurance

factor. Does the individual have a health insurance?

married

factor. Is the individual married?

selfemp

factor. Is the individual self-employed?

family

family size.

region

factor indicating region.

ethnicity

factor indicating ethnicity: African-American, Caucasian, other.

education

factor indicating highest degree attained: no degree, GED (high school equivalent), high school, bachelor, master, PhD, other.

Details

This is a subset of the data used in Perry and Rosen (2004).

Source

Online complements to Stock and Watson (2007).

References

Perry, C. and Rosen, H.S. (2004). “The Self-Employed are Less Likely than Wage-Earners to Have Health Insurance. So What?” in Holtz-Eakin, D. and Rosen, H.S. (eds.), Entrepeneurship and Public Policy, MIT Press.

Stock, J.H. and Watson, M.W. (2007). Introduction to Econometrics, 2nd ed. Boston: Addison Wesley.

See also

Examples

data("HealthInsurance")
summary(HealthInsurance)
#>  health          age        limit         gender     insurance  married   
#>  no : 629   Min.   :18.00   no :7571   female:4169   no :1750   no :3369  
#>  yes:8173   1st Qu.:30.00   yes:1231   male  :4633   yes:7052   yes:5433  
#>             Median :39.00                                                 
#>             Mean   :38.94                                                 
#>             3rd Qu.:48.00                                                 
#>             Max.   :62.00                                                 
#>                                                                           
#>  selfemp        family             region     ethnicity         education   
#>  no :7731   Min.   : 1.000   northeast:1682   other: 365   none      :1119  
#>  yes:1071   1st Qu.: 2.000   midwest  :2023   afam :1083   ged       : 374  
#>             Median : 3.000   south    :3075   cauc :7354   highschool:4434  
#>             Mean   : 3.094   west     :2022                bachelor  :1549  
#>             3rd Qu.: 4.000                                 master    : 524  
#>             Max.   :14.000                                 phd       : 135  
#>                                                            other     : 667  
prop.table(xtabs(~ selfemp + insurance, data = HealthInsurance), 1)
#>        insurance
#> selfemp        no       yes
#>     no  0.1832881 0.8167119
#>     yes 0.3109244 0.6890756