Aan de slagGa gratis aan de slag

Calculating p-values

In order to determine whether to choose the null hypothesis or the alternative hypothesis, you need to calculate a p-value from the z-score.

Let's return to the late shipments dataset and the proportion of late shipments.

The null hypothesis, \(H_{0}\), is that the proportion of late shipments is six percent.

The alternative hypothesis, \(H_{A}\), is that the proportion of late shipments is greater than six percent.

The observed sample statistic, late_prop_samp, the null hypothesis statistic, late_prop_hyp (6%), and the bootstrap standard error, std_error are available.

Deze oefening maakt deel uit van de cursus

Hypothesis Testing in R

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen