Skip to content

Commit 715e398

Browse files
committed
Fix typo, work on cover image for V2
1 parent 60cafaf commit 715e398

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

09-hypothesis-testing.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ set.seed(76)
3131

3232
We have studied confidence intervals in Chapter \@ref(confidence-intervals). We now introduce hypothesis testing, another widely used method for statistical inference. A claim is made about a value or characteristic of the population and then a random sample is used to infer about the plausibility of this claim or hypothesis. For example, in Section \@ref(ht-activity), we use data collected from Spotify to investigate whether metal music is more popular than deep-house music.
3333

34-
Many of the relevant concepts, ideas, and We have already introduced many of the necessary concepts to understand hypothesis testing in Chapters \@ref(sampling) and \@ref(confidence-intervals). We can now expand further on these ideas and provide a general framework for understanding hypothesis tests. By understanding this general framework, you will be able to adapt it to many different scenarios.
34+
Many of the relevant concepts, ideas, and we have already introduced many of the necessary concepts to understand hypothesis testing in Chapters \@ref(sampling) and \@ref(confidence-intervals). We can now expand further on these ideas and provide a general framework for understanding hypothesis tests. By understanding this general framework, you will be able to adapt it to many different scenarios.
3535

3636
The same can be said for confidence intervals. There was one general framework that applies to confidence intervals, and the `infer` package was designed around this framework. While the specifics may change slightly for different types of confidence intervals, the general framework stays the same.
3737

images/patchwork_boxplot.png

32.1 KB
Loading

index.Rmd

+5-3
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,14 @@ dev_version <- FALSE
263263
This is the [website](https://moderndive.com/v2/) for *Statistical Inference via Data Science: A ModernDive into R and the Tidyverse (Second Edition)*! Visit the [GitHub repository for this site](https://github.com/moderndive/ModernDive_book/tree/v2/). It will be published as a print copy by CRC Press soon! You can find a summary of the updates in this version [here](https://moderndive.com/v2/preface.html#about-the-book).
264264
```
265265

266-
```{r results="asis", echo=FALSE, purl=FALSE}
266+
```{r echo=FALSE, purl=FALSE}
267267
if (is_html_output()) {
268+
cat('<div class="book-cover">')
268269
include_graphics(
269-
path = "images/logos/v2/v2_cover_2024-09-29.png"#,
270-
# html_opts = "width=350px"
270+
path = "images/logos/v2/v2_cover_2024-09-29.png",
271+
html_opts = "width=350px"
271272
)
273+
cat('</div>')
272274
}
273275
```
274276

style.css

+9
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,12 @@ pre {
3030
pre code {
3131
white-space: inherit;
3232
}
33+
34+
.book-cover img {
35+
border: none;
36+
padding: 0;
37+
box-shadow: none;
38+
background-color: transparent;
39+
max-width: 100%; /* Ensures the cover image scales correctly */
40+
height: auto;
41+
}

0 commit comments

Comments
 (0)