Test auf Korrelation

Statistical Thinking in Python (Teil 2)

Justin Bois

Lecturer at the California Institute of Technology

US-Swing States: Wahlergebnisse 2008

ch4-2.002.png

1 Data retrieved from Data.gov (https://www.data.gov/)
Statistical Thinking in Python (Teil 2)

Hypothesentest auf Korrelation

  • Nullhypothese: Die beiden Variablen sind vollständig unkorreliert
  • Daten simulieren, wenn die Nullhypothese gilt
  • Pearson-Korrelation, $\rho$, als Teststatistik verwenden
  • p-Wert berechnen: Anteil der Replikate mit $\rho$ mindestens so groß wie beobachtet
Statistical Thinking in Python (Teil 2)

Bevölkerungsreichere Countys wählten Obama

ch4-2.009.png

Statistical Thinking in Python (Teil 2)

Bevölkerungsreichere Countys wählten Obama

ch4-2.010.png

Statistical Thinking in Python (Teil 2)

Lass uns üben!

Statistical Thinking in Python (Teil 2)

Preparing Video For Download...