Advertisement
Guest User

Untitled

a guest
Feb 8th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.79 KB | None | 0 0
  1. % data: table 1 of the paper shows that in math, the non-blind
  2. % average score was [0.052, 0.003] for b/g and [-0.014 0.014] for blinded
  3. % scores.
  4. % from Sands/Lavy, 2015.
  5.  
  6. x = -3:0.01:3;
  7.  
  8. % upper graph, non-blind
  9. subplot(2, 1, 1);
  10. plot(x, 1/sqrt(2*pi)*exp(-((x-0.052).^2)/2), 'b');
  11. hold on;
  12. plot(x, 1/sqrt(2*pi)*exp(-((x-0.003).^2)/2), 'm');
  13. ylabel('density'); xlabel('standardized score'); legend('boys', 'girls')
  14. title('non-blind scores across students in math')
  15.  
  16. % lower graph, blind
  17. subplot(2, 1, 2);
  18. plot(x, 1/sqrt(2*pi)*exp(-((x+0.014).^2)/2), 'b');
  19. hold on
  20. plot(x, 1/sqrt(2*pi)*exp(-((x-0.014).^2)/2), 'm');
  21. ylabel('density'); xlabel('standardized score'); legend('boys', 'girls')
  22. title('blind scores across students in math')
  23.  
  24. saveas(gcf, 'scores_in_math_elementary.png', 'png');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement