Skip to content

Commit 02a5fc8

Browse files
melissa comments addressed
1 parent 80d4a9b commit 02a5fc8

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

clustering.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ not_standardized_data
889889
```
890890

891891
And then we apply the `scale` function to every column in the data frame
892-
using `mutate` + `across`.
892+
using `mutate` and `across`.
893893

894894
```{r 10-mapdf-scale-data}
895895
standardized_data <- not_standardized_data |>

inference.Rmd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ knitr::include_graphics("img/population_vs_sample.png")
9090
Note that proportions are not the *only* kind of population parameter we might
9191
be interested in. For example, suppose an undergraduate student studying at the University
9292
of British Columbia in Canada is looking for an apartment
93-
to rent. They need to create a budget, so they want to know something about
94-
studio apartment rental prices in Vancouver, BC. This student might
95-
formulate the following question:
93+
to rent. They need to create a budget, so they want to know about
94+
studio apartment rental prices in Vancouver. This student might
95+
formulate the question:
9696

97-
*What is the average price-per-month of studio apartment rentals in Vancouver, Canada?*
97+
*What is the average price per month of studio apartment rentals in Vancouver?*
9898

9999
In this case, the population consists of all studio apartment rentals in Vancouver, and the
100-
population parameter is the *average price-per-month*. Here we used the average
100+
population parameter is the *average price per month*. Here we used the average
101101
as a measure of the center to describe the "typical value" of studio apartment
102102
rental prices. But even within this one example, we could also be interested in
103103
many other population parameters. For instance, we know that not every studio
@@ -1148,9 +1148,9 @@ boot_est_dist +
11481148

11491149
To finish our estimation of the population parameter, we would report the point
11501150
estimate and our confidence interval's lower and upper bounds. Here the sample
1151-
mean price-per-night of 40 Airbnb listings was
1151+
mean price per night of 40 Airbnb listings was
11521152
\$`r round(mean(one_sample$price),2)`, and we are 95\% "confident" that the true
1153-
population mean price-per-night for all Airbnb listings in Vancouver is between
1153+
population mean price per night for all Airbnb listings in Vancouver is between
11541154
\$(`r round(bounds[1],2)`, `r round(bounds[2],2)`).
11551155
Notice that our interval does indeed contain the true
11561156
population mean value, \$`r round(mean(airbnb$price),2)`\! However, in

jupyter.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ activated by highlighting it with a blue rectangle to its left. After the cell
106106
has been activated (Figure \@ref(fig:activate-and-run-button)), the cell can be run by either pressing the **Run** (`r fa("play", height = "11px")`)
107107
button in the toolbar, or by using the keyboard shortcut `Shift + Enter`.
108108

109-
```{r activate-and-run-button, echo = FALSE, fig.cap = "An activated cell that is ready to be run. The red arrow points to the blue rectangle to the cell's left. The blue rectangle indicates that it is ready to be run. This can be done by clicking the run button (circled in red).", fig.retina = 2, out.width="100%"}
109+
```{r activate-and-run-button, echo = FALSE, fig.cap = "An activated cell that is ready to be run. The blue rectangle to the cell's left (annotated by a red arrow) indicates that it is ready to be run. The cell can be run by clicking the run button (circled in red).", fig.retina = 2, out.width="100%"}
110110
image_read("img/activate-and-run-button-annotated.png") |>
111111
image_crop("3632x900")
112112
```

0 commit comments

Comments
 (0)