avatarMadison Hunter

Summary

This context provides a comprehensive cheat sheet for understanding fundamental concepts and formulas in introductory statistics, covering topics such as descriptive and inferential statistics, probability, sampling, hypothesis testing, and regression analysis.

Abstract

The context offers a detailed guide to introductory statistics, starting with an overview of descriptive and inferential statistics, key terms, and tables. It then delves into organizing and graphing data, numerical descriptive measures, probability, discrete and continuous random variables, sampling distributions, estimation, hypothesis testing, chi-square tests, analysis of variance, and simple linear regression. The guide includes numerous formulas, tables, and explanations to help readers understand and apply statistical concepts. The author shares their personal experience of overcoming fear and succeeding in an undergraduate-level statistics course, emphasizing the importance of understanding formulas and carefully reading and comprehending questions.

Bullet points

  • The context provides a cheat sheet for understanding fundamental concepts and formulas in introductory statistics.
  • It covers topics such as descriptive and inferential statistics, probability, sampling, hypothesis testing, and regression analysis.
  • The guide includes numerous formulas, tables, and explanations to help readers understand and apply statistical concepts.
  • The author shares their personal experience of overcoming fear and succeeding in an undergraduate-level statistics course.
  • The context emphasizes the importance of understanding formulas and carefully reading and comprehending questions.

An Undergraduate-Level Introductory Statistics Course in 15 Minutes

A cheat sheet containing the most fundamental concepts and formulas to get you started in statistics.

Photo by Meruyert Gonullu from Pexels

Having failed math before, I was going into my first undergraduate-level statistics course in fear.

I was afraid of more than just mathematics though. I was afraid of the lack of career opportunities I would have if I couldn’t get through a simple statistics course. Obsessed with the thought of becoming a data scientist, I was terrified of not being able to build one of the fundamental skills that all data scientists need: the ability to understand and carry out statistical procedures.

I needn’t have worried though. Despite my trepidation, I passed the course easily with 82% (an A-) and killed the final exam with a final score of 92%. The notes that I’m sharing with you today are exactly those that helped me achieve success.

Before beginning to learn statistics, it’s important to know that statistics is a very “point and shoot” type of mathematics. In short, if you know the formulas and can carefully read and comprehend questions, you will be able to answer any statistical problem that comes across your desk. Statistical questions generally tell you exactly what they’re looking for as part of the answer (for example, calculate the mean, determine the standard deviation, complete a bivariate analysis, etc.).This is why the notes I’m sharing with you today are very “bare-bones” and contain mostly formulas, some vocabulary words, tables to show the relationships between concepts, and step-by-step ways of solving problems.

These notes assume an understanding of concepts such as summation notation, finding the range of a set of numbers, data visualization (understanding types of charts), basic probability, and basic algebra. These notes do leave out information on working with various distribution tables as this would dramatically increase the length of this article. Instead, the notes shared here feature the most important details — the rest can be filled in elsewhere.

Introduction

Key Terms

  • Descriptive Statistics: methods for organizing, displaying, and describing data by using tables, graphs, and other summary and visualization measures.
  • Inferential Statistics: methods that use sample results to make decisions or predictions about a population.
  • Quantitative Variable: variable that can be measured numerically. Data collected on a quantitative variable is called quantitative data.
  • Qualitative/Categorical Variable: a variable that cannot assume a numerical value but can be classified into a non-numeric category. Data collected on a qualitative variable is qualitative data.
  • Population: consists of all elements whose characteristics are being studied.
  • Sample: a portion of the population selected for the study.
  • Representative Sample: a sample that represents the characteristics of the population.
  • Random Sample: sample drawn such that each member of the population has some chance of being selected in the sample.
  • Nonrandom Sample: sample drawn such that some members of the population do not have a chance of being selected in the sample.
  • Sampling Error: the difference between the results obtained from a sample survey and the result that would have been obtained if the whole population had been included in the survey.
  • Nonsampling Error/Biases: the errors that occur in the collection, recording, and tabulation of data.

Tables

A practical example of what each aspect of data looks like in a table.
Types of nonrandom sampling.
Types of sampling and nonsampling errors.
Random sampling techniques.

Organizing and Graphing Data

Formulas

Calculating the relative frequency of a category.
Calculating percentage.
Finding class width.
Calculating class midpoint.
Calculating relative frequency and percentage.
Calculating cumulative relative frequency and cumulative percentage.

