when a linear model just won't do: fitting nonlinear models in jmp
DESCRIPTION
This presentation was given live at JMP Discovery Summit 2013 in San Antonio, Texas, USA. To sign up to attend this year's conference, visit http://jmp.com/summitTRANSCRIPT
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
WHEN A LINEAR MODEL JUST WON’T DO
FITTING NONLINEAR MODELS IN JMPSUE WALSH – JMP TECHNICAL SUPPORT
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
MODELS LINEAR VERSUS NONLINEAR MODELS
• A linear regression model is linear in the parameters. That is, there is only
one parameter in each term of the model and each parameter is a
multiplicative constant on the independent variable(s) of that term.
• A nonlinear model is nonlinear in the parameters.
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
LINEAR MODELS EXAMPLES
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSEXAMPLES
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSMODEL SPECIFICATION
In order for each nonlinear model to be analyzed, you must specify:
• the model equation
• names and starting values of the parameters to be estimated.
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSCONVERGENCE ISSUES
Convergence might not be attained under certain conditions. These might
include the following:
• incorrect specification of the model
• poor initial starting values
• over-defined model
• insufficient data.
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSTHE JMP PLATFORM
There are three different ways to fit nonlinear models in JMP:
• Fit Curve
• Model Library
• Column Formula
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSEXAMPLE: DRUG LEVEL
A drug is tested to determine the level of the drug over time. The drug is
administered orally and the level of the drug in the blood stream is measured at
various times after administration.
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSONE COMPARTMENT ORAL DOSE MODEL
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSEXAMPLE: ENZYMATIC REACTION
The initial velocity of an enzymatic reaction is believed to be related to the
substrate concentration. Use the nonlinear platform to explore the relationship
between velocity and concentration.
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSEXAMPLE: CALCIUM IONS
An experiment was conducted to examine the relationship between the amount
of time cells are held in a calcium suspension and the amount of radioactive
calcium in the cells.
NOTE: This experiment was conducted by Howard Grimes, Idaho State University, and the data is used with his
permission.
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELS4 PARAMETER WEIBULL MODEL
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELS4 PARAMETER WEIBULL MODEL (ALTERNATE FORM)
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSEXAMPLE: TULIP GROWTH
An experiment was conducted to examine the relationship between the
concentration of plant growth inhibitor used and the height of tulip plants at the
time of flower.
NOTE: This experiment was conducted by Brian Krug, University of New Hampshire, and the data used with his
permission.
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSSEGMENTED MODEL
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSSEGMENTED MODEL
Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .
NONLINEAR
MODELSCONCLUSION
There are three different ways to fit nonlinear models in JMP:
• Fit Curve
• Model Library
• Column Formula