Perplex
Content
  • Exponents & Logarithms
  • Approximations & Error
  • Sequences & Series
  • Matrices
  • Complex Numbers
  • Financial Mathematics
  • Cartesian plane & lines
  • Function Theory
  • Modelling
  • Transformations & asymptotes
  • 2D & 3D Geometry
  • Voronoi Diagrams
  • Trig equations & identities
  • Vectors
  • Graph Theory
  • Probability
  • Descriptive Statistics
  • Bivariate Statistics
  • Distributions & Random Variables
  • Inference & Hypotheses
  • Differentiation
  • Integration
  • Differential Equations
Other
  • Review Videos
  • Blog
  • Landing Page
  • Sign Up
  • Login
  • Perplex
    IB Math AIHL
    /
    Inference & Hypotheses
    /

    Skills

    Edit

    Skill Checklist

    Track your progress across all skills in your objective. Mark your confidence level and identify areas to focus on.

    Track your progress:

    Don't know

    Working on it

    Confident

    📖 = included in formula booklet • 🚫 = not in formula booklet

    Track your progress:

    Don't know

    Working on it

    Confident

    📖 = included in formula booklet • 🚫 = not in formula booklet

    Skill Checklist

    Track your progress across all skills in your objective. Mark your confidence level and identify areas to focus on.

    21 Skills Available

    Track your progress:

    Don't know

    Working on it

    Confident

    📖 = included in formula booklet • 🚫 = not in formula booklet

    Track your progress:

    Don't know

    Working on it

    Confident

    📖 = included in formula booklet • 🚫 = not in formula booklet

    Hypothesis Testing and p-values

    2 skills
    Null and alternative hypotheses (H₀ & H₁)
    SL AI 4.11

    The null hypothesis H0​ states the baseline assumption, usually that no effect or relationship exists. If we reject the null hypothesis, we accept an alternative hypothesis H1​.

    Significance Levels & p-values
    SL AI 4.11

    p-value: The probability of getting results as surprising (or more) as the observation if the null hypothesis were true.

    Significance level (α): The cutoff we choose in advance. If the p-value is below α, we reject the null hypothesis.

    χ² tests

    4 skills
    Chi Squared (χ²) Goodness of Fit Test
    SL AI 4.11

    A χ² goodness of fit test compares measured data to expected frequencies, and returns a p-value that captures the likelihood of equal or greater deviation from the expected frequencies. On a calculator:

    1. Enter in L1​ the observed frequencies

    2. Enter in L2​ the expected frequencies

    3. Find the χ2 GOF-Test on your calculator, with

      • Observed: L1​

      • Expected: L2​

      • df: (n−1), where n is the number of items in either list

    The calculator returns the p-value, which we interpret as usual for a hypothesis test. It also returns the value of χ2, which we can compare to a critical value if it is given.

    Degrees of Freedom for a χ² goodness of fit test
    SL AI 4.11

    When the total number of observations is fixed, and we have n different categories, we only have n−1 degrees of freedom since we can find one entry by subtracting the sum of the other entries from the total.

    χ² critical value
    SL AI 4.11

    The critical value for a χ² test is a threshold we are given, against which we compare the value of χ² for our data. If our χ² is larger than the critical value, we reject H0​.

    Chi Squared (χ²) Test For Independence using technology
    SL AI 4.11

    A χ2 test can also be used to test whether categorical variables are related, for example, does favorite movie depend on gender? It works by comparing how far off the observed data is from what we would expect if the variables were not related (H0​).


    On a calculator:

    • Enter the observed frequencies in a matrix (table)

    • Enter the expected frequencies in a separate matrix or leave them blank if they are not given.

    • Navigate to χ2-Test on your calculator, and enter the observed and expected matrices (select an empty matrix and your calculator will find the expected values itself) you just filled.

    • The calculator returns the χ2 value and the p value.

    Further χ² tests & unbiased estimators

    4 skills
    Grouping data for Chi squared (χ²) tests
    AHL AI 4.12

    Before performing a χ2 test, it's important to verify that all expected frequencies are larger than 5. If any are not, categories must be combined before performing the test. For example:

    problem image

    Note that when we combine categories, the degrees of freedom decrease!

    x̅ as an unbiased estimate of μ
    AHL AI 4.14

    If the true mean of some distribution is unknown, we can average samples taken from the distribution to produce an unbiased estimate of the population mean:

    μ≈xˉ=n∑xi​​.

    We call the estimate unbiased since

    μ=xˉ as n→∞
    sₙ₋₁² as an unbiased estimator of σ²
    AHL AI 4.14

    If the true variance of some distribution is unknown, we can use the sample standard deviation to get an unbiased estimate of the population variance:

    σ2≈Sx2​=sn−12​=n−1n​σx2​


    (Your calculator returns both Sx​ - which is the same as sn−1​ and σx​).


    We call the estimate unbiased since

    σ2=Sx2​ as n→∞
    Chi squared (χ²) with estimated parameters
    AHL AI 4.12

    When we perform a χ2 goodness of fit test with unbiased estimates as parameters for some distribution, each estimated parameter is an additional constraint on the data, so we need to subtract from the degrees of freedom:

    df =n−1−k

    where k is the number of parameters estimated.

    Student's t-test

    5 skills
    1 tailed and 2 tailed T-test hypotheses
    SL AI 4.11

    Given a null hypothesis H0​:μ=μ0​, we can have any of the following alternative hypotheses

    H1​:μ<μ0​,H1​:μ>μ0​,H1​:μ=μ0​.

    The first two alternative hypotheses are called one-tailed since we only care how far the sample mean, xˉ, is from μ0​ in one direction. The last hypothesis is two-tailed because we care how far xˉ is from μ0​ regardless of direction.

    T-test for mean μ (1-sample)
    SL AI 4.11

    We can perform a t-test for a single sample against a known mean by on a calculator:

    1. Enter the sample data into a list.

    2. Navigate to T-Test on a calculator.

    3. Select "DATA" and enter the name of the list where sample is stored.

    4. Select the tail type depending on what our alternative hypothesis is (μ0​ is the population mean):

      • =μ0​ for a change in mean

      • <μ0​ for a decrease in mean

      • >μ0​ for an increase in mean

    5. Hit calculate, and interpret the p-value as usual.

    2-sample T-Test
    SL AI 4.11

    To compare the means of two samples using a T-test, we use a calculator:

    1. Enter each sample in its own list.

    2. Navigate to 2-SampTTest.

    3. Select "Data", then enter the names of the lists containing the samples.

    4. Select the tail type depending on what our alternative hypothesis is:

      • μ1​=μ2​ for different means

      • <μ2​ for first list mean smaller than second

      • >μ2​ for first list mean greater than second

    5. Set "Pooled" to true.

    6. The calculator reports the t-value and p-value, which we interpret as usual.

    Paired tests for the mean
    AHL AI 4.18

    We say that data is paired when each value in one row is tied to the value in the next row. An example of this is before and after scores for a group of students.


    Instead of comparing means using a two-sample test, we instead calculate the difference between the rows for each column, and then do a one-sample test with μ0​=0.

    <ul>
