fit contributing did
This commit is contained in:
parent
3c4ea14c81
commit
223afbe8e8
@ -16,9 +16,16 @@ library(lme4)
|
||||
library(optimx)
|
||||
library(lattice)
|
||||
|
||||
all_gmodel <- glmer.nb(log1p_count ~ before_after * week_index + scaled_age + (before_after * week_index | project_id),
|
||||
control=glmerControl(optimizer="bobyqa",
|
||||
optCtrl=list(maxfun=2e5)), nAGQ=0,
|
||||
data=contributing_df)
|
||||
|
||||
#all_gmodel <- glmer.nb(log1p_count ~ before_after * week_index + scaled_age + (before_after * week_index | project_id),
|
||||
# control=glmerControl(optimizer="bobyqa",
|
||||
# optCtrl=list(maxfun=2e5)), nAGQ=0,
|
||||
# data=contributing_df)
|
||||
|
||||
summary(all_gmodel)
|
||||
#saveRDS(all_gmodel, "020125_contributing_model.rda")
|
||||
model_residuals <- residuals(all_gmodel)
|
||||
acf(model_residuals)
|
||||
vif(all_gmodel)
|
||||
|
||||
#getting between-group variance
|
||||
variance_components <- as.data.frame(VarCorr(all_gmodel))
|
||||
|
BIN
mlm/models/020125_contributing_model.rda
Normal file
BIN
mlm/models/020125_contributing_model.rda
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user