A1339 of 55
0 XP
  1. Hook
  2. Problems

A13 · Problem set 8

Problem set 8: fitting and optimization

These problems use lessons 37 and 38: linear and nonlinear least squares, with their uncertainties, and minimization in one and several variables. Report fitted parameters with the precision the data supports.

Check

Fit a line to (0, 1), (1, 2), (2, 6).

(a)

What is the slope?

(b)

What is the intercept?

Check

A line is fitted to 11 points at x = 0, 1, …, 11 − 1, each with noise σ = 0.1.

(a)

What is the slope's standard error?

(b)

And the standard error of the fitted value at the middle point?

Check

A fit of 2 parameters to 20 points leaves a sum of squared residuals of 3.

(a)

What is the estimated noise variance?

Check

The model y=Ae−t/τ with A = 2, τ = 1.

(a)

What is the Jacobian entry ∂y/∂A at t = 2?

(b)

And ∂y/∂τ?

Check

Two measurements of the same voltage: 5.02 V ± 0.01 V, and a second that reads −0.04 V more, ± 0.04 V.

(a)

What is the weighted least-squares estimate?

(b)

What is its standard deviation?

Check

Least squares through the normal equations with κ(A)=105.

(a)

About how many digits survive in double precision?

Check

Golden-section search shrinks a bracket by 0.618 per evaluation.

(a)

How many evaluations shrink a bracket of 1 below 1 × 10⁻⁶?

Check

A quadratic's Hessian has eigenvalues from 0.5 to 4.

(a)

Above what fixed step does gradient descent diverge?

(b)

With the best fixed step, what factor does the error shrink by per step?

Check

Minimize f(x)=x4−3x by Newton's method from 1.

(a)

What is the new x?

(b)

Where is the minimum?

Check

A parabola passes through (−1,2), (0,1) and (1,5).

(a)

Where is its minimum?

Check

A minimum is located by comparing function values in a 24-bit format.

(a)

To about what relative accuracy can its location be found?

Check

A polynomial of degree 3 is fitted to 20 points.

(a)

How many parameters does it have?

(b)

How many degrees of freedom remain for estimating noise?

Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.

Practice

Keep practicing

15 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.