Study Vault Search notes, aliases and full text
Graph
TopicMSIAI-written · not yet proofread

Resistance Estimation Example

Also Resistance Estimation · Resistor Example

The running example of MSI chapters 1–2, estimating a resistance from noisy voltage and current measurements with three plausible estimators that converge to three different values, and the noise-model analysis that shows which one is asymptotically unbiased.

Concepts#

  1. Simple Approach Estimator1N∑kuk/ik\frac1N\sum_k u_k/i_k: average of the ratios, biased upwards (and may not converge) start here
  2. Error-in-Variables Estimator∑kuk/∑kik\sum_k u_k / \sum_k i_k: ratio of the averages, asymptotically unbiased
  3. Least Squares Estimator∑kukik/∑kik2\sum_k u_k i_k / \sum_k i_k^2: minimizes squared voltage residuals, biased downwards

How it fits together#

The noise model (script §2.5): uk=utrue+nu,ku_k = u_\text{true} + n_{u,k}, ik=itrue+ni,ki_k = i_\text{true} + n_{i,k}, with nu,kn_{u,k}, ni,kn_{i,k} independent of each other, i.i.d., zero mean, variances σu2\sigma_u^2, σi2\sigma_i^2, and Rtrue=utrue/itrueR_\text{true} = u_\text{true}/i_\text{true}. All three analyses use the same three limits from the Law of Large Numbers: averages of the noise →0\to 0, averages of products of the two noises →0\to 0, averages of squared current noise →σi2\to \sigma_i^2.

Result. With the relative current noise κ=σi2/itrue2\kappa = \sigma_i^2 / i_\text{true}^2:

EstimatorCombines the data byLimit for N→∞N \to \inftyBias
SA (Simple Approach Estimator)averaging the ratios≈Rtrue(1+κ)\approx R_\text{true}(1 + \kappa) (if it converges)too high
EV (Error-in-Variables Estimator)dividing the averagesRtrueR_\text{true}none (asymptotically)
LS (Least Squares Estimator)minimizing ∑k(R ik−uk)2\sum_k(R\,i_k - u_k)^2Rtrue/(1+κ)R_\text{true}/(1 + \kappa)too low

This matches Fig. 1.4 (script §2.5.4): EV converges to the true value, LS to a smaller one, and SA, where it converges, to a larger one.

Why they differ: where the nonlinearity sits relative to the averaging. The noise is zero mean, so it cancels from any average that is linear in it. A σi2\sigma_i^2 survives wherever the current noise enters squared before averaging, because E{n2}=σ2≠0\mathbb{E}\{n^2\} = \sigma^2 \ne 0 (Moments of Random Variables).

  • EV averages first and applies the only nonlinear operation (the division) afterwards: no squared noise term, no bias.
  • LS averages ik2=itrue2+2itrueni,k+ni,k2i_k^2 = i_\text{true}^2 + 2i_\text{true}n_{i,k} + n_{i,k}^2 in its denominator, which picks up σi2\sigma_i^2 and makes the denominator too large.
  • SA divides first and averages 1/ik1/i_k; the Taylor series of 1/ik1/i_k contains +ni,k2/itrue2+n_{i,k}^2/i_\text{true}^2, which makes the average too large.

Only the current noise matters. σu\sigma_u appears in none of the limits. The voltage noise enters all three estimators linearly (and independently of the current noise), so it averages out. What biases LS is noise on the regression variable iki_k, a general property of least squares.

Special case: noise-free current. If σi=0\sigma_i = 0, then κ=0\kappa = 0 and all three estimators agree in the limit; in fact ik=itruei_k = i_\text{true} for all kk, and all three formulas reduce to 1itrue⋅1N∑kuk\frac{1}{i_\text{true}}\cdot\frac1N\sum_k u_k. This is the setting in which least squares is the natural choice (output noise only), the case studied in script chapter 4. It answers the open question in MSI_VL01 > Open Questions.

Analysis effort. EV and LS only need limits of averages. SA needs a Taylor expansion valid only for small noise, and with noise that can make ik=0i_k = 0 (e.g. Gaussian), the average need not converge at all. The script therefore treats SA last and only under “optimistic assumptions”; even then it is biased, so it is biased in general.

Example#

Lectures#

  • MSI_VL01 — §1.2: the three estimators and Fig. 1.4, the question which one is right
  • Script §2.5 (MSI Slides 02 > 2.5 Analysis of the Resistance Estimation Example (not published)) resolves it; no write-up yet
  • Point Estimation — the definitions (unbiased, asymptotically unbiased, consistent) used to judge the three estimators
  • Moments of Random Variables — E{n2}=σ2\mathbb{E}\{n^2\} = \sigma^2 is where every bias in this example comes from

Search

Type In
↑ ↓ move ↵ open ⇥ next section Ctrl↵ results page Prefix # to search text only