6.1. Single Population Confidence Intervals#

In statistical inference, we use sample data to estimate population parameters. This process involves point estimates, confidence intervals, and confidence levels. Let’s explore these concepts in depth.

6.1.1. Point Estimate#

In statistical inference, sample data enables us to make estimates about population parameters, with point estimates serving as a primary tool in this process.

Definition - Point Estimate

A point estimate is a single value derived from sample data that represents the best approximation of a population parameter. It provides a succinct summary of the sample and serves as a “best guess” for the corresponding population characteristic.

To further clarify the concept of point estimates, consider the following examples:

Example 6.1 (Basketball Scoring Accuracy)

../_images/basketball_scoring_img.jpeg

Fig. 6.1 Scoring in a basketball match. Image generated by Microsoft Designer.#

Scenario: A basketball coach seeks to estimate the scoring accuracy of their team.

  • Population parameter: The true proportion (\(p\)) of successful scoring attempts across the entire season for all team players.

  • Sample: The coach observes 100 scoring attempts during a practice session.

  • Point estimate: With 65 successful attempts out of 100, the point estimate (\(\widehat{p}\)) is 0.65, or 65%.

Interpretation: Based on this sample, the coach’s best estimate of the team’s overall scoring accuracy is 65%. This value serves as a point estimate for the true (but unknown) proportion of successful scoring attempts.

Example 6.2 (Urban Apartment Rent)

Scenario: A real estate analyst aims to estimate the average rent for two-bedroom apartments in a city.

  • Population parameter: The true average rent (\(\mu\)) for all two-bedroom apartments in the city.

  • Sample: The analyst collects rent data from 50 apartments listed in local newspapers.

  • Point estimate: If the sample average rent (\(\bar{x}\)) is $1177.45, this value becomes the point estimate for the population mean.

Interpretation: Based on the sample of 50 apartments, the analyst’s best estimate of the average rent for all two-bedroom apartments in the city is $1177.45. This value serves as a point estimate for the true (but unknown) population mean rent.

6.1.2. Confidence Interval#

Definition - Confidence Interval (CI)

A Confidence Interval is a range of values within which the true population parameter is likely to fall. It provides an indication of the precision of an estimate.

Example 6.3 (Confidence Interval for Basketball Scoring)

In Example 6.1, assume we calculate a 95% confidence interval for basketball scoring accuracy:

\[\begin{equation*} \text{CI: } (0.5565, 0.7435) \quad \text{or} \quad 55.65\% \text{ to } 74.35\% \end{equation*}\]

This implies we are 95% confident that the true scoring accuracy of the team lies between 55.65% and 74.35%.

The interval width reflects the precision of our estimate. A narrower interval, such as 60% to 70%, would suggest a more precise estimate.

Example 6.4 (Confidence Interval for Urban Apartment Rent)

In Example 6.2, assume we calculate a 95% confidence interval for the average rent of two-bedroom apartments:

\[\begin{equation*} \text{CI: } (\$1150.92, \$1203.99) \end{equation*}\]

This suggests that we are 95% confident that the true average rent for two-bedroom apartments in the city is between $1150.92 and $1203.99.

The width of this interval ($53.07) reflects the precision of our estimate. A narrower interval, such as $1160 to $1190, would indicate a more precise estimate.

6.1.3. Confidence Level and Significance Level#

In statistical inference, two closely related concepts are the confidence level and the significance level. Let’s explore these concepts and their relationship.

Definition - Significance Level

The significance level, denoted as \(\alpha\), is a chosen threshold that represents the acceptable probability of making an error in statistical inference. It is typically expressed as a small percentage or proportion.

Definition - Confidence Level

The confidence level, often expressed as a percentage (e.g., 95%), indicates the probability that a confidence interval contains the true population parameter. It’s denoted as \(1 - \alpha\), where \(\alpha\) is the significance level.

Fig. 6.2 illustrates the complementary relationship between confidence and significance levels in statistical inference.

../_images/conf_level_sig_level.png

Fig. 6.2 Complementary relationship between confidence level and significance level.#

Fig. 6.2 depicts three standard scenarios:

  1. 90% Confidence Level / 10% Significance Level

  2. 95% Confidence Level / 5% Significance Level

  3. 99% Confidence Level / 1% Significance Level

The following examples show how these concepts apply in practice:

Example 6.5 (Confidence Levels for Basketball Scoring Accuracy)

Referring to Example 6.3, the statement was: “We are 95% confident that the true scoring accuracy falls between 55.65% and 74.35%.”

Analysis:

  • Confidence level = 95%, or 0.95

  • Significance level (\(\alpha\)) = 1 - 0.95 = 0.05, or 5%

