hsbdemo {glsm} | R Documentation |
hsbdemo: School data for testing.
Description
Entering high school students make program choices among general program, vocational program and academic program. Their choice might be modeled using their writing score and their social economic status.The data set contains variables on 200 students. The outcome variable is prog, program type. The predictor variables are social economic status, ses, a three-level categorical variable and writing score, write, a continuous variable.
Usage
hsbdemo
Format
A data frame with 200 rows and 17 columns:
- Student
Categorical. Student identification code.
- id
Categorical. Unique identifier for each student.
- gender
Categorical. Student gender: "female" or "male".
- ses
Categorical. Socioeconomic status: "low", "middle", "high".
- schtyp
Categorical. Type of school: "private" or "public".
# corregido
- prog
Categorical. Program of study chosen: 0 = General, 1 = Vocational, 2 = Academic.
- read
Continuous. Reading test score.
- write
Continuous. Writing test score.
- math
Continuous. Math test score.
- science
Continuous. Science test score.
- socst
Continuous. Social studies test score.
- honors
Categorical. Honors enrollment status: "enrolled" or "not enrolled".
- awards
Integer. Number of awards received, ranging from 0 to 9.
- cid
Categorical. Unspecified score, ranging from 0 to 20.
- prog0
Binary. 1 if prog = General, 0 otherwise.
- prog1
Binary. 1 if prog = Vocational, 0 otherwise.
- prog2
Binary. 1 if prog = Academic, 0 otherwise.
Source
Simulated dataset inspired by high school program choices.