Skip to content

Commit

Permalink
Add a bit of explanation in the file on which model was used in the p…
Browse files Browse the repository at this point in the history
…aper
  • Loading branch information
pamop committed Jun 27, 2024
1 parent f1dfd1a commit 3a39277
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions regression-analysis/trial_level_analysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ mfull3 <- glmer(helped ~ costCond + visibilityCond + resourceCond + agent
family=binomial,
control=glmerControl(optimizer="bobyqa",optCtrl=list(maxfun=1e6)))

# this full version 4 of the model is the one in the cogsci paper.
# lrtests showed that the parameters included helped the fit
mfull4 <- glmer(helped ~ costCond + visibilityCond + resourceCond + agent
+ gameNum + turnCount
+ ownBPsize
Expand Down

0 comments on commit 3a39277

Please sign in to comment.