+ - 0:00:00
Notes for current slide
Notes for next slide

Monte Carlo Simulations: Class 3

Independent Study / Spring 2023

Francis L. Huang, PhD

huangf@missouri.edu

@flhuang

https://francish.net

2023.01.30 / Updated 2023-04-22

1 / 3
Simulation stuff

Investigating Student's independent sample t-test assumptions

  • Normally distributed
  • Independent
  • Homogeneity of variance (tested using a F-test; see below)

Source: https://en.wikipedia.org/wiki/Student%27s_t-test

2 / 3
Simulation stuff

NOTE: R, by default, does not run Student's t-test but Welch's t-test

## Default S3 method:
t.test(x, y = NULL,
alternative = c("two.sided", "less", "greater"),
mu = 0, paired = FALSE, var.equal = FALSE,
conf.level = 0.95, ...)
var.equal:
a logical variable indicating whether to treat the two variances as being equal.
*If TRUE then the pooled variance is used to estimate the variance otherwise the
Welch (or Satterthwaite) approximation** to the degrees of freedom is used.
  • Welch's t-test does NOT assume equality of variance

  • Which is better and why?

  • Does it make a difference which test you run?
    • When does it make a difference?
  • Is one more powerful than the other?
  • Is one more robust than the other?
3 / 3
Simulation stuff

Investigating Student's independent sample t-test assumptions

  • Normally distributed
  • Independent
  • Homogeneity of variance (tested using a F-test; see below)

Source: https://en.wikipedia.org/wiki/Student%27s_t-test

2 / 3
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow