Descriptive statistics (shape)

Basic visualization (guided)

## load package: haffutils

## simulate deviates from a normal distribution

## create basic histogram

## create pretty histogram

## create basic density plot

## create pretty density plot

Visualization and central tendency comparison

## load packages: readr, haffutils

## read data from link: "https://gitlab.com/mhaffner/data/-/raw/master/cycling-safety-df.csv"
df <- _____("https://gitlab.com/mhaffner/data/-/raw/master/cycling-safety-df.csv")

## create density plot of variables safety_influence and confidence
## speculate: which has the greater mean?
## speculate: which has the greater median?
## speculate: which has the greater mode(s)?

## compute mean, median, and mode(s) for safety_influence

## compute mean, median, and mode(s) for confidence

Calculating kurtosis and skew

## load packages: readr, haffutils, e1071

## read data from link: "https://gitlab.com/mhaffner/data/-/raw/master/cycling-safety-df.csv"
df <- _____("https://gitlab.com/mhaffner/data/-/raw/master/cycling-safety-df.csv")

## using e1071, calculate kurtosis and skew for safety_influence

## using e1071, calculate kurtosis and skew for confidence