Przejdź do głównej treści

Confidence Interval Coverage Normal

Komponent edukacyjny ilustrujący zakres przedziałów ufności dla średniego rozkładu normalnego.

Opcje

  • intro | (node|string): nadpisuje domyślny (interaktywny) tekst wprowadzający. Default: none.
  • quartileNotation | boolean: kontroluje, czy użyć alfa/2 jako indeksu dla wartości krytycznej, czy tylko krytycznej. Default: true.
  • sampleStats | boolean: kontroluje, czy przy obliczaniu błędu standardowego powinno być możliwe przełączenie się między wykorzystaniem odchylenia standardowego próbki a znanym odchyleniem standardowym populacji. Default: true.

Przykłady

Edytor na żywo
Wynik

Confidence Interval Coverage for Sample Mean

. Then . Our confidence interval is then .For our choice of sample size (n), , , and confidence level, we will simulate 20 different samples from our normal distribution and calculate the corresponding sample means and confidence intervals.

Change parameters


0.010.99

Confidence Intervals

12345678910111213141516171819200.40.60.81.01.21.41.6

Of the 20 confidence intervals, 20 capture the true proportion (coverage: 1).