Tables

Grouped data presented in a frequency distribution table.

Numerical Descriptive Measures

Key Terms

  • Mean/Average: the average of a data set.
  • Median: the value that divides a data set that has been ranked in increasing order in two halves. If the data set has an odd number of values, the median is given by the value of the middle term in the data set. If the data set has an even number of values, the median is given by the average of the two middle terms in the data set.
  • Mode: the value that occurs with the highest frequency in a data set.
  • Standard Deviation: the value that tells how closely the values of a data set are clustered around the mean. A lower value of the standard deviation indicates that the data set is spread over a smaller range around the mean. A larger value of the standard deviation indicates that the data set is spread over a larger range around the mean.
  • Empirical Rule: For a bell-shaped distribution, (1) 68% of the observations lie within one standard deviation of the mean, (2) 95% of the observations lie within two standard deviations of the mean, and (3) 99.7% of the observations lie within three standard deviations of the mean.
  • Quartiles: three values that divide a ranked data set into four equal parts. The second quartile is the same as the median of the data set. The first quartile is the median of the observations that are less than the median. The third quartile is the median of the observations that are more than the median.
  • Box-and-Whisker Plot: a plot that shows the center, spread, and skewness of a data set using the median, first quartile, third quartile, and the smallest and largest values in the data set.

Formulas

Calculating mean.
Calculating mean for ungrouped data.
Calculating variance and standard deviation for ungrouped data for samples and populations.
Calculating mean for grouped data for samples and populations.
Calculating variance and standard deviation for grouped data for samples and populations.
Calculating interquartile range (the difference between the third and first quartiles).
Calculating percentiles.
Calculating the percentile rank of a value.

Probability

Key Terms

  • Marginal Probability: the probability of a single event without consideration of any other event.
  • Conditional Probability: the probability that an event will occur given that another event has already occurred. If A and B are two events, then the conditional probability of A given B is written as P(A|B).
  • Independent Events: the occurrence of one event does not affect the probability of the occurrence of the other event. A and B are independent events if either P(A|B) = P(A) or P(B|A) = P(B).
  • The Intersection of Events: the intersection of A and B represents the collection of all outcomes that are common to both A and B, denoted by (A and B).
  • Joint Probability: the probability of the intersection of two events, written as P(A and B).
  • Joint Probability of Mutually Exclusive Events: the joint probability of two mutually exclusive events is always 0.
  • Union of Events: the collection of all outcomes that belong to either A or B or both A and B denoted by P(A or B).
  • Factorials: n! (read as “n factorial”) represents the product of all integers from n to 1.
  • Combinations: give the number of ways x elements can be selected from n elements.
  • Permutations: the total number of selections of x elements from x elements.

Formulas

Classical probability rule to find probability.
Using relative frequency as an approximation of probability.
Multiplication rule to calculate the probability of independent events.
Multiplication rule to find the joint probability of two dependent events.
Calculating the conditional probability of two events.
Addition rule to find the probability of the union of two mutually nonexclusive events.
Addition rule to find the probability of the union of two mutually exclusive events.
Combination notation read as “the number of combinations of n elements selected x at a time”.
The number of combinations.
Permutation notation read as “the number of permutations of selecting x elements from n elements.”
The number of permutations of selecting x items out of n items.

Discrete Random Variables and Their Probability Distributions

Key Terms

  • Random Variable: a variable whose value is determined by the outcome of a random experiment.
  • Discrete Random Variable: random variable that assumes countable values.
  • Continuous Random Variable: random variable that can assume any value contained within an interval.
  • Probability Distribution of a Discrete Random Variable: lists all of the possible values that the random variable can assume and their probabilities.

Notes

Two characteristics of a probability distribution.

Conditions of a Binomial Experiment:

  1. There are n identical trials.
  2. Each trial has only two possible outcomes. The trials are divided into two mutually exclusive events.
  3. The probabilities of the two outcomes remain constant.
  4. The trails are independent.

Formulas

The mean of a discrete random variable is the value that is expected to occur per repetition if an experiment is repeated a large number of times. Also called its expected value and may be denoted by E(x).
The standard deviation of a discrete random variable gives the spread of its probability distribution.
Binomial formula.
The mean and standard deviation of a binomial distribution.

Continuous Random Variables and the Normal Distribution

