Description | Command | Formula |
Cubic regression | CubicReg | y = a x3 + b x2 + c x + d |
Exponential regression | ExpReg | y = a bx |
Linear regression | LinReg | y = a + b x |
Logarithmic regression | LnReg | y = a + b ln(x) |
Median-median fit | MedMed | y = a + b x |
Power regression | PowerReg | y = a xb |
Quadratic regression | QuadReg | y = a x2 + b x + c |
Quartic regression | QuartReg | y = a x4 + b x3 + c x2 + d x + e |
Sinusoidal regression | SinReg | y = a sin(b x + c) + d |
Logistic regression | Logistic | y = a (1 + b ec x)-1 + d |
a | 3 | 4 | 5 | 6 |
S | 105 | 117 | 141 | 152 |
Year (since 1990) | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
Sales ($ million) | 144.5 | 229.9 | 210.7 | 258.4 | 350.2 | 354.0 | 452.9 |