Statistics 2

Author

Jeffrey R. Stevens

Published

May 9, 2025

  1. Calculate a linear model of the effect of bill length (predictor) on bill depth (outcome variable) for the penguins dataset. Return the model table using papaja::apa_table()
# >
  1. Calculate a linear mixed model using the same structure as #1, but add species as a random effect and return the model table (including p-values).
# >
  1. Calculate a generalized mixed model with body size as the outcome variable and bill length and flipper length as predictors (including their interaction), using a Poisson error distribution and return the model table.
# >
  1. Create a null model for bill depth and run a model selection analysis comparing the null model and the models from #1 and #2. Then run a test to find the best model then compare the top two models.
# >
  1. Check the model fit for the best fitting model from #4.
# >
  1. Calculate standardized coefficients from #1.
# >
  1. Calculate Cohen’s d from a model with bill length as the outcome variable and sex as the predictor.
# >