Key Terms

  • z Values / z Scores: the units marked on the horizontal axis of the standard normal curve that gives the distance between the mean and the point represented by z in terms of standard deviation.

Notes

Normal Probability Distribution: when plotted produces a bell-shaped curve:

  1. The total area under the curve is 1.0.
  2. The curve is symmetric about the mean.
  3. The two tails of the curve extend indefinitely.

Formula

Converting an x value to a z value, where mu and sigma are the mean and standard deviation of the normal distribution of x.

Sampling Distributions

Key Terms

  • Population Probability Distribution: the probability distribution of the population data.
  • Sampling Distribution of bar x: the probability distribution of a sample statistic that gives its sampling distribution.
  • Sampling Distribution of the Sample Proportion: the probability distribution of the sample proportion (p hat).
  • Central Limit Theorem for Sample Proportion: states that the sampling distribution of p hat is approximately normal for sufficiently large sample size, such that np > 5 and nq > 5.

Formulas

Mean of the sampling distribution of bar x when the population has a normal distribution.
The standard deviation of the sampling distribution of bar x when the population has a normal distribution.
z value for a value of bar x.
Population and sample proportions.
Mean of the sample proportion.
The standard deviation of the sample proportion.
z value for a value of p hat.

Estimation of the Mean and Proportion

Key Terms

  • Estimate: the value(s) assigned to a population parameter based on the value of a sample statistic.
  • Estimator: the sample statistic used to estimate a population parameter.
  • Point Estimate: the value of a sample statistic that is used to estimate a population parameter.
  • Interval Estimation: an interval constructed around the point estimate that contains the corresponding population parameter.

Notes

The estimation procedure involves:

  1. Select a sample.
  2. Collect the required information from the members of the sample.
  3. Calculate the value of the sample statistic.
  4. Assign value(s) to the corresponding population parameter.

Formulas

Confidence interval for a given confidence level.
The confidence level for a confidence interval that states with how much confidence we have that this interval contains the true population parameter.
The point estimate of mu.
Confidence interval for the mean when the standard deviation is known.
Confidence interval for the mean when the standard deviation is unknown.
The margin of error of the estimate of the mean.
The sample size for the estimation of the mean.
The confidence interval for p for a large sample.
The margin of error of the estimate of p.
The sample size for the estimation of p.

Hypothesis Tests about the Mean and Proportion

Key Terms

  • Null Hypothesis: claim about a population parameter that is assumed to be true until it is declared false.
  • Alternative Hypothesis: claim about a population parameter that will be declared true if the null hypothesis is declared to be false.
  • Type I Error: occurs when a true null hypothesis is rejected.
  • Type II Error: occurs when a false null hypothesis is not rejected.
  • Two-Tailed Test: has rejection regions in both tails.
  • Left-Tailed Test: has the rejection region in the left tail of the distribution curve.
  • Right-Tailed Test: has the rejection region in the right tail of the distribution curve.
  • P-Value: the smallest significance level at which the null hypothesis is rejected.

Notes

Critical Value Approach:

  1. State the null and alternative hypotheses.
  2. Select the distribution to use.
  3. Determine the rejection and non-rejection regions.
  4. Calculate the observed value of the test statistic.
  5. Make a decision and write a conclusion.

P-Value Approach:

  1. State the null and alternative hypotheses.
  2. Select the distribution to use.
  3. Calculate the p-value.
  4. Make a decision.

Formulas

Test of hypotheses about the mean when the standard deviation is known.
The test of hypotheses about the mean and the standard deviation is unknown.
Test of hypotheses about p for a large sample.

Tables

Four possible outcomes for a test of hypothesis.
Signs in the null and alternative hypotheses and tails of a test.

Estimation and Hypothesis Testing: Two Populations

Key Terms

  • Independent Samples: two samples drawn from two populations where the selection of one sample from one population does not affect the selection of the second sample from the second population.
  • Dependent Samples: two samples drawn from two populations where the selection of one sample from one population does affect the selection of the second sample from the second population.
  • Paired/Matched Samples: two samples when for each data value collected from one sample there is a corresponding data value collected from the second sample and both of these data values are collected from the same source.

Formulas

The test statistic for a test of hypotheses about mean 1 minus mean 2 for two independent samples using the normal distribution when both standard deviations are known.
The pooled standard deviation for two independent samples taken from two populations with equal but unknown standard deviations.
Estimation of the standard deviation of x bar 1 minus x bar 2.
Test statistic using the t distribution.
Test of hypothesis about mu sub d in paired or matched samples.
Test of hypotheses about p1 — p2.

