You updated your password.

Reset Password

Enter the email address you used to create your account. We will email you instructions on how to reset your password.

Reset Password Modal Form

Forgot Your Email Address? Contact Us

Learning Statistics: Concepts and Applications in R

Learn to tame data by learning statistics using the R programming language, taught by an award-winning and innovative educator.
Guidebook
 
 
Learning Statistics: Concepts and Applications in R

Trailer

How to Summarize Data with Statistics

01: How to Summarize Data with Statistics

Confront how ALL data has uncertainty, and why statistics is a powerful tool for reaching insights and solving problems. Begin by describing and summarizing data with the help of concepts such as the mean, median, variance, and standard deviation. Learn common statistical notation and graphing techniques, and get a preview of the programming language R, which will be used throughout the course....

Exploratory Data Visualization in R

02: Exploratory Data Visualization in R

Dip into R, which is a popular open-source programming language for use in statistics and data science. Consider the advantages of R over spreadsheets. Walk through the installation of R, installation of a companion IDE (integrated development environment) RStudio, and how to download specialized data packages from within RStudio. Then, try out simple operations, learning how to import data, save ...

Sampling and Probability

03: Sampling and Probability

Study sampling and probability, which are key aspects of how statistics handles the uncertainty inherent in all data. See how sampling aims for genuine randomness in the gathering of data, and probability provides the tools for calculating the likelihood of a given event based on that data. Solve a range of problems in probability, including a case of medical diagnosis that involves the applicatio...

Discrete Distributions

04: Discrete Distributions

There's more than one way to be truly random! Delve deeper into probability by surveying several discrete probability distributions-those defined by discrete variables. Examples include Bernoulli, binomial, geometric, negative binomial, and Poisson distributions-each tailored to answer a specific question. Get your feet wet by analyzing several sets of data using these tools....

Continuous and Normal Distributions

05: Continuous and Normal Distributions

Focus on the normal distribution, which is the most celebrated type of continuous probability distribution. Characterized by a bell-shaped curve that is symmetrical around the mean, the normal distribution shows up in a wide range of phenomena. Use R to find percentiles, probabilities, and other properties connected with this ubiquitous data pattern....

Covariance and Correlation

06: Covariance and Correlation

When are two variables correlated? Learn how to measure covariance, which is the association between two random variables. Then use covariance to obtain a dimensionless number called the correlation coefficient. Using an R data set, plot correlation values for several variables, including the physical measurements of a sample population....

Validating Statistical Assumptions

07: Validating Statistical Assumptions

Graphical data analysis was once cumbersome and time-consuming, but that has changed with programming tools such as R. Analyze the classic Iris Flower Data Set-the standard for testing statistical classification techniques. See if you can detect a pattern in sepal and petal dimensions for different species of irises by using scatterplots, histograms, box plots, and other graphical tools....

Sample Size and Sampling Distributions

08: Sample Size and Sampling Distributions

It's rarely possible to collect all the data from a population. Learn how to get a lot from a little by “bootstrapping,” a technique that lets you improve an estimate by resampling the same data set over and over. It sounds like magic, but it works! Test tools such as the Q-Q plot and the Shapiro-Wilk test, and learn how to apply the central limit theorem....

Point Estimates and Standard Error

09: Point Estimates and Standard Error

Take your understanding of descriptive techniques to the next level, as you begin your study of statistical inference, learning how to extract information from sample data. In this lecture, focus on the point estimate-a single number that provides a sensible value for a given parameter. Consider how to obtain an unbiased estimator, and discover how to calculate the standard error for this estimate...

Interval Estimates and Confidence Intervals

10: Interval Estimates and Confidence Intervals

Move beyond point estimates to consider the confidence interval, which provides a range of possible values. See how this tool gives an accurate estimate for a large population by sampling a relatively small subset of individuals. Then learn about the choice of confidence level, which is often specified as 95%. Investigate what happens when you adjust the confidence level up or down....

Hypothesis Testing: 1 Sample

11: Hypothesis Testing: 1 Sample

Having learned to estimate a given population parameter from sample data, now go the other direction, starting with a hypothesized parameter for a population and determining whether we think a given sample could have come from that population. Practice this important technique, called hypothesis testing, with a single parameter, such as whether a lifestyle change reduces cholesterol. Discover the ...

Hypothesis Testing: 2 Samples, Paired Test

12: Hypothesis Testing: 2 Samples, Paired Test

Extend the method of hypothesis testing to see whether data from two different samples could have come from the same population-for example, chickens on different feed types or an ice skater's speed in two contrasting maneuvers. Using R, learn how to choose the right tool to differentiate between independent and dependent samples. One such tool is the matched pairs t-test....

Linear Regression Models and Assumptions

13: Linear Regression Models and Assumptions

Step into fully modeling the relationship between data with the most common technique for this purpose: linear regression. Using R and data on the growth of wheat under differing amounts of rainfall, test different models against criteria for determining their validity. Cover common pitfalls when fitting a linear model to data....

Regression Predictions, Confidence Intervals

14: Regression Predictions, Confidence Intervals

What do you do if your data doesn't follow linear model assumptions? Learn how to transform the data to eliminate increasing or decreasing variance (called heteroscedasticity), thereby satisfying the assumptions of normality, independence, and linearity. One of your test cases uses the R data set for miles per gallon versus weight in 1973-74 model automobiles....

Multiple Linear Regression

15: Multiple Linear Regression

Multiple linear regression lets you deal with data that has multiple predictors. Begin with an R data set on diabetes in Pima Indian women that has an array of potential predictors. Evaluate these predictors for significance. Then turn to data where you fit a multiple regression model by adding explanatory variables one by one. Learn to avoid overfitting, which happens when too many explanatory va...

Analysis of Variance: Comparing 3 Means

16: Analysis of Variance: Comparing 3 Means

Delve into ANOVA, short for analysis of variance, which is used for comparing three or more group means for statistical significance. ANOVA answers three questions: Do categories have an effect? How is the effect different across categories? Is this significant? Learn to apply the F-test and Tukey's honest significant difference (HSD) test....

Analysis of Covariance and Multiple ANOVA

17: Analysis of Covariance and Multiple ANOVA

You can combine features of regression and ANOVA to perform what is called analysis of covariance, or ANCOVA. And that's not all: Just as you can extend simple linear regression to multiple linear regression, you can also extend ANOVA to multiple ANOVA, known as MANOVA, or multivariate analysis of variance. Learn when to apply each of these techniques....

Statistical Design of Experiments

18: Statistical Design of Experiments

While a creative statistical analysis can sometime salvage a poorly designed experiment, gain an understanding of how experiments can be designed in from the outset to collect far more reliable statistical data. Consider the role of randomization, replication, blocking, and other criteria, along with the use of ANOVA to analyze the results. Work several examples in R....

Regression Trees and Classification Trees

19: Regression Trees and Classification Trees

Delve into decision trees, which are graphs that use a branching method to determine all possible outcomes of a decision. Trees for continuous outcomes are called regression trees, while those for categorical outcomes are called classification trees. Learn how and when to use each, producing inferences that are easily understood by non-statisticians....

Polynomial and Logistic Regression

20: Polynomial and Logistic Regression

What can be done with data when transformations and tree algorithms don't work? One approach is polynomial regression, a form of regression analysis in which the relationship between the independent and dependent variables is modelled as the power of a polynomial. Step functions fit smaller, local models instead of one global model. Or, if we have binary data, there is logistic regression, in whic...

Spatial Statistics

21: Spatial Statistics

Spatial analysis is a set of statistical tools used to find additional order and patterns in spatial phenomena. Drawing on libraries for spatial analysis in R, use a type of graph called a semivariogram to plot the spatial autocorrelation of the measured sample points. Try your hand at data sets involving the geographic incidence of various medical conditions....

Time Series Analysis

22: Time Series Analysis

Time series analysis provides a way to model response data that is correlated with itself, from one point in time to the next, such as daily stock prices or weather history. After disentangling seasonal changes from longer-term patterns, consider methods that can model a dependency on time, collectively known as ARIMA (autoregressive integrated moving average) models....

Prior Information and Bayesian Inference

23: Prior Information and Bayesian Inference

Turn to an entirely different approach for doing statistical inference: Bayesian statistics, which assumes a known prior probability and updates the probability based on the accumulation of additional data. Unlike the frequentist approach, the Bayesian method does not depend on an infinite number of hypothetical repetitions. Explore the flexibility of Bayesian analysis.

Statistics Your Way with Custom Functions

24: Statistics Your Way with Custom Functions

Close the course by learning how to write custom functions for your R programs, streamlining operations, enhancing graphics, and putting R to work in a host of other ways. Professor Williams also supplies tips on downloading and exporting data, and making use of the rich resources for R-a truly powerful tool for understanding and interpreting data in whatever way you see fit....

Overview Course No. 1480

Statistical literacy is essential in today's world of big data, where we are constantly inundated with statistical arguments by those trying to influence us. On the flip side, we can use statistics in our own lives to analyze data such as financial returns, medical treatments, and housing prices, and discover the truth about anything that interests us. Crucial to this power is the statistical programming language R, a free, open-source computer language with millions of users worldwide. Designed for people comfortable with algebra, this course surveys the concepts and methods of college-level statistics through dozens of exercises conducted in RStudio, a free programming editor for the free programming language R.

Award-winning Professor Talithia Williams of Harvey Mudd College begins with descriptive statistics: you learn to draw conclusions from sample data using histograms, scatterplots, and other visual aids, and employ ideas such as the normal distribution, central limit theorem, and correlation. Next you explore the remarkable power of statistics to make inferences beyond the population being sampled: you study linear regression, multiple regression, ANOVA, and other classic techniques. In the final part of the course, you zero in on advanced topics such as experimental design, spatial statistics, time series analysis, and Bayesian inference. You conclude with a lecture that teaches you how to customize R for your own unique needs.

About

Talithia Williams

To truly appreciate statistical information, we have to understand the language of statistics, the assumptions of statistics, and how we reason in the face of uncertainty.

INSTITUTION
Harvey Mudd College

Talithia Williams is an Associate Professor of Mathematics and the Associate Dean for Research and Experiential Learning at Harvey Mudd College. She earned her bachelor's degree in Mathematics from Spelman College, a master's degree in mathematics from Howard University and her Ph.D. in Statistics from Rice University. Her professional experiences include research appointments at NASA's Jet Propulsion Laboratory, NASA's Johnson Space Center, and the National Security Agency.

Renowned for her popular TED Talk, “Own Your Body's Data,” Dr. Williams takes sophisticated numerical concepts and makes them understandable to a wide audience. She won the Mathematical Association of America's Henry L. Alder Award for Distinguished Teaching by a Beginning College or University Mathematics Faculty Member, which honors faculty members whose teaching is effective and extraordinary, and extends its influence beyond the classroom.

In her research, Dr. Williams develops statistical models that emphasize the spatial and temporal structure of data. She has partnered with the World Health Organization in developing a model to predict the annual number of cataract surgeries needed to eliminate blindness in Africa.

Dr. Williams is cohost of the PBS series NOVA Wonders, and she has delivered speeches around the country on the value of statistics in quantifying personal health information.

By This Professor