You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inference-paired-means.qmd
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -436,7 +436,7 @@ Notice that the two observations from the same car are linked with a grey line;
436
436
#| across the two tread wear measurements (in cm) from the same car.
437
437
#| fig-alt: |
438
438
#| Box plots and scatterplot with tire brand on the x-axis and
439
-
#| treat on the y-axis. The points are assigned to the x-axis brand
439
+
#| tire tread on the y-axis. The points are assigned to the x-axis brand
440
440
#| given by the permutation, but the plot differs from previous figures
441
441
#| in that it is a second permutation of the brands. Again, the two
442
442
#| permuted brands seem equivalent with respect to tire wear.
@@ -485,7 +485,7 @@ Again, the same observations are linked by a grey line, and some of the tread va
485
485
#| across the two tread wear measurements (in cm) from the same car.
486
486
#| fig-alt: |
487
487
#| Box plots and scatterplot with tire brand on the x-axis and
488
-
#| treat on the y-axis. The points are assigned to the x-axis brand
488
+
#| tire tread on the y-axis. The points are assigned to the x-axis brand
489
489
#| given by the permutation, but the plot differs from previous figures
490
490
#| in that it is a second permutation of the brands. The additional
491
491
#| permutation demonstrates that the box plots
@@ -650,7 +650,7 @@ Using the histogram of bootstrapped difference in means, estimate the standard e
650
650
The bootstrap SE interval is found by computing the SE of the bootstrapped differences $(SE_{\overline{x}_{diff}} = \$1.64)$ and the normal multiplier of $z^{\star} = 2.58.$ The averaged difference is $\bar{x} = \$3.58.$ The 99% confidence interval is: $\$3.58 \pm 2.58 \times \$ 1.64 = (\$-0.65, \$7.81).$
651
651
652
652
The confidence intervals seem to indicate that the UCLA bookstore price is, on average, higher than the Amazon price, as the majority of the confidence interval is positive.
653
-
However, if the analysis required a strong degree of certainty (e.g., 99% confidence), and the bootstrap SE interval was most appropriate (given a second course in statistics the nuances of the methods can be investigated), the results of which book seller is higher is not well determined (because the bootstrap SE interval overlaps zero).
653
+
However, if the analysis required a strong degree of certainty (e.g., 99% confidence), and the bootstrap SE interval was most appropriate (given a second course in statistics the nuances of the methods can be investigated), the results of which bookseller is higher are not well determined (because the bootstrap SE interval overlaps zero).
654
654
That is, the 99% bootstrap SE interval gives potential for UCLA bookstore to be lower, on average, than Amazon (because of the possible negative values for the true mean difference in price).
655
655
656
656
```{r}
@@ -868,7 +868,7 @@ To compute the test compute the standard error associated with $\bar{x}_{diff}$
0 commit comments