Chi-Square Tests

Key Terms

  • Chi-Square Distribution: distribution that has only one parameter (degrees of freedom). The shape of this distribution curve is skewed to the right for small degrees of freedom and becomes symmetric for large degrees of freedom. The entire distribution lies to the right of the vertical axis. This distribution assumes nonnegative values only.
  • Observed Frequencies: the frequencies obtained from the performance of an experiment, denoted by O.
  • Expected Frequencies: the frequencies that we expect to obtain if the null hypothesis is true. Obtained as E = np.
  • Test of Homogeneity: involves testing the null hypothesis that the proportions of elements with certain characteristics in two or more different populations are the same against the alternative hypothesis that these proportions are not the same.

Notes

A Multinomial Experiment: an experiment with the following characteristics is a multinomial experiment:

  1. The experiment consists of n identical trials.
  2. Each trial results in one of k possible outcomes where k > 2.
  3. The trials are independent.
  4. The probabilities of the various outcomes remain constant for each trial.

Formulas

The goodness of fit test.
A test of independence using contingency tables.
A test of homogeneity using contingency tables.

Analysis of Variance

Key Terms

  • ANOVA: a procedure that is used to test the null hypothesis that the means of three or more populations are all equal.
  • Mean Square Between Samples (MSB): a measure of the variation among the means of samples taken from different populations.
  • Mean Square Within Samples (MSW): a measure of the variation within the data of all samples taken from different populations.
  • SSB: the sum of squares between samples.
  • SST: the total sum of squares.
  • SSW: the sum of squares within samples.

Notes

The F Distribution:

  1. The F distribution is continuous and skewed to the right.
  2. The distribution has two numbers of degrees of freedom: df for the numerator and df for the denominator.
  3. The units of an F distribution are nonnegative.

Assumptions of One-Way ANOVA:

  1. The populations from which the samples are drawn are approximately normally distributed.
  2. The populations from which the samples are drawn have the same variance or standard deviation.
  3. The samples drawn from different populations are random and independent.
  4. The one-way ANOVA is always right-tailed.

Formulas

Equations of a one-way ANOVA test.

Simple Linear Regression

Key Terms

  • Simple Regression: a model that describes the relationship between two or more variables that includes only two variables: one independent and one dependent.
  • Linear Regression: a simple regression model that gives a straight-line relationship between two variables.
  • Least Squares Estimate of A and B: the values of a and b of A and B that are calculated by using the sample data.
  • Least Squares Method: the method used to fit a regression line through a scatter diagram such that the error sum of squares is at a minimum.
  • Least Squares Regression Line: a regression line obtained by using the least-squares method.
  • Linear Correlation Coefficient: a measure of the strength of the linear relationship between two variables.
  • Multiple Regression Model: regression model that contains two or more independent variables.
  • Positive Relationship Between Two Variables: the value of the slope in the regression line and the correlation coefficient between the two variables are both positive.
  • Negative Relationship Between Two Variables: the value of the slope in the regression line and the correlation coefficient between the two variables are both negative.
  • Slope: the coefficient of x in a regression model that gives the change in y for a change of one unit in x.
  • SSE (Error Sum of Squares): the sum of the squared differences between the actual and predicted values of y.
  • SSR (Regression Sum of Squares): the portion of the SST that is explained by the regression model.
  • SST (Total Sum of Squares): the sum of the squared differences between actual y values and y.
  • Standard Deviation of Errors: a measure of the spread for the random errors.

Formulas

Simple linear regression model.
Estimated regression model.
Confidence interval for B.
Test of hypothesis about B.
Linear correlation coefficient.
Coefficient of determination.

Final thoughts and additional resources.

While this cheat sheet is a good place to start, there are a ton of resources online that can help you further deepen your understanding of statistical concepts. Listed below are some of my favorites:

When it comes to studying statistics, repetition and consistency are key. Rarely are problems difficult to solve when you know what you’re looking for and how to look for it. By becoming familiar with the most important formulas and procedures for finding the values that you need, you’ll be able to solve any statistics problem that comes across your desk in no time.

Data Science
Statistics
Mathematics
Machine Learning
Artificial Intelligence
Recommended from ReadMedium