统计学笔记,仅作为个人学习记录,不保证正确性。

Index

-----

Chapter 1: Defining and Collecting Data

1.1 Variables

Categorical (qualitative): a variable that can be placed into a specific category, according to some characteristic or attribute.

  • Nominal: no natural ordering of the categories
  • Ordinal: natural ordering of the categories

Numerical (quantitative): a variable that can be measured numerically.

  • Discrete: arise from a counting process
  • Continuous: arise from a measuring process

1.1.1 Measurement Scales

Interval scale: an ordered scale in which the difference between measurements is a meaningful quantity but the measurements do not have a true zero point.

Ratio scale: an ordered scale in which the difference between measurements is a meaningful quantity and the measurements have a true zero point.

1.2 Population and Sample

Population: the set of all elements of interest in a particular study.

  • contains all measurements of interest to the investigator

Sample: a subset of the population.

  • a part of the population selected for analysis

1.2.1 Parameter and Statistic

Population parameter: a numerical measure that describes an aspect of a population.

Sample statistic: a numerical measure that describes an aspect of a sample.

1.2.2 Sources of Data

Primary sources: data that are generated by the investigator conducting the study.

  • from a political survey
  • collected from an experiment
  • observed data

Secondary sources: data that were produced by someone other than the investigator conducting the study.

  • analyzing census data
  • examining data from print journals or data published on the Internet

1.2.3 Probability Sample

In a probability sample, items in the sample are chosen on the basis of known probabilities.

  • Simple random sample: every individual or item from the frame has an equal chance of being selected
  • Systematic sample: the items are selected according to a specified time or item interval in the sampling frame
    • divide frame of NN individuals into groups of kk individuals: k=Nnk=\frac{N}{n}
  • Stratified sample: divide population into two or more subgroups (strata) according to some characteristic that is important to the study
  • Cluster sample: population is divided into several "clusters" or sections, then some of those clusters are randomly selected and all members of the selected clusters are used as the sample
-----

Chapter 2: Organizing and Visualizing Variables

2.1 Organizing Categorical Data

  • Summary table: tallies the frequencies or percentages of items in a set of categories so that you can see differences between categories
  • Contingency table: a table that classifies sample observations according to two or more identifiable categories so that the relationship between the categories can be studied

2.2 Organizing Numerical Data

  • Ordered array: a sequence of data, in rank order, from the smallest value to the largest value.
  • Frequency distribution: a summary table in which the data are arranged into numerically ordered classes

2.3 Visualizing Categorical Data

  • Bar chart: visualizes a categorical variable as a series of bars
  • Pie chart: a circle broken up into slices that represent categories
  • Doughnut chart: the outer part of a circle broken up into pieces that represent categories
  • Pareto chart: a vertical bar chart, where categories are shown in descending order of frequency
  • Side by side bar chart: a bar chart that compares two or more categories
  • Doughnut chart (contingency): a doughnut chart that compares two or more categories

2.4 Visualizing Numerical Data

  • Stem-and-leaf display: a simple way to see how the data are distributed and where concentrations of data exist
  • Histogram: a vertical bar chart of the data in a frequency distribution
  • Percentage polygon: formed by having the midpoint of each class represent the data in that class and then connecting the sequence Of midpoints at their respective class percentages

2.4.1 Visualing Two Numerical Variables

  • Scatter plot: used for numerical data consisting of paired observations taken from two numerical variables
  • Time series plot: used to study patterns in the values of a numeric variable over time
-----

Chapter 3: Numerical Descriptive Measures

Central tendency: the extent or inclination to which the values of a numerical variable group or cluster around a typical or central value.

3.1 Measures of Central Tendency

Measure of central tendency: a single value that attempts to describe a set of data by identifying the central position within that set of data.

3.1.1 Mean

Xˉ=i=1nXin=X1+X2++Xnn\bar{X} = \frac{\sum_{i=1}^{n} X_i}{n} = \frac{X_1 + X_2 + \cdots + X_n}{n}

  • Xˉ\bar{X} -> sample mean; pronounced "X-bar"
  • nn -> sample size
  • XiX_i -> the iith value in the sample
  • XnX_n -> the observed values

3.1.2 Median

  1. Sample size is odd:

Median=x+12thposition\text{Median} = \frac{x+1}{2}^{th} \text{position}

  1. Sample size is even:

