老师写的代码
r语言做逻辑回归时的皮尔森拟合优度检验
AZTAIDS <- expand.grid(AZT=factor(c("Yes","No"),levels=c("No","Yes")),
Race=factor(c("White","Black"),levels=c("Black","White")))
AZTAIDS <- data.frame(AZTAIDS,Yes=c
老师写的代码
r语言做逻辑回归时的皮尔森拟合优度检验
AZTAIDS <- expand.grid(AZT=factor(c("Yes","No"),levels=c("No","Yes")),
Race=factor(c("White","Black"),levels=c("Black","White")))
AZTAIDS <- data.frame(AZTAIDS,Yes=c