Interpretation:

  1. If this sampling process were repeated many times, approximately 95% of the calculated intervals would contain the true scoring accuracy.

  2. There is a 5% probability that the interval does not contain the true parameter, which we accept as a tolerable risk.

  3. While this interval provides a range within which we are reasonably confident the true accuracy lies, it does not specify an exact value.

Example 6.6 (Confidence Levels for Urban Apartment Rent)

Referring to Example 6.4, we stated: “We are 95% confident that the true average rent for two-bedroom apartments in the city is between \(1150.92 and \)1203.99.”

Analysis:

  • Confidence level = 95%, or 0.95

  • Significance level (\(\alpha\)) = 1 - 0.95 = 0.05, or 5%

Interpretation:

  1. If this sampling process were repeated many times, around 95% of the calculated intervals would contain the true average rent.

  2. There is a 5% chance that the actual average rent lies outside the calculated interval.

  3. Practically, we can be reasonably confident that the average rent is between $1151 and $1204, though we cannot determine its exact value.

6.1.4. Interpreting a Confidence Interval#

Let’s say we have a confidence interval “0.25 < \(\mu\) < 0.75 at 95% confidence level” for the population mean (\(\mu\)).

What this means:

  • We used a method that, if repeated many times, would give correct results about 95% of the time.

  • Our best guess is that the true population mean is between 0.25 and 0.75.

  • We’re not certain, but we’re pretty confident (95% confident) in this range.

What this doesn’t mean:

  • It’s not saying there’s a 95% chance the true mean is in this range for this specific sample.

  • It’s not saying the probability of \(\mu\) being in this range is 95%.

  • It’s not guaranteeing the true mean is definitely in this range.

  • It’s not saying the population mean itself has a 95% chance of being in this range.

6.1.5. Margin of Error (\(E\))#

The margin of error is a crucial concept in statistical inference, providing insight into the precision of estimates when drawing conclusions about a population based on sample data.

Definition - Margin of Error (\(E\))

The margin of error (\(E\)) quantifies the expected deviation between a sample-based estimate and the true population parameter. It defines a range around the sample statistic within which the true population value is likely to fall, given a specified confidence level.

Key characteristics of the margin of error:

  1. Single value representation: It is typically expressed as a single numerical value.

  2. Interval creation: When added to and subtracted from the sample statistic, it forms a confidence interval.

  3. Influencing factors: The magnitude of the margin of error is affected by:

    • The chosen confidence level

    • The inherent variability in the population

    • The size of the sample

  4. Precision indicator: A smaller margin of error suggests a more precise estimate, while a larger one indicates less precision.

The relationship between the margin of error and estimate precision is inverse: as the margin of error decreases, the precision of the estimate increases, and vice versa.

Fig. 6.3 visually represents the concept of margin of error in relation to a sample statistic. It illustrates how the margin of error extends symmetrically on both sides of the sample statistic, creating a range (confidence interval) within which the true population parameter is expected to lie.

../_images/margin_of_error_z_se.png

Fig. 6.3 Visualization of Margin of Error in Relation to Sample Statistic#

Understanding the margin of error is essential for interpreting statistical results and making informed decisions based on sample data. It provides a measure of the uncertainty associated with sample-based estimates and helps in assessing the reliability of statistical inferences.

6.1.6. Critical Value#

In the construction of confidence intervals, the critical value plays a pivotal role in determining the interval’s width.

Definition - Critical Value

A critical value is a specific point on a statistical distribution used to calculate the margin of error in a confidence interval. For a given confidence level, it represents the threshold value that encompasses a certain percentage of the distribution.

Critical values are typically based on two main distributions:

  1. The z-distribution (standard normal distribution)

  2. The t-distribution

This section focuses on critical values derived from the z-distribution. We will explore t-distribution critical values in Section 6.3.

For the standard normal (z) distribution:

  • The critical value is commonly denoted as \(z_{\alpha/2}\), where \(\alpha\) represents the significance level.

  • It corresponds to the z-score that leaves an area equal to the significance level in both tails of the distribution.

To illustrate, consider a 95% confidence level:

  • The significance level (\(\alpha\)) is 0.05 (1 - 0.95)

  • The critical value \(z_{0.025}\) is approximately 1.96 (this will be demonstrated in Example 6.7)

This critical value is essential in calculating the margin of error, which in turn determines the width of the confidence interval.

Understanding critical values helps us gauge the necessary width of a confidence interval to achieve a desired level of confidence. Higher confidence levels correspond to larger critical values, resulting in wider intervals. Conversely, lower confidence levels yield smaller critical values and narrower intervals.

6.1.7. Relationship Between Confidence Level and Alpha (\(\alpha\))#

