Toets op correlatie

Statistical Thinking in Python (deel 2)

Justin Bois

Lecturer at the California Institute of Technology

Uitslag swing states VS 2008

ch4-2.002.png

1 Gegevens afkomstig van Data.gov (https://www.data.gov/)
Statistical Thinking in Python (deel 2)

Hypothesetoets voor correlatie

  • Stel de nulhypothese: de twee variabelen zijn volledig ongecorreleerd
  • Simuleer data onder de nulhypothese
  • Gebruik Pearson-correlatie, $\rho$, als toetsingsgrootheid
  • p-waarde: fractie replicaties met $\rho$ minstens zo groot als geobserveerd
Statistical Thinking in Python (deel 2)

Dichterbevolkte counties stemden op Obama

ch4-2.009.png

Statistical Thinking in Python (deel 2)

Dichterbevolkte counties stemden op Obama

ch4-2.010.png

Statistical Thinking in Python (deel 2)

Laten we oefenen!

Statistical Thinking in Python (deel 2)

Preparing Video For Download...