Skip to content

Commit 5cd44ed

Browse files
Update inference-one-mean.qmd (#502)
some typos.
1 parent bfacb37 commit 5cd44ed

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

inference-one-mean.qmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ In order to go through the example more clearly, let's say that you are only abl
4646
### Observed data
4747

4848
@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.
5050

5151
```{r}
5252
#| label: fig-5cars
5353
#| fig-cap: A sample of five cars from Awesome Auto.
5454
#| out-width: 70%
5555
#| 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
5757
#| different makes and models. On top of the image of each car is its price;
5858
#| the five prices range from 9600 dollars to 27000 dollars.
5959
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
120120
```{r}
121121
#| label: fig-bootmeans1mean
122122
#| 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,
124124
#| the mean of the each bootstrap resample will be a different value. Each of the
125125
#| bootstrapped means is calculated, and a histogram of the values describes the inherent
126126
#| 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")
247247
::: {.guidedpractice data-latex=""}
248248
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).
249249
(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.$
251251
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]
252252
:::
253253

@@ -537,7 +537,7 @@ The extra thick tails of the $t$-distribution are exactly the correction needed
537537
#| Two symmetric bell-shaped curves on top of one another.
538538
#| One is a normal curve with smaller tails and a higher peak in
539539
#| 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
541541
#| center of a t-distribution than of a normal distribution.
542542
#| fig-asp: 0.5
543543
#| out-width: 60%

0 commit comments

Comments
 (0)