Skip to content

Commit

Permalink
Fix section IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
mine-cetinkaya-rundel committed Oct 22, 2023
1 parent 2d93a53 commit 8a0bbb6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions 01-data-hello.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ In this first chapter, we focus on both the properties of data and on the collec
terms_chp_1 <- c("data")
```

## Case study: Using stents to prevent strokes {#01-data-hello-sec-case-study-stents-strokes}
## Case study: Using stents to prevent strokes {sec-case-study-stents-strokes}

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

## Data basics {#01-data-hello-sec-data-basics}
## Data basics {sec-data-basics}

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

### Types of variables {#01-data-hello-variable-types}
### Types of variables {variable-types}

Examine the `unemployment_rate`, `pop2017`, `state`, and `median_edu` variables in the `county` dataset.
Each of these variables is inherently different from the other three, yet some share certain characteristics.
Expand Down Expand Up @@ -402,7 +402,7 @@ Classify each variable as either numerical or categorical?[^01-data-hello-5]
[^01-data-hello-5]: The `group` variable can take just one of two group names, making it categorical.
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.

### Relationships between variables {#01-data-hello-variable-relations}
### Relationships between variables {variable-relations}

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

\vspace{10mm}

## Chapter review {#01-data-hello-chp1-review}
## Chapter review {chp1-review}

### Summary

Expand All @@ -625,7 +625,7 @@ make_terms_table(terms_chp_1)

\clearpage

## Exercises {#01-data-hello-chp1-exercises}
## Exercises {chp1-exercises}

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

Expand Down

0 comments on commit 8a0bbb6

Please sign in to comment.