<li>Two side-by-side tables with a rightward arrow between them.</li>
<li>Left table: 3 columns labeled A, B, C under a header cell “Student”; two rows labeled “Exam 1” and “Exam 2.”
<ul>
<li>Exam 1 row: A=72, B=38, C=83.</li>
<li>Exam 2 row: A=75, B=40, C=88.</li>
</ul>
</li>
<li>Right table: same column headers (Student, A, B, C) with a single row labeled “Difference.”
<ul>
<li>Difference row: A=3, B=2, C=5.</li>
</ul>
</li>
<li>The arrow indicates a transformation from the left table to the right table by computing per-column differences.</li>
</ul>

    Two important notes:

    • H0​:d=0 and H1​ can be d=0,d<0 or d>0.

    • The assumption being made is that the differences are normally distributed, not the original values.

    Testing for population correlation: H₀ : ρ = 0 vs H₁ : ρ ≠ 0
    AHL AI 4.18

    We can test the correlation between two normally distributed populations.

    1. Enter the samples into L1​ and L2​

    2. Navigate to LinRegTTest.

    3. Select ρ=0,<0 or >0

    The calculator returns the p-value (not to be confused with ρ), as well as the coefficients y=a+bx.

    Z-test and Confidence Intervals

    4 skills
    Normal confidence interval using technology
    AHL AI 4.16

    Your calculator should include a statistical test called Zinterval or similar. To use it:

    1. Enter the value of σ, which must be known for a Z-test of any kind.

    2. Enter either

      • Data: a list of values you've typed into the calculator

      • Stats: the sample mean xˉ and n, the number of samples.

    3. Enter the confidence level and hit calculate

    The calculator returns the desired interval, which is symmetrical around xˉ.

    T-interval confidence interval using technology
    AHL AI 4.16

    Your calculator should include a statistical test called Tinterval or similar. To use it:

    1. Enter either

      • Data: a list of values you've typed into the calculator

      • Stats: the sample mean xˉ, the sample standard deviation Sx and n, the number of samples.

    2. Enter the confidence level and hit calculate

    The calculator returns the desired interval, which is symmetrical around xˉ.

    Z-Test for population mean
    AHL AI 4.18

    Z-tests allow us to test the mean of a sample against

    • a population with known mean: use Z-Test

    • another sample: use 2-SampZTest

    • a paired sample: calculate the difference, then use Z-Test with μ0​=0.

    Critical values & regions
    AHL AI 4.18

    When testing the mean of a sample against a population, the critical region is the set of values for the sample mean that would lead to rejecting the null hypothesis. The critical value(s) is (are) the boundary of the critical region. In other words, the critical value is the threshold for xˉ that leads to a p value exactly equal to the chosen significance level.

    μ<μ0​

    μ=μ0​

    μ0​<μ

    c=invNorm(p,μ,σ,LEFT)

    Powered by Desmos

    c=invNorm(1−p,μ,σ,CENTER)

    Powered by Desmos

    c=invNorm(p,μ,σ,RIGHT)

    Powered by Desmos

    Binomial & Poisson Tests

    2 skills
    Binomial test for proportion
    AHL AI 4.18

    A binomial test for proportion checks whether the number of “successes” in a sample is consistent with a hypothesized population proportion p. To find the p-value, calculate the probability of observing results at least as extreme as your sample using the binomial distribution. On the calculator, use

    • bimomcdf(n,p,k−1) for P(X≤k) and

    • 1−bimomcdf(n,p,k−1) for P(X≥k);

    for a two-tailed test, double the smaller tail probability.

    Poisson test for mean
    AHL AI 4.18

    A Poisson test for rate checks whether the number of observed events in a sample is consistent with a hypothesized mean rate λ. To find the p-value, calculate the probability of observing results at least as extreme as your sample using the Poisson distribution. On the calculator, use

    • poissoncdf(λ,k) for P(X≤k) and

    • 1−poissoncdf(λ,k−1) for P(X≥k);

    for a two-tailed test, double the smaller tail probability.