A Minimal Book Example
Preface
1
The R Environment
1.1
Installing R and RStudio
1.2
RStudio
1.3
Some Coding Basics
1.3.1
Variable assignment
1.3.2
R functions
1.4
R Packages
1.5
R Markdown
2
Getting Started with Data
2.1
R Packages
2.1.1
Installing packages
2.1.2
Loading packages in an R session
2.2
Loading Data
2.2.1
Viewing data
2.3
Basic Data Structures
2.3.1
Data types in R
3
Wrangling and Visualizing Data
3.1
Wrangling Data
3.1.1
Indexing
3.1.2
Extracting with $
3.1.3
Selecting columns
3.1.4
Renaming columns
3.1.5
Adding/changing columns
3.1.6
Filtering data
3.1.7
Piping
3.1.8
Aggregating data
3.1.9
Dealing with missing data
3.2
Visualizing Data
3.2.1
Histograms
3.2.2
Scatterplots
3.2.3
Box & Whisker Plots
3.2.4
Tables (keep?)
4
Basic Data Analysis
4.1
The Distribution of Data
4.1.1
Measures of central tendency
4.1.2
Measures of dispersion
4.1.3
Skew
4.1.4
Outliers
4.2
Intervals
4.2.1
Confidence intervals
4.3
Simple Hypothesis Tests
4.3.1
One-sample t-test for a mean
4.3.2
Interpreting p-values
4.3.3
Two-sample t-test for a difference in means
4.3.4
Chi-squared test for independence
4.4
Covariation
4.4.1
Visualizing covariation
4.4.2
Categorical variables
4.4.3
Correlation
4.4.4
The Pearson correlation coefficient,
\(r\)
4.4.5
Correlation does not imply causation
5
Basic Data Modeling
5.1
Learning From Data
5.2
Simple Linear Regression
5.2.1
The regression coefficients
5.3
Multiple Regression
5.4
Categorical Predictors (needs work)
Published with bookdown
introstats
introstats
Preface