Learning Objectives

By the end of this note, you will choose $z$ for a single mean when $\sigma$ is known or $n\ge 30$, compute $z=(\bar{x}-\mu_{0})/(\sigma/\sqrt{n})$, apply the six step procedure with critical values and $p$ values, and decide on a charter or budget claim with a BS 2081 Nepal example.

Why Test a Single Mean With $z$

A ministry claims mean monthly social security allowance delivery time is $7$ days. A Palika reports mean citizen service time is $20$ minutes. A revenue section claims mean monthly collection per ward is NPR 420000. Each claim states a population mean $\mu_{0}$. You collect one sample mean $\bar{x}$. The gap $\bar{x}-\mu_{0}$ always appears. The test asks whether that gap exceeds sampling noise measured by standard error.

Use $z$ when normal approximation for $\bar{X}$ holds and $\sigma$ is known or well estimated from a large sample. Then

\[\bar{X}\sim N(\mu,\sigma^{2}/n)\quad\text{or by CLT when }n\ge 30\text{ and }\sigma\text{ estimated by }s\]

Standardize under $H_{0}$ and read tail probability from the standard normal table.

Grouped Framework: Conditions, Statistic, and Decision

Condition 1: Single mean question. The claim concerns one $\mu$, not a difference or a proportion. Examples: $\mu=25$ days, $\mu=30000$ NPR, $\mu=45$ minutes.

Condition 2: Large sample or known $\sigma$. Apply $z$ when $\sigma$ is known from a long administrative log, or when $n\ge 30$ and you substitute $s$ for $\sigma$. If $n<30$ and $\sigma$ is unknown and the population is not normal, use $t$ with $\text{df}=n-1$.

Condition 3: Random sample and approximate normality of $\bar{X}$. Check random selection and absence of strong dependence. For large $n$, CLT supports normal use for skewed incomes or waiting times. For small $n$ with skew, $z$ misstates the tail.

Hypotheses.

\[H_{0}:\mu=\mu_{0}\quad\text{vs}\quad H_{1}:\mu\neq\mu_{0}\text{ or }\mu>\mu_{0}\text{ or }\mu<\mu_{0}\]

Let $H_{1}$ follow question wording: different or changed gives two tails, greater or above gives right tail, less or below gives left tail.

Test statistic under $H_{0}$. Measure distance in standard error units.

\[z=\frac{\bar{x}-\mu_{0}}{\sigma/\sqrt{n}}\]

When $\sigma$ is unknown but $n\ge 30$, substitute $s$:

\[z=\frac{\bar{x}-\mu_{0}}{s/\sqrt{n}}\]
Denominator $\sigma/\sqrt{n}$ is SE of $\bar{X}$. A $ z $ near $0$ signals consistency with $\mu_{0}$. A large $ z $ signals inconsistency.

Rejection regions at $\alpha=0.05$ and $0.01$.

$H_{1}$ Region for $z$ Critical at $0.05$ Critical at $0.01$    
$\neq$ $ z >z_{\alpha/2}$ $\pm 1.96$ $\pm 2.576$
$>$ $z>z_{\alpha}$ $+1.645$ $+2.33$    
$<$ $z< -z_{\alpha}$ $-1.645$ $-2.33$    

For $\alpha=0.10$, use $\pm 1.645$ two tailed or $\pm 1.28$ one tailed.

$p$ value counterparts.

  • Two tailed: $p=2P(Z> z )$
  • Right tailed: $p=P(Z>z)$
  • Left tailed: $p=P(Z<z)$

Reject $H_{0}$ when $p<\alpha$ or equivalently when $z$ falls in the region above.

Effect size alongside decision. Report $\bar{x}-\mu_{0}$ in original units and, when helpful, a confidence interval for $\mu$. A statistically significant $z$ with a tiny NPR or minute gap may lack practical import.

Worked Example: Ward Revenue Claim in BS 2081

Context. Pokhara Metropolitan City, Ward 18, claims mean monthly internal revenue per ward office equals $\mu_{0}=\text{NPR } 425000$ in FY 2081/82. The finance section audits the claim after Kartik 2081 because two wards reported lower collections. An independent random sample of $n=64$ ward month records from Shrawan to Kartik shows $\bar{x}=\text{NPR } 445000$ with known $\sigma=\text{NPR } 90000$ from the BS 2080 ledger. Test whether the true mean differs from NPR 425000 at $\alpha=0.05$ two sided. Also report the $p$ value and the practical gap.

Step 1: State hypotheses and tail. The question asks whether the mean differs, so

\[H_{0}:\mu=425000\quad\text{vs}\quad H_{1}:\mu\neq 425000\]

Two tailed. $H_{0}$ carries equality.

Step 2: Fix $\alpha$ and critical values. $\alpha=0.05$ two tailed gives $z_{\alpha/2}=\pm 1.96$.

Step 3: Compute SE and $z$.

\[\text{SE}=\sigma/\sqrt{n}=90000/\sqrt{64}=90000/8=11250\] \[z=\frac{445000-425000}{11250}=\frac{20000}{11250}\approx 1.78\]

Step 4: Compute $p$ value.

\[p=2P(Z>1.78)=2(1-0.9625)=2(0.0375)=0.075\]
Step 5: Decide by both methods. Compare $ z =1.78$ to $1.96$. Since $1.78<1.96$, $z$ stays outside the rejection region. Since $p=0.075\ge 0.05$, fail to reject $H_{0}$. Both methods agree.

Step 6: Conclude with effect. At 5 percent significance, the audit finds insufficient evidence that mean monthly revenue differs from NPR 425000. The point gap is NPR 20000 above claim, about 4.7 percent. A 95 percent confidence interval helps readers see precision:

