R-codes

  • San Martín, E. & Alarcón-Bustamante, E. (2022,1) Disseccting Surveys R-Code. [See R-code]
  • Questionnaire responses by school based on both item and person parameters: This is a questionnaire generator based on a Multilevel Partial Credit model. [R code]
  • Montecarlo Estimator v/s Bootstrap Estimator [R code]
  • Binary regression: In this exercise, I show how to compare logit and probit models with Hanley and McNeil test for two AUCs. Also, I show the impact of using different cut-offs for predicting the probability of being in one group. [R code]