The confidence level is a statistical measure that indicates the degree of certainty in an interval estimate. It is denoted by \(1 - \alpha\) and represents the probability that the confidence interval will contain the true population parameter if the estimation process is repeated with multiple random samples. Essentially, the confidence level reflects the expected accuracy of the interval estimate over the long term.

Example 6.7

Determine the critical value \(z_{\alpha/2}\) that corresponds to the given confidence levels:

  • a) 90%

  • b) 95%

  • c) 99%

Solution: To find the critical values corresponding to different confidence levels, we first determine the significance level \(\alpha\) and then calculate \(z_{\alpha/2}\) for each case. The critical value \(z_{\alpha/2}\) represents the z-score that leaves an area of \(\alpha/2\) in each tail of the standard normal distribution.

  • a) For a 90% Confidence Level:

    • The confidence level is 90%, so the significance level \(\alpha\) is calculated as follows:

      \[\begin{equation*}\alpha = 1 - 0.90 = 0.10\end{equation*}\]
    • We then divide the significance level by 2:

      \[\begin{equation*}\alpha/2 = 0.10/2 = 0.05\end{equation*}\]
    • The critical value \(z_{0.05}\) corresponds to the z-score that leaves 0.05 in the upper tail of the standard normal distribution. Using standard normal distribution tables or a calculator, we find:

      \[\begin{equation*}z_{0.05} \approx 1.645\end{equation*}\]

    Thus, for a 90% confidence level, the critical value is:

    \[\begin{equation*}z_{0.05} = 1.645\end{equation*}\]

    Fig. 6.4 illustrates a standard normal distribution curve with a shaded area representing the 90% confidence interval. The z-scores corresponding to the boundaries of this interval are -1.645 and 1.645, indicating that approximately 90% of the data falls within this range.

    ../_images/90_conf_int.png

    Fig. 6.4 90% Confidence Interval for a Standard Normal Distribution.#

  • b) For a 95% Confidence Level:

    • The confidence level is 95%, leading to the following significance level:

      \[\begin{equation*}\alpha = 1 - 0.95 = 0.05\end{equation*}\]
    • Dividing by two gives us:

      \[\begin{equation*}\alpha/2 = 0.05/2 = 0.025\end{equation*}\]
    • The critical value \(z_{0.025}\) corresponds to the z-score that leaves 0.025 in the upper tail of the standard normal distribution. Using standard normal distribution tables or a calculator, we find:

    \[\begin{equation*}z_{0.025} \approx 1.96\end{equation*}\]

    Thus, for a 95% confidence level, the critical value is:

    \[\begin{equation*}z_{0.025} = 1.96\end{equation*}\]

    Fig. 6.5 shows a standard normal distribution curve with a shaded area representing the 95% confidence interval. The z-scores at the boundaries of this interval are -1.96 and 1.96, indicating that approximately 95% of the data falls within this range.

    ../_images/95_conf_int.png

    Fig. 6.5 95% Confidence Interval for a Standard Normal Distribution.#

  • c) For a 99% Confidence Level:

    • The confidence level is set at 99%, leading to:

    \[\begin{equation*}\alpha = 1 - 0.99 = 0.01\end{equation*}\]
    • Dividing by two gives us:

    \[\begin{equation*}\alpha/2 = 0.01/2 = 0.005\end{equation*}\]
    • The critical value \(z_{0.005}\) corresponds to the z-score that leaves only 0.005 in the upper tail of the standard normal distribution. Using standard normal distribution tables or a calculator, we find:

    \[\begin{equation*}z_{0.005} \approx 2.576\end{equation*}\]

    Thus, for a 99% confidence level, the critical value is:

    \[\begin{equation*}z_{0.005} = 2.576\end{equation*}\]

    Fig. 6.6 depicts a standard normal distribution curve with a shaded area representing the 99% confidence interval. The z-scores corresponding to the boundaries of this interval are -2.576 and +2.576, indicating that approximately 99% of the data falls within this range.

    ../_images/99_conf_int.png

    Fig. 6.6 99% Confidence Interval for a Standard Normal Distribution.#

Remark

These critical values are used to determine the margins of the confidence intervals for the respective confidence levels. For instance, to construct a 95% confidence interval for a population mean, you would use the critical value of 1.96 to calculate the margin of error around your sample mean.

Table 6.1 illustrates the relationship between the confidence level, alpha (\(\alpha\)), and the critical z-value (\(z_{\alpha/2}\)):

Table 6.1 Relationship Between Confidence Level, \(\alpha\), and Critical z-Value.#

Confidence Level (1 - \(\alpha\))

\(\alpha\)

Critical Value (\(z_{\alpha/2}\))

90%

0.10

1.645

95%

0.05

1.96

99%

0.01

2.576

This table shows that as the confidence level increases, the alpha level decreases, and the critical z-value increases. This means that higher confidence levels correspond to wider confidence intervals.