---
title: Problem set 7
heading: "Problem set 7: estimation and measurement statistics"
eyebrow: A11 · Problem set 7
type: problems
---

::: hook
These problems use lessons 35 and 36: estimating rates and means from data, standard errors, confidence intervals, and combining uncertainties. Report every estimate with its uncertainty; a number alone says less than it seems to.
:::

::: pool
pick: 12

::: check
kind: parts
given: k = 3 | 8; T = 10000 | 50000

## {k} failures occur in {T} unit-hours of testing.

::: part
answer: k/T*1e6
tolerance: 0.5%

### What is the estimated failure rate, per million hours?

::: misses
- [any] Failures divided by total time.
:::
:::

::: part
answer: T/k
unit: hours
tolerance: 0.5%

### What is the estimated MTBF?

::: misses
- [any] The reciprocal of the rate.
:::
:::
:::

::: check
kind: parts
given: s = 5 | 10; n = 16 | 100

## {n} readings have a sample standard deviation of {s} mV.

::: part
answer: s/sqrt(n)
unit: mV
tolerance: 0.5%

### What is the standard error of their mean?

::: misses
- [s/n] Divide by $\sqrt n$.
- [any] $s/\sqrt n$.
:::
:::

::: part
answer: 1.96*s/sqrt(n)
unit: mV
tolerance: 0.5%

### What is the half-width of a 95% interval (large-sample)?

::: misses
- [any] $1.96$ standard errors.
:::
:::
:::

::: check
kind: parts
given: k = 5 | 20; n = 100 | 400

## {k} of {n} sampled boards fail.

::: part
answer: k/n
tolerance: 0.5%

### What is the estimated failure fraction?

::: misses
- [any] $k/n$.
:::
:::

::: part
answer: sqrt(k/n*(1 - k/n)/n)
tolerance: 0.5%

### What is its standard error?

::: misses
- [any] $\sqrt{\hat p(1 - \hat p)/n}$.
:::
:::
:::

::: check
kind: parts
given: s = 2 | 5; e = 0.5 | 1

## Readings have noise {s} mV. You want the mean's standard error below {e} mV.

::: part
answer: ceil((s/e)^2)
tolerance: 0

### How many readings are needed?

::: misses
- [s/e] Square it: the standard error falls as $1/\sqrt n$.
- [any] Solve $s/\sqrt n \le e$ and round up.
:::
:::
:::

::: check
kind: parts
given: a = 0.5 | 1; b = 0.2 | 0.8; c = 0.3 | 0.6

## A result is the product of three independent measured factors with relative uncertainties {a}%, {b}% and {c}%.

::: part
answer: sqrt(a^2 + b^2 + c^2)
unit: %
tolerance: 0.5%

### What is its relative uncertainty?

::: misses
- [a + b + c] That's the worst case.
- [any] Relative uncertainties add in squares for products.
:::
:::
:::

::: check
kind: parts
given: dV = 0.5 | 1; dR = 0.2 | 1

## $P = V^2/R$ with $V$ known to {dV}% and $R$ to {dR}%.

::: part
answer: sqrt((2*dV)^2 + dR^2)
unit: %
tolerance: 0.5%

### What is the uncertainty in $P$?

::: misses
- [sqrt(dV^2 + dR^2)] The square doubles $V$'s contribution.
- [any] $\sqrt{(2\delta_V)^2 + \delta_R^2}$.
:::
:::
:::

::: check
kind: parts
given: x1 = 4.9 | 5.0; x2 = 5.1 | 5.2; x3 = 5.0 | 4.8

## Three readings: {x1}, {x2} and {x3} V.

::: part
answer: (x1 + x2 + x3)/3
unit: V
tolerance: 0.1%

### What is their mean?

::: misses
- [any] Add and divide by 3.
:::
:::

::: part
answer: sqrt(((x1 - (x1 + x2 + x3)/3)^2 + (x2 - (x1 + x2 + x3)/3)^2 + (x3 - (x1 + x2 + x3)/3)^2)/2)
unit: V
tolerance: 0.5%

### What is their sample standard deviation?

::: misses
- [sqrt(((x1 - (x1 + x2 + x3)/3)^2 + (x2 - (x1 + x2 + x3)/3)^2 + (x3 - (x1 + x2 + x3)/3)^2)/3)] Divide by $n - 1 = 2$.
- [any] $\sqrt{\frac{\sum(x_i - \bar x)^2}{n - 1}}$.
:::
:::
:::

