. FILE: FULLODR1.DP
. Performs an orthogonal distance analysis of example from
. Wayne Fuller's book (see header of FULLODR1.DAT for reference).
. This is example 1 from version 2.01 of ODRPACK User's Guide.
.
skip 25
read fullodr1.dat x y
let n = size y
.
let b1 = 1500.0
let b2 = -50.0
let b3 = -0.1
let function f = b1 + b2*(exp(b3*x) - 1)**2
.
let yerr = 0 for i = 1 1 n
let yerr = 1 subset x = 1 to 99
.
orthogonal distance error yerr
.
orthogonal distance fit y = f
.