Multinomial logistic regression - understanding program choices made by students
Let's assume that high school students are to be enrolled on a program. The students are given the opportunity to choose programs of their choice. The choices of the students are based on three options. These choices are general program, vocational program, and academic program. The choice of each student is based on each student's writing score and social economic status.
Getting ready
In order to complete this recipe we shall be using a student's dataset. The first step is collecting the data.
Step 1 - collecting data
The student's dataset titled hsbdemo
is being utilized. The dataset is available at:
http://voia.yolasite.com/resources/hsbdemo.csv
in an MS Excel format. There are 201 data rows and 13 variables in the dataset. The eight numeric measurements are as follows:
id
read
write
math
science
socst
awards
cid
The non-numeric measurements are as follows:
gender
ses
schtyp
prog
honors
How to do it...
Let's get into the...