\[\bar{x}\pm 1.96(\text{SE}) = 445000\pm 1.96(11250)=445000\pm 22050=(422950,467050)\]

The interval covers $\mu_{0}=425000$, which matches the fail to reject decision. For policy, the finance section treats the NPR 20000 gap as not established and requests continued monitoring rather than revising the FY 2081/82 forecast.

Note on one sided reading. Had the audit asked whether revenue exceeds the claim, $H_{1}:\mu>425000$ would be right tailed with critical $1.645$ and $p=P(Z>1.78)=0.0375$. That $p<0.05$ would cross the threshold. This contrast shows why you fix direction before seeing $\bar{x}$.

Self-check

Try this (calculable): In Mangsir 2081, Biratnagar Metropolitan City tests whether mean service time at a ward counter is less than the charter $\mu_{0}=30$ minutes. Random sample $n=49$, $\bar{x}=27$ minutes, $s=14$ minutes, $\alpha=0.05$.

(a) State $H_{0}$, $H_{1}$, and tail type. (b) Compute $\text{SE}=s/\sqrt{n}$ and $z=(\bar{x}-\mu_{0})/\text{SE}$. (c) Find critical $z_{\alpha}$ and $p=P(Z<z)$. Decide by both methods and report the gap in minutes.

Answer: (a) $H_{0}:\mu=30$, $H_{1}:\mu<30$, left tailed. (b) $\text{SE}=14/\sqrt{49}=2$, $z=(27-30)/2=-1.5$. (c) Critical $-1.645$, $p=P(Z<-1.5)=0.0668$. Since $-1.5>-1.645$ and $p=0.0668\ge 0.05$, fail to reject $H_{0}$. Insufficient evidence that mean time is below $30$ minutes. Estimated improvement is $3$ minutes. At $\alpha=0.10$, critical $-1.28$ would flip the decision, so report sensitivity to $\alpha$.

Check: double the sample to $n=100$ with same $s$ and gap and verify $z\approx -2.14$, $p\approx 0.016$, which would reject, showing how $n$ tightens SE.

Summary

Use the large sample $z$ test for a single mean when $\sigma$ is known or $n\ge 30$ and $\bar{X}$ is approximately normal. Compute $z=(\bar{x}-\mu_{0})/(\sigma/\sqrt{n})$ or with $s$ in place of $\sigma$, compare $ z $ to $z_{\alpha/2}$ or $z_{\alpha}$ or compare $p$ to $\alpha$, and write fail to reject or reject with the same conclusion from either method. Always pair the decision with the estimated gap and, when useful, the confidence interval $\bar{x}\pm z^{*}\text{SE}$ to separate statistical from practical significance in NPR or minutes.

Key Takeaways

  • Verify three conditions before $z$: single mean question, $\sigma$ known or $n\ge 30$ with $s$, and random sample with CLT support for $\bar{X}$.
  • Standardize by SE, not by $\sigma$. Compute $\text{SE}=\sigma/\sqrt{n}$ or $s/\sqrt{n}$ and then $z=(\bar{x}-\mu_{0})/\text{SE}$.
  • Assign tail from $H_{1}$ before calculation: $\neq$ uses $\pm z_{\alpha/2}$, $>$ uses $+z_{\alpha}$, $<$ uses $-z_{\alpha}$.
  • Decide consistently: reject when $ z >z_{\alpha/2}$ two tailed or $z>z_{\alpha}$ or $z< -z_{\alpha}$ one tailed, equivalently when $p<\alpha$.
  • Report the point difference and the interval. A significant $z$ with a trivial NPR gap does not automatically justify a policy change.

Discussion

  • A ward with $n=20$, skewed collection data, and unknown $\sigma$ reports $z=2.1$ for $\mu_{0}=425000$ and rejects $H_{0}$. What assumption fails, and how does using $t_{19}$ change the threshold?
  • Why does substituting $s$ for $\sigma$ without requiring $n\ge 30$ understate uncertainty, and what happens to tail risk if the population is heavy tailed?
  • An audit claims proof that $\mu=425000$ because $p=0.075$. How would you correct the language to fail to reject and explain why proof requires a different framework?

Exercises

  1. Charter claims $\mu=25$ days for permit processing. Sample $n=100$, $\bar{x}=27$, $\sigma=10$, $\alpha=0.05$ two tailed. Compute $z$, $p=2P(Z>z)$, critical values, decision, and gap in days.
  2. Test $\mu=35000$ NPR mean allowance against $n=81$, $\bar{x}=36500$, $s=9000$, $\alpha=0.05$ two tailed. Use $s$ for $\sigma$, give SE, $z$, $p$, and 95 percent CI.
  3. Right tailed test of $\mu=80$ units with $n=64$, $\bar{x}=84$, $s=16$, $\alpha=0.05$. Compute $z$, critical $1.645$, $p$, decision, and sensitivity at $\alpha=0.01$ with $2.33$.
  4. Left tailed hospital wait test $\mu_{0}=30$ minutes, $n=49$, $\bar{x}=27$, $s=14$, $\alpha=0.01$. Show why the same $-1.5$ fails to reject at $0.01$ with critical $-2.33$ but would reject at $0.10$ with $-1.28$.
  5. Explain why $z=(\bar{x}-\mu_{0})/(\sigma/\sqrt{n})$ grows with $\sqrt{n}$ for a fixed raw gap, and illustrate with gap $2$ units, $\sigma=10$, $n=25$ versus $n=100$.