Hsb data

50 views 8:01 am 0 Comments March 13, 2023


The hsb data in the faraway package (Inside R programming) is a subset of the High School and Beyond study. The variables are school type, socioeconomic status, school type, chosen high school program type, scores in certain classes.

1) By looking at the variables, present any tables and plots you may find relevant to this analysis.

2) The goal is to fit a model that explains a persons program choice type based on the observed variables. Investigate the coefficients in details and comment on any interesting findings.

3) This is a multinomial model with program type as a response (3 levels). Build the confusion matrix and explain it. What is the accuracy of your model and how can we improve it?

Discuss in details for all the questions mentioned above.