5.3 Engineering Data Analysis II — Confidence Intervals, Hypothesis Testing & Regression
Key Takeaways
Use the z distribution when σ is known or n > 30; use the t distribution with (n − 1) degrees of freedom when σ is unknown and the sample is small.
A 95% confidence interval for a mean is x̄ ± 1.96·(σ/√n) when σ is known; the margin of error shrinks with √n, so quadrupling the sample halves the error.
Reject the null hypothesis when the p-value is less than the significance level α, or equivalently when the test statistic falls in the rejection region.
Type I error (α) is rejecting a true null hypothesis; Type II error (β) is failing to reject a false one. Test power equals 1 − β.
The least-squares slope is b = [nΣxy − ΣxΣy]/[nΣx² − (Σx)²], and the coefficient of determination r² gives the fraction of variation explained by the fitted line.
5.3 Engineering Data Analysis II — Confidence Intervals, Hypothesis Testing & Regression
The second half of the PRC Enhanced TOS Engineering Data Analysis topic moves from describing a data set to drawing defensible conclusions from it. These are the tools behind load-forecasting studies, meter-accuracy audits, insulation-test acceptance decisions and reliability benchmarking under the Philippine Distribution Code.
1. Sampling Distributions & the Central Limit Theorem
If repeated samples of size are drawn from a population with mean and standard deviation , the sample means themselves form a distribution with
The quantity is the standard error of the mean. The Central Limit Theorem states that for sufficiently large (conventionally ) the distribution of is approximately normal regardless of the shape of the parent population. This is why normal-based methods work on decidedly non-normal quantities such as outage durations.
Note the : to halve the standard error you must quadruple the sample size.
2. Confidence Intervals
When is known (or )
When is unknown and is small
| Confidence level | |
|---|---|
The distribution is wider than the normal, converging to it as . Choosing when the problem states "sample standard deviation" and is small is a graded error.
3. Hypothesis Testing
A hypothesis test compares a null hypothesis (the status quo — "the meters meet the accuracy class") against an alternative .
Test statistic for a mean
Decision rule
Reject when the test statistic falls in the rejection region, equivalently when .
The two error types
| actually true | actually false | |
|---|---|---|
| Reject | Type I error, probability | Correct decision, probability (power) |
| Fail to reject | Correct decision, probability | Type II error, probability |
In electrical acceptance testing, a Type I error rejects a good batch (producer's risk); a Type II error accepts a defective batch (consumer's risk). Reducing without increasing necessarily increases .
One-tailed vs. two-tailed
"Is the mean different from 220 V?" is two-tailed. "Is the loss greater than 150 W?" is one-tailed, and the whole of sits in one tail, so the critical value is smaller (1.645 rather than 1.96 at 95%).
4. Linear Regression & Correlation
The least-squares line minimises :
The Pearson correlation coefficient measures linear association:
The coefficient of determination is the proportion of the variation in explained by the regression on . An means , so 81% of the variation is explained — not 90%.
Correlation is not causation, and measures only linear association: a perfect parabola can have .
5. Designed Experiments & Statistical Process Control
| Term | Meaning in electrical practice |
|---|---|
| Factor / level | Controlled input (e.g. conductor temperature) and its settings |
| Response | Measured output (e.g. measured ampacity) |
| Replication | Repeating runs to estimate pure experimental error |
| Randomisation | Ordering runs randomly to neutralise lurking variables |
| Blocking | Grouping similar units to remove a known nuisance source |
| ANOVA | Partitioning total variation into between-treatment and within-treatment components; the ratio tests treatment significance |
| –R control chart | Plots subgroup means and ranges against control limits to detect process drift |
Control limits are not specification limits: control limits describe what the process actually does, while specification limits state what the customer requires.
Solved Board Exam Examples
Example 1: Confidence Interval on Feeder Voltage
Thirty-six voltage readings on a distribution feeder average 228.4 V with a known population standard deviation of 3.6 V. Construct the 95% confidence interval for the true mean voltage.
Solution. With known and , use :
The whole interval lies inside the service-voltage band, so the feeder is compliant.
Example 2: Hypothesis Test on Transformer Efficiency
A manufacturer claims a mean efficiency of at least 98.5%. Sixteen units average 98.2% with a sample standard deviation of 0.4%. Test the claim at .
Solution. against (one-tailed, left). With unknown and , use with :
The one-tailed critical value is . Since , reject : at the 5% level the evidence contradicts the manufacturer's efficiency claim.
Example 3: Least-Squares Load Growth
Peak demand over four years is: year 1, 12.0 MW; year 2, 12.9 MW; year 3, 13.6 MW; year 4, 14.7 MW. Fit a least-squares line and forecast year 6.
Solution. With : , , , .
A sample of 25 insulation resistance readings has an unknown population standard deviation. Which statistic and how many degrees of freedom should be used to build the confidence interval?
z statistic; degrees of freedom do not apply
t statistic with 25 degrees of freedom
z statistic with 24 degrees of freedom
t statistic with 24 degrees of freedom
An acceptance test wrongly rejects a batch of circuit breakers that actually meets specification. Which error has occurred?
Type II error, probability β
Systematic bias, probability 1 - β
Sampling error, probability 1 - α
Type I error, probability α
A regression of demand on ambient temperature yields a correlation coefficient r = 0.80. What percentage of the variation in demand is explained by the fitted line?
80%
89%
20%
64%
Sections you finish are checked off in the contents.