Skip to content

Commit 9e35277

Browse files
Fix references in ht chp (#349)
* Fix table formatting mostly * Fix section IDs * Fix refs
1 parent d7abdb1 commit 9e35277

12 files changed

+548
-424
lines changed

01-data-hello.qmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In this first chapter, we focus on both the properties of data and on the collec
1818
terms_chp_1 <- c("data")
1919
```
2020

21-
## Case study: Using stents to prevent strokes {#sec-case-study-stents-strokes}
21+
## Case study: Using stents to prevent strokes {sec-case-study-stents-strokes}
2222

2323
In this section we introduce a classic challenge in statistics: evaluating the efficacy of a medical treatment.
2424
Terms in this section, and indeed much of this chapter, will all be revisited later in the text.
@@ -145,7 +145,7 @@ This study looked at patients with very specific characteristics who volunteered
145145
In addition, there are many types of stents, and this study only considered the self-expanding Wingspan stent (Boston Scientific).
146146
However, this study does leave us with an important lesson: we should keep our eyes open for surprises.
147147

148-
## Data basics {#sec-data-basics}
148+
## Data basics {sec-data-basics}
149149

150150
Effective presentation and description of data is a first step in most analyses.
151151
This section introduces one structure for organizing data as well as some terminology that will be used throughout this book.
@@ -298,7 +298,7 @@ county_var_def |>
298298
The [`county`](http://openintrostat.github.io/usdata/reference/county.html) data can be found in the [**usdata**](http://openintrostat.github.io/usdata) R package.
299299
:::
300300

301-
### Types of variables {#variable-types}
301+
### Types of variables {variable-types}
302302

303303
Examine the `unemployment_rate`, `pop2017`, `state`, and `median_edu` variables in the `county` dataset.
304304
Each of these variables is inherently different from the other three, yet some share certain characteristics.
@@ -402,7 +402,7 @@ Classify each variable as either numerical or categorical?[^01-data-hello-5]
402402
[^01-data-hello-5]: The `group` variable can take just one of two group names, making it categorical.
403403
The `num_migraines` variable describes a count of the number of migraines, which is an outcome where basic arithmetic is sensible, which means this is a numerical outcome; more specifically, since it represents a count, `num_migraines` is a discrete numerical variable.
404404

405-
### Relationships between variables {#variable-relations}
405+
### Relationships between variables {variable-relations}
406406

407407
Many analyses are motivated by a researcher looking for a relationship between two or more variables.
408408
A social scientist may like to answer some of the following questions:
@@ -603,7 +603,7 @@ We will revisit this idea when we discuss experiments later in the book.
603603

604604
\vspace{10mm}
605605

606-
## Chapter review {#chp1-review}
606+
## Chapter review {chp1-review}
607607

608608
### Summary
609609

@@ -625,7 +625,7 @@ make_terms_table(terms_chp_1)
625625

626626
\clearpage
627627

628-
## Exercises {#chp1-exercises}
628+
## Exercises {chp1-exercises}
629629

630630
Answers to odd-numbered exercises can be found in [Appendix -@sec-exercise-solutions-01].
631631

11-foundations-randomization.qmd

Lines changed: 192 additions & 152 deletions
Large diffs are not rendered by default.

14-foundations-errors.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Decision Errors {#decerr}
1+
# Decision Errors {#sec-decerr}
22

33
```{r}
44
#| include: false

16-inference-one-prop.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
source("_common.R")
55
```
66

7-
# Inference for a single proportion {#inference-one-prop}
7+
# Inference for a single proportion {#sec-inference-one-prop}
88

99
::: {.chapterintro data-latex=""}
1010
Focusing now on statistical inference for categorical data, we will revisit many of the foundational aspects of hypothesis testing from Chapter \@ref(foundations-randomization).

_freeze/01-data-hello/execute-results/html.json

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

_freeze/11-foundations-randomization/execute-results/html.json

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.
Loading
Loading
Loading
Loading

exercises/_01-ex-data-hello.qmd

Lines changed: 209 additions & 148 deletions
Large diffs are not rendered by default.

exercises/_11-ex-foundations-randomization.qmd

Lines changed: 133 additions & 112 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)