R Code for calculating predicted values and effect sizes in the 2x2 Model of Perfectionism (main effects model).
R code to calculate predicted values for subtypes of perfectionism in the 2x2 Model of Perfectionism (Gaudreau & Thompson, 2010) based on a main effects model (no interaction term). Effect sizes (Cohen's d) are also calculated to test the hypotheses of the model based on equations in Gaudreau (2012).
Gaudreau, P. (2012). A methodological note on the interactive and main effects of dualistic personality dimensions: An example using the 2× 2 model of perfectionism. Personality and Individual Differences, 52 (1), 26-31. https://doi.org/10.1016/j.paid.2011.08.022
Gaudreau, P., & Thompson, A. (2010). Testing a 2×2 model of dispositional perfectionism. Personality and Individual Differences, 48(5), 532–537. https://doi.org/10.1016/j.paid.2009.11.031