::: check
kind: parts
given: s1 = 0.1 | 0.2; s2 = 0.3 | 0.4

## Two instruments measure the same voltage with standard deviations {s1} and {s2} V.

::: part
answer: (1/s1^2)/(1/s1^2 + 1/s2^2)
tolerance: 0.5%

### What weight should the first get in the best combination?

::: misses
- [s2/(s1 + s2)] Weights go as $1/\sigma^2$.
- [any] $\frac{1/\sigma_1^2}{1/\sigma_1^2 + 1/\sigma_2^2}$.
:::
:::

::: part
answer: 1/sqrt(1/s1^2 + 1/s2^2)
unit: V
tolerance: 0.5%

### What is the combined standard deviation?

::: misses
- [any] $\left(\sigma_1^{-2} + \sigma_2^{-2}\right)^{-1/2}$.
:::
:::
:::

::: check
kind: parts
given: m = 5.012 | 3.301; s = 0.01 | 0.02; n = 25 | 100

## {n} readings average {m} V with sample standard deviation {s} V.

::: part
answer: m + 1.96*s/sqrt(n)
unit: V
tolerance: 0.001%

### What is the upper end of a 95% interval?

::: misses
- [m + 1.96*s] Use the standard error, not the readings' spread.
- [any] $\bar x + 1.96s/\sqrt n$.
:::
:::
:::

::: check
kind: parts
given: T = 1000 | 10000 | 50000

## A test runs {T} unit-hours and sees no failures. With zero failures, the 95% upper bound on the expected count is 3 (the "rule of three").

::: part
answer: 3/T*1e6
tolerance: 0.5%

### What upper bound does that give on the failure rate, per million hours?

::: misses
- [1/T*1e6] Zero failures don't prove a rate below one per test length: use 3.
- [any] Divide 3 by the test time.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 4; s = 0.1 | 0.3

## A gain is measured as {a} with standard deviation {s}; the result is used in dB, $20\log_{10}G$.

::: part
answer: 20*s/(a*ln(10))
unit: dB
tolerance: 0.5%

### What is the uncertainty in dB?

::: misses
- [20*log(s)] Propagate with the derivative: $\frac{20}{G\ln 10}\sigma_G$.
- [any] $\frac{d}{dG}20\log_{10}G = \frac{20}{G\ln 10}$.
:::
:::
:::

::: check
kind: parts
given: n = 10 | 50; p = 0.02 | 0.1

## A process has defect rate {p}. A sample of {n} is tested.

::: part
answer: n*p
tolerance: 0.5%

### How many defects are expected?

::: misses
- [any] $np$.
:::
:::

::: part
answer: (1 - p)^n
tolerance: 0.5%

### What is the chance the sample shows none, hiding the problem?

::: misses
- [any] Every one must pass.
:::
:::
:::

::: check
kind: parts
given: s = 1 | 3; m = 2 | 10

## Two independent measurements of the same quantity each have standard deviation {s}; their difference is used to check consistency.

::: part
answer: s*sqrt(2)
tolerance: 0.5%

### What is the standard deviation of the difference?

::: misses
- [0] Independent errors don't cancel in a difference.
- [any] $\sqrt{\sigma^2 + \sigma^2}$.
:::
:::

::: part
answer: m/(s*sqrt(2))
tolerance: 0.5%

### If they differ by {m}, how many standard deviations is that?

::: misses
- [m/s] Divide by the difference's standard deviation.
- [any] $\frac{m}{\sigma\sqrt2}$.
:::
:::
:::

::: check
kind: parts
given: r = 0.5 | 2; n = 4 | 16

## A rate is estimated as {r} per hour from {n} events.

::: part
answer: r/sqrt(n)
tolerance: 0.5%

### What is the standard error of the rate, per hour (Poisson counting)?

::: misses
- [r/n] The count's spread is $\sqrt n$.
- [any] Relative error $\frac{1}{\sqrt n}$.
:::
:::
:::

::: check
kind: parts
given: s = 0.5 | 2; n = 4 | 9

## A sample of {n} readings has standard error {s} mV in its mean.

::: part
answer: s*sqrt(n)
unit: mV
tolerance: 0.5%

### What is the spread of the individual readings?

::: misses
- [s*n] The standard error is $\sigma/\sqrt n$.
- [any] $\sigma = s\sqrt n$.
:::
:::
:::
:::