Median=n2thandn2+1thpositions\text{Median} = \frac{n}{2}^{th} \text{and} \frac{n}{2} + 1^{th} \text{positions}

3.1.3 Mode

Mode: the value that occurs most frequently in a data set.

3.2 Measures of Variation

Measure of variation: gives information on the spread or variability or dispersion of the data values.

3.2.1 Range

Range=MaximumMinimum\text{Range} = \text{Maximum} - \text{Minimum}

3.2.2 Sample Variation

Sample variance: average of squared deviations of values from the mean.

S2=i=1n(XiXˉ)2n1S^2 = \frac{\sum_{i=1}^{n} (X_i - \bar{X})^2}{n-1}

  • xˉ\bar{x} -> arithmetic mean
  • nn -> sample size
  • XiX_i -> the iith value in the sample

3.2.3 Sample Standard Deviation

S=i=1n(XiXˉ)2n1S = \sqrt{\frac{\sum_{i=1}^{n} (X_i - \bar{X})^2}{n-1}}

3.2.4 Coefficient of Variation

CV=SXˉ×100%CV = \frac{S}{\bar{X}} \times 100\%

3.2.5 Z-Score

Z-Score: the number of standard deviations that a given value XX is above or below the mean.

  • a data value is considered an extreme outlier if its Z-Score is less than -3 or greater than +3

Z=XXˉSZ = \frac{X - \bar{X}}{S}

3.3 Shape of a Distribution

3.3.1 Skewness

Skewness: a measure of the degree of asymmetry of a distribution.

3.3.2 Kurtosis

Kurtosis: a measure of the degree of peakedness of a distribution.

3.4 Quartile Measures

Quartile: a value that divides a data set into four groups containing (as far as possible) an equal number of observations.

  • Q1Q_1 -> first quartile
  • Q2Q_2 -> second quartile; the median
  • Q3Q_3 -> third quartile

3.4.1 Locating Quartiles

  1. Q1=n+14Q_1 = \frac{n+1}{4} ranked value
  2. Q2=n+12Q_2 = \frac{n+1}{2} ranked value
  3. Q3=3(n+1)4Q_3 = \frac{3(n+1)}{4} ranked value
  • nn -> the number of observed values

3.4.2 Interquartile Range

Interquartile range: the difference between the third and first quartiles.

IQR=Q3Q1IQR = Q_3 - Q_1

3.5 Five Number Summary

Five number summary: the five numbers that help describe the center, spread and shape of data.

  • minimum\text{minimum}
  • Q1Q_1
  • Q2Q_2 / Median
  • Q3Q_3
  • maximum\text{maximum}

3.5.1 Relationships Among the Five Number Summary and Distribution Shape

Left-Skewed Symmetric Right-Skewed
Medianminimum>maximumMedianMedian - \text{minimum} > \text{maximum} - Median MedianminimummaximumMedianMedian - \text{minimum} \approx \text{maximum} - Median Medianminimum<maximumMedianMedian - \text{minimum} < \text{maximum} - Median
Q1minimum>maximumQ3Q_1 - \text{minimum} > \text{maximum} - Q_3 Q1minimummaximumQ3Q_1 - \text{minimum} \approx \text{maximum} - Q_3 Q1minimum<maximumQ3Q_1 - \text{minimum} < \text{maximum} - Q_3
MedianQ1>Q2MedianMedian - Q_1 > Q_2 - Median MedianQ1Q2MedianMedian - Q_1 \approx Q_2 - Median MedianQ1Q2MedianMedian - Q_1 \approx Q_2 - Median

3.5.2 Boxplot

Boxplot: a graphical display of the five number summary.

3.6 Numerical Descriptive Measures for Populations

3.6.1 Population Mean

μ=i=1NXiN\mu = \frac{\sum_{i=1}^{N} X_i}{N}

  • μ\mu -> population mean
  • NN -> population size
  • XiX_i -> the iith value in the population

3.6.2 Population Variance

σ2=i=1N(Xiμ)2N\sigma^2 = \frac{\sum_{i=1}^{N} (X_i - \mu)^2}{N}

3.6.3 Population Standard Deviation

σ=i=1N(Xiμ)2N\sigma = \sqrt{\frac{\sum_{i=1}^{N} (X_i - \mu)^2}{N}}

3.7 Empirical Rule

Empirical rule: approximates the variation of data in a symmetric mound-shaped distribution.

  • 68% of the data values lie within one standard deviation of the mean
  • 95% of the data values lie within two standard deviations of the mean
  • 99.7% of the data values lie within three standard deviations of the mean

