Courses › AP Math and CS
AP Statistics
Describing data, designing studies, probability, and inference for proportions, means, and relationships.
Study AP Statistics freeOpen in the app
Study it the fast way. Sign up free to turn this guide into flashcards, quick drills, practice quizzes and full practice tests that focus on what you miss, track your streak and race classmates live.
One-variable data
Key terms
- Categorical variable
- a variable that places each individual into a group or category
- Quantitative variable
- a variable that takes numerical values on which arithmetic makes sense
- Resistant measure
- a statistic that is not strongly affected by outliers, such as the median or IQR
- Interquartile range
- Q3 minus Q1, the spread of the middle half of the data
- Standard deviation
- a measure of the typical distance of values from the mean
- Z-score
- the number of standard deviations a value lies above or below the mean
- Skewed right
- a distribution with a long tail toward larger values
- Boxplot
- a display built from the five-number summary
Key facts
- The five-number summary consists of the minimum, Q1, median, Q3, and maximum
- A value is a suspected outlier if it lies more than 1.5 times the IQR beyond a quartile
- In a right-skewed distribution, the mean is usually greater than the median
- In a normal distribution, about 95 percent of values fall within 2 standard deviations of the mean
- Adding a constant to every value changes the mean but not the standard deviation
Two-variable data
Key terms
- Explanatory variable
- the variable used to predict or explain changes in the response
- Response variable
- the outcome variable that is measured or predicted
- Correlation coefficient
- r, a measure of the strength and direction of a linear relationship
- Least-squares regression line
- the line that minimizes the sum of squared residuals
- Residual
- the actual y-value minus the predicted y-value
- Coefficient of determination
- r squared, the share of variation in y explained by the linear model with x
- Influential point
- a point whose removal would substantially change the regression line
- Residual plot
- a graph used to check whether a linear model is appropriate
Key facts
- The value of r always lies between -1 and 1
- The regression line always passes through the point (x-bar, y-bar)
- A residual = actual y minus predicted y
- Correlation does not imply causation
- Extrapolation means predicting for x-values outside the range of the data
Collecting data
Key terms
- Population
- the entire group about which we want information
- Sample
- the part of the population from which data are actually collected
- Simple random sample
- a sample in which every group of the chosen size has an equal chance of selection
- Stratified random sample
- a sample taken by randomly selecting from each of several homogeneous groups
- Cluster sample
- a sample formed by randomly choosing whole groups and surveying everyone in them
- Voluntary response bias
- bias from letting people choose whether to respond, favoring strong opinions
- Confounding variable
- a variable that is linked to both the explanatory and response variables
- Placebo
- an inactive treatment given to the control group
Key facts
- A study that imposes treatments on subjects is called an experiment
- Randomly assigning treatments helps balance lurking variables across groups
- Neither subjects nor evaluators know who gets which treatment in a double-blind experiment
- Grouping similar subjects before randomizing treatments is called blocking
- Only a randomized experiment can support a cause-and-effect conclusion
Probability and random variables
Key terms
- Sample space
- the set of all possible outcomes of a chance process
- Independent events
- events where knowing one occurred does not change the probability of the other
- Mutually exclusive events
- events that cannot occur at the same time
- Conditional probability
- the probability of one event given that another has occurred
- Expected value
- the long-run average value of a random variable
- Binomial setting
- fixed number of independent trials, two outcomes each, with constant success probability
- Geometric random variable
- the count of trials needed to get the first success
- Law of large numbers
- as trials increase, the sample mean approaches the true mean
Key facts
- For independent events A and B, P(A and B) = P(A) times P(B)
- For any event A, P(not A) = 1 minus P(A)
- The mean of a binomial random variable is np
- The standard deviation of a binomial random variable is the square root of np(1-p)
- For random variables, the variance of X + Y (independent) equals the sum of the variances
Sampling distributions and inference
Key terms
- Parameter
- a number describing a population
- Statistic
- a number describing a sample
- Sampling distribution
- the distribution of a statistic over all possible samples of a given size
- Central limit theorem
- the sampling distribution of a mean becomes approximately normal for large samples
- Confidence interval
- a range of plausible values for a parameter, built from sample data
- P-value
- the probability, assuming the null is true, of a result at least as extreme as observed
- Type I error
- rejecting a true null hypothesis
- Type II error
- failing to reject a false null hypothesis
- Chi-square test
- a test used for counts of categorical data, such as goodness of fit or independence
Key facts
- The standard error of a sample proportion uses the formula square root of p(1-p)/n
- We reject the null hypothesis when the p-value is less than the significance level
- The power of a test equals 1 minus the probability of a Type II error
- Increasing the confidence level makes a confidence interval wider
- Inference for the mean with unknown population standard deviation uses the t distribution
- A chi-square test of independence with r rows and c columns has (r-1)(c-1) degrees of freedom
More AP Math and CS courses
AP Calculus ABLimits, derivatives and integrals of single-variable functions, with applications and the Fundamental Theorem of Calculus.AP Calculus BCEverything in AB plus parametric, polar and vector calculus, advanced integration, Euler's method and infinite series.AP PrecalculusFunctions and their behavior: polynomial, rational, exponential, logarithmic, trigonometric, polar, parametric, vector and matrix topics.AP Computer Science AJava programming: classes, control flow, arrays, ArrayList, inheritance, recursion, sorting, and searching.AP Computer Science PrinciplesCreative development, data, algorithms, computing systems and networks, and the impact of computing.