Description Usage Format Details Source References Examples
School administrators study the attendance behavior of high school juniors at two schools.
1 | data("Attendance")
|
Data frame containing 314 observations on 4 variables.
number of days absent.
gender of the student.
three-level factor indicating the type of instructional program in which the student is enrolled.
standardized math score.
School administrators study the attendance behavior of high school juniors at two schools. Predictors of the number of days of absence include the type of program in which
the student is enrolled and a standardized test in math. Attendance data on 314 high school juniors from two urban high schools.
The response variable of interest is days absent, daysabs
. The variable math
is the standardized math score for each student.
The variable prog
is a three-level factor indicating the type of instructional program in which the student is enrolled.
Data can be obtained from Introduction to Statistical Modeling Github Repository. See also Barreto-Souza and Simas (2020) for further details.
Hughes, M. and Fisher, T. (2020) Introduction to Statistical Modeling.
1 2 3 4 5 | data("Attendance", package = "mixpoissonreg")
daysabs_fit <- mixpoissonregML(daysabs ~ gender + math + prog | gender +
math + prog, data = Attendance)
summary(daysabs_fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.