3.8 Chebyshev's Rule

Chebyshev's rule: applies to any data set, regardless of the shape of the distribution.

  • at least 11k21-\frac{1}{k^2} of the data values lie within kk standard deviations of the mean, where kk is any value greater than 1

3.9 Covariance

Covariance: a measure of the linear association between two variables.

Cov(X,Y)=i=1n(XiXˉ)(YiYˉ)n1Cov(X,Y) = \frac{\sum_{i=1}^{n} (X_i - \bar{X})(Y_i - \bar{Y})}{n-1}

  • Cov(X,Y)>0Cov(X,Y) > 0 -> positive covariance; as XX increases, YY increases
  • Cov(X,Y)<0Cov(X,Y) < 0 -> negative covariance; as XX increases, YY decreases
  • Cov(X,Y)=0Cov(X,Y) = 0 -> no linear relationship between XX and YY

3.10 Correlation Coefficient

Correlation coefficient: a measure of the linear association between two variables.

r=Cov(X,Y)SXSYr = \frac{Cov(X,Y)}{S_X S_Y}

  • Cov(X,Y)=i=1n(XiXˉ)(YiYˉ)n1Cov(X,Y) = \frac{\sum_{i=1}^{n} (X_i - \bar{X})(Y_i - \bar{Y})}{n-1}
  • SX=i=1n(XiXˉ)2n1S_X = \sqrt{\frac{\sum_{i=1}^{n} (X_i - \bar{X})^2}{n-1}}
  • SY=i=1n(YiYˉ)2n1S_Y = \sqrt{\frac{\sum_{i=1}^{n} (Y_i - \bar{Y})^2}{n-1}}

3.10.1 Features of the Correlation Coefficient

The population coefficient of correlation, ρ\rho, is a measure of the linear association between two variables.

The sample coefficient of correlation, rr, is a measure of the linear association between two variables.

3.11 Pitfalls in Numerical Descriptive Measures

  • Data analysis is objective
  • Data interpretation is subjective
-----

Chapter 4: Basic Probability

Sample space: the set of all possible outcomes of an experiment.

4.1 Events

Simple event: an event described by a single characteristic or an event that is a set of outcomes of an experiment.

Joint event: an event described by two or more characteristics.

Complement of an event A:

  • all events that are not part of event A

4.2 Probability

Probability: the numerical value representing the chance, likelihood, or possibility that a certain event will occur.

  • always between 0 and 1

Impossible event: an event that has no chance of occurring.

Certain event: an event that is sure to occur.

Mutually exclusive events: events that cannot occur at the same time.

Collectively exhaustive events: the set of events that covers the entire sample space.

  • one of the events must occur

4.2.1 Three Approaches to Assigning Probability

A priori probability: a probability assignment based upon prior knowledge of the process involved.

  • P(A)=number of outcomes in Atotal number of outcomesP(A) = \frac{\text{number of outcomes in A}}{\text{total number of outcomes}}
  • Example: randomly selecting a day from the year 2019. What is the probability that the day is in January?
    • P(January)=31365P(\text{January}) = \frac{31}{365}

Empirical probability: a probability assignment based upon observations obtained from probability experiments.

  • P(A)=number of times A occursnumber of times the experiment is repeatedP(A) = \frac{\text{number of times A occurs}}{\text{number of times the experiment is repeated}}
  • Example: P(male taking stats)=number of males taking statstotal number of peopleP(\text{male taking stats}) = \frac{\text{number of males taking stats}}{\text{total number of people}}

Subjective probability: a probability assignment based upon judgment.

  • P(A)=degree of belief that A will occurdegree of belief that A will occur+degree of belief that A will not occurP(A) = \frac{\text{degree of belief that A will occur}}{\text{degree of belief that A will occur} + \text{degree of belief that A will not occur}}
  • differs from person to person

4.2.2 Simple Probability

Simple probability: the probability of a single event occurring.

P(A)=number of outcomes satisfying Atotal number of outcomesP(A) = \frac{\text{number of outcomes satisfying A}}{\text{total number of outcomes}}

4.2.3 Joint Probability

Joint probability: the probability of two or more events occurring simultaneously.

P(AB)=number of outcomes satisfying A and Btotal number of outcomesP(A \cap B) = \frac{\text{number of outcomes satisfying A and B}}{\text{total number of outcomes}}

4.2.4 Marginal Probability

Marginal probability: the probability of a single event occurring without regard to any other event.

P(A)=number of outcomes satisfying Atotal number of outcomes=P(AB)+P(ABc)P(A) = \frac{\text{number of outcomes satisfying A}}{\text{total number of outcomes}} = P(A \cap B) + P(A \cap B^c)

BB BcB^c Total
AA P(AB)P(A \cap B) P(ABc)P(A \cap B^c) P(A)P(A)
AcA^c P(AcB)P(A^c \cap B) P(AcBc)P(A^c \cap B^c) P(Ac)P(A^c)
Total P(B)P(B) P(Bc)P(B^c) 1
  • P(AB)P(A \cap B) and P(ABc)P(A \cap B^c) are joint probabilities
  • P(Ac)P(A^c) and P(Bc)P(B^c) are marginal probabilities

4.2.5 General Addition Rule

General addition rule: the probability of the union of two events is the sum of the probabilities of the two events minus the probability of their intersection.

P(AB)=P(A)+P(B)P(AB)P(A \cup B) = P(A) + P(B) - P(A \cap B)

If AA and BB are mutually exclusive, then P(AB)=0P(A \cap B) = 0. Therefore, the general addition rule becomes:

P(AB)=P(A)+P(B)P(A \cup B) = P(A) + P(B)

4.2.6 Conditional Probability

Conditional probability: the probability of an event occurring given that another event has already occurred.

  1. The condition probability of AA given that BB has occured:

P(AB)=P(AB)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

  1. The condition probability of BB given that AA has occured:

P(BA)=P(AB)P(A)P(B|A) = \frac{P(A \cap B)}{P(A)}

  • where P(AB)P(A \cap B) is the joint probability of AA and BB
    • P(A)P(A) -> marginal probability of AA
    • P(B)P(B) -> marginal probability of BB

4.2.7 Independent Events

Independent events: two events are independent if the occurrence of one event does not affect the probability of the occurrence of the other event.

P(AB)=P(A) ; P(BA)=P(B)P(A|B) = P(A) \space \text{;} \space P(B|A) = P(B)

  • events AA and BB are independent when the probability of one event is not affects by the fact that the other event has occurred

4.2.8 Multiplication Rule

Multiplication rule: the probability of the intersection of two events is the product of the probability of the first event and the conditional probability of the second event given that the first event has occurred.

P(AB)=P(A)×P(BA)P(A \cap B) = P(A) \times P(B|A)

P(AB)=P(AB)P(B)=P(A)×P(BA)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)} = \frac{P(A) \times P(B|A)}{P(B)}

If AA and BB are independent, then P(BA)=P(B)P(B|A) = P(B), and the multiplication rule becomes:

P(AB)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)

-----

Chapter 5: Discrete Probability Distributions

Probability distribution: a listing of all the outcomes of an experiment and the probability associated with each outcome.

5.1 Expected Value

Expected value: the mean of a probability distribution -> μ\mu.

μ=i=1nxiP(xi)\mu = \sum_{i=1}^{n} x_i P(x_i)

  • xix_i -> the iith value in the probability distribution
  • P(xi)P(x_i) -> the probability associated with the iith value in the probability distribution
  • nn -> the number of values in the probability distribution
  • μ\mu -> the expected value

5.2 Variance and Standard Deviation

Variance: the average of the squared deviations of the possible values from the expected value.

σ2=i=1n(xiμ)2P(xi)\sigma^2 = \sum_{i=1}^{n} (x_i - \mu)^2 P(x_i)

  • xix_i -> the iith value in the probability distribution
  • P(xi)P(x_i) -> the probability associated with the iith value in the probability distribution
  • nn -> the number of values in the probability distribution

Standard deviation: the square root of the variance.

-----

Chapter 6: The Normal Distribution

6.1 Continuous Probability Distributions

Continuous variable: a variable that can assume any value on a continuum (can assume an uncountable number of values)

For example, the thickness of an item, the time required to complete a task.

6.2 Normal Distribution

Normal Distribution:

  • bell shaped
  • symmetrical
  • mean, median and mode are equal

The location is determined by the mean, μ\mu, and the spread is determined by the standard deviation, σ\sigma.

The random variable has an infinite theoretical range: (,)(-\infty, \infty).

6.2.1 Density Function

Probability density function: a function whose integral is calculated to find probabilities associated with a continuous random variable.

f(x)=1σ2πe12(xμσ)2f(x) = \frac{1}{\sigma \sqrt{2\pi}} e^{-\frac{1}{2}(\frac{x-\mu}{\sigma})^2}

  • ee -> the mathematical constant approximately equal to 2.71828
  • π\pi -> the mathematical constant approximately equal to 3.14159
  • μ\mu -> the mean of the distribution
  • σ\sigma -> the standard deviation of the distribution
  • xx -> the value of the continuous variable

6.2.2 Standardized Normal

Standardized normal distribution: a normal distribution with a mean of 0 and a standard deviation of 1.

z=xμσz = \frac{x-\mu}{\sigma}

Its density function is:

f(z)=12πe12z2f(z) = \frac{1}{\sqrt{2\pi}} e^{-\frac{1}{2}z^2}

  • ee -> the mathematical constant approximately equal to 2.71828
  • π\pi -> the mathematical constant approximately equal to 3.14159
  • zz -> the standardized value of the continuous variable

6.2.3 Normal Probabilities

Probability is measured by the area under the curve.

Uniform Distribution: a continuous probability distribution in which the probability of observing a value x in any interval of equal length is the same for each interval of the same length. Also known as rectangular distribution.

Exponential Distribution: a continuous probability distribution that is used to describe the time between events that occur at a constant average rate and are independent of each other. The exponential distribution is skewed to the right.

-----

Chapter 7: Sampling Distributions

Sampling distribution: a distribution of all of the possible values of a sample statistic for a given sample size selected from a population.

Xˉ=i=1nXin\bar{X} = \frac{\sum_{i=1}^{n} X_i}{n}

Assume there is a population:

  • population size N=4N=4
  • variable of interest is, XX, age of individuals
  • values of XX: 18,20,22,2418, 20, 22, 24 (years)

μ=18+20+22+244=21\mu = \frac{18+20+22+24}{4} = 21

σ=i=1n(Xiμ)2N=2.236\sigma = \sqrt{\frac{\sum^n_{i=1}(X_i-\mu)^2}{N}} = 2.236

7.1 Sample Mean Sampling Distribution

7.1.1 Standard Error of the Mean

Standard error of the mean: the standard deviation of the sampling distribution of the sample mean.

σXˉ=σn\sigma_{\bar{X}} = \frac{\sigma}{\sqrt{n}}

7.1.2 Z-Value for Sampling Distribution of Mean

Z=XˉμσXˉ=XˉμσnZ = \frac{\bar{X}-\mu}{\sigma_{\bar{X}}} = \frac{\bar{X}-\mu}{\frac{\sigma}{\sqrt{n}}}

  • Xˉ\bar{X} -> sample mean
  • μ\mu -> population mean
  • σXˉ\sigma_{\bar{X}} -> standard error of the mean

7.1.3 Sampling Distribution Properties

  • The mean of the sampling distribution of the sample mean is equal to the mean of the population
  • As nn increases, the standard error of the mean (σXˉ\sigma_{\bar{X}}) decreases

μXˉ=μ\mu_{\bar{X}} = \mu

7.1.4 Central Limit Theorem

Central limit theorem: the sampling distribution of the sample mean is approximately normal for a sufficiently large sample size.

  • as the sample size gets large enough, the sampling distribution of the sample mean becomes almost normal regardless of shape of population

Central limit theorem is used when the population is not normal.

How large is large enough?

  • for most distributions, n>30n \gt 30 is sufficient
  • for fairly symmetric distributions, n>15n \gt 15 is sufficient
  • for a normal population distribution, the sampling distribution of the sample mean is always normally distributed

7.2 Population Proportions

π\pi: the proportion of the population having some characteristic.

Sample proportion (pp): provides an estimate of π\pi:

p=number of items in the population having the characteristictotal number of items in the populationp = \frac{\text{number of items in the population having the characteristic}}{\text{total number of items in the population}}

  • 0p10 \leq p \leq 1
  • pp is approximately distributed as a normal distribution when nn is large

7.2.1 Sampling Distribution of the Sample Proportion

σp=π(1π)n\sigma_p = \sqrt{\frac{\pi(1-\pi)}{n}}

  • π\pi -> population proportion
  • nn -> sample size
  • σp\sigma_p -> standard error of the sample proportion
  • pp -> sample proportion

7.2.2 Z-Value for Proportions

Z=pπσp=pππ(1π)nZ = \frac{p-\pi}{\sigma_p} = \frac{p-\pi}{\sqrt{\frac{\pi(1-\pi)}{n}}}

-----

Chapter 8: Confidence Interval Estimation

8.1 Point and Interval Estimates

Point estimate: a single number.

Confidence interval: a set of two plausible values at a specified confidence level that contains true parameter.

8.2 Confidence Intervals

Interval estimate: provides more information about a population characteristic than does a point estimate -> confidence intervals.

-----

Chapter 9: Fundamentals of Hypothesis Testing: One-Sample Tests

Hypothesis: a claim or assertion about a population parameter.

Example:
The mean diameter of a manufactured bolt is 3030mm -> H0:μ=30H_0:\mu=30

9.1 The Null Hypothesis

  • begin with the assumption that the null hypothesis is true
  • similar to the notion of innocent until proven guilty
  • represents the current belief in a situation
  • always contains ==, or \leq, or \geq sign
  • may or may not be rejected

9.2 The Alternative Hypothesis

  • is the opposite of the null hypothesis
  • the mean diameter of a manufactured bolt is not equal to 3030mm
  • challenges the status quo
  • never contains the ==, or \leq, or \geq sign
  • may or may not be proven
  • is generally the hypothesis that the researcher is trying to prove

9.3 The Hypothesis Testing Process

The population mean age is 5050.

  • H0:μ=50H_0: \mu = 50
  • H1:μ50H_1: \mu \neq 50

Suppose the sample mean age was Xˉ=20\bar{X} = 20.
This is lower than the claimed mean population age of 5050.

If the null hypothesis were true, the probability of getting such a different sample mean would be very small, so you reject the null hypothesis.

In other words, getting a sample mean of 2020 is so unlikely if the population mean was 5050, you conclude that the population mean must not be 5050.

9.3.1 The Test Statistic and Critical Values

If the sample mean is close to the stated population mean, the null hypothesis is not rejected.

If the sample mean is far from the stated population mean, the null hypothesis is rejected.

How far is "far enough" to reject H0H_0?

The critical value of a test statistic creates a "line in the sand" for decision making -- it answers the question of how far is far enough.

9.3.2 Risks in Decision Making Using Hypothesis Testing

  • Type I error: rejecting the null hypothesis when it is true
    • a "false alarm"
    • the probability of a Type I Error is α\alpha
      • called level of significance of the test
      • set by researcher in advance
  • Type II error: failing to reject the null hypothesis when it is false
    • a "missed opportunity"
    • the probability of a Type II Error is β\beta

  • the confidence coefficient is (1α)(1-\alpha): the probability of not rejecting H0H_0 when it is true
  • the confidence level of a hypothesis test is (1α)×100%(1-\alpha)\times 100 \%
  • the power of a statistical test (1β)(1-\beta) is the probability of rejecting H0H_0 when it is false

Type I and Type II errors cannot happen at the same time.

  • A Type I error can only occur if H0H_0 is true
  • A Type II error can only occur if H0H_0 is false

Factors affecting Type II Error:
All else equal ...

  • β\beta \uparrow when the difference between hypothesized parameter and its true value \downarrow
  • β\beta \uparrow when α\alpha \downarrow
  • β\beta \uparrow when σ\sigma \uparrow
  • β\beta \uparrow when nn \downarrow

9.3.3 Level of Significance and the Rejection Region

H0:μ=30H_0: \mu = 30
H1:μ30H_1: \mu \neq 30
Level of significance = α\alpha

This is a two-tail test because there is a rejection region in both tails.

9.4 Hypothesis Tests for the Mean

9.4.1 Z Test of Hypothesis for the Mean

Convert sample statistic (Xˉ\bar{X}) to a ZSTATZ_{\text{STAT}} test statistic.

For a two-tail test for the mean, σ\sigma known:

  • determine the critical ZZ values for a specified level of significance α\alpha from a table or by using computer software
    Decision rule: if the test statistic falls in the rejection region, reject H0H_0 otherwise do not reject H0H_0

-----

Chapter 10: Two-Sample Tests and One-Way ANOVA

10.1 Two-Sample Tests

10.1.1 Difference Between Two Means

To test hypothesis or form a confidence interval for the difference between two population means, μ1μ2\mu_1 - \mu_2.

The point estimate for the difference is:
Xˉ1Xˉ2\bar{X}_1 - \bar{X}_2