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-one-mean.qmd
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -46,14 +46,14 @@ In order to go through the example more clearly, let's say that you are only abl
46
46
### Observed data
47
47
48
48
@fig-5cars shows a (small) random sample of observations from Awesome Auto.
49
-
The actual cars as well as their selling price is shown.
49
+
The actual cars as well as their selling price are shown.
50
50
51
51
```{r}
52
52
#| label: fig-5cars
53
53
#| fig-cap: A sample of five cars from Awesome Auto.
54
54
#| out-width: 70%
55
55
#| fig-alt: |
56
-
#| Photographs of 5 different automobiles. The cars are different color and
56
+
#| Photographs of 5 different automobiles. The cars are different colors and
57
57
#| different makes and models. On top of the image of each car is its price;
58
58
#| the five prices range from 9600 dollars to 27000 dollars.
59
59
include_graphics("images/5cars.png")
@@ -120,7 +120,7 @@ The distribution of $\bar{x}_{bs}$ for the Awesome Auto cars is shown in @fig-bo
120
120
```{r}
121
121
#| label: fig-bootmeans1mean
122
122
#| fig-cap: |
123
-
#| Because each of the bootstrap resamples respresents a different set of cars,
123
+
#| Because each of the bootstrap resamples represents a different set of cars,
124
124
#| the mean of the each bootstrap resample will be a different value. Each of the
125
125
#| bootstrapped means is calculated, and a histogram of the values describes the inherent
126
126
#| natural variability of the sample mean which is due to the sampling process.
@@ -247,7 +247,7 @@ terms_chp_19 <- c(terms_chp_19, "SE single mean", "SD of observations")
247
247
::: {.guidedpractice data-latex=""}
248
248
It turns out that the standard deviation of the bootstrapped means from @fig-carsbsmean is \$2,891.87 (a value which is an excellent approximation for the standard error of sample means if we were to take repeated samples from the population).
249
249
(Note: in R the calculation was done using the function `sd()`.)
250
-
The average of the observed prices is \$17,140, ad we will consider the sample average to be the best guess point estimate for $\mu.$
250
+
The average of the observed prices is \$17,140, and we will consider the sample average to be the best guess point estimate for $\mu.$
251
251
Find and interpret the confidence interval for $\mu$ (the true average cost of a car at Awesome Auto) using the bootstrap SE confidence interval formula.[^19-inference-one-mean-2]
252
252
:::
253
253
@@ -537,7 +537,7 @@ The extra thick tails of the $t$-distribution are exactly the correction needed
537
537
#| Two symmetric bell-shaped curves on top of one another.
538
538
#| One is a normal curve with smaller tails and a higher peak in
539
539
#| the middle. The other is a t-distribution with longer tails,
540
-
#| meaning that there are more more observations far from the
540
+
#| meaning that there are more observations far from the
541
541
#| center of a t-distribution than of a normal distribution.
0 commit comments