我是R.的新手。我有一个数据集
df <- structure(list(schoolid = c(1L, 1L, 1L, 1L, 1L, 1L),
score = c(0L, 10L, 0L, 40L, 42L, 4L),
gender = c(1L, 1L, 1L, 1L, 1L, 1L)),
.Names = c("schoolid", "score", "gender"),
row.names = c(NA, 6L),
class = "data.frame")
我必须运行一个随机拦截模型,以查看性别对整个学校的分数是否有影响。有人可以解释一下我的期望吗?