NLMOD Procedure

Least Squares Model

(View the complete code for this example.)

The Michaelis-Menten model of enzyme kinetics (Ratkowsky 1990, p. 59) relates a substrate’s concentration to its catalyzed reaction rate. You can analyze the Michaelis-Menten model by using a least squares estimation because it does not specify how the reaction rate is distributed around its predicted value. The relationship between reaction rate and substrate concentration is

f left-parenthesis bold x comma bold-italic theta right-parenthesis equals StartFraction theta 1 x Subscript i Baseline Over theta 2 plus x Subscript i Baseline EndFraction comma for i equals 1 comma 2 comma ellipsis comma n

where x Subscript i represents the concentration for n trials and f left-parenthesis bold x comma bold-italic theta right-parenthesis is the reaction rate. The vector bold-italic theta contains the rate parameters.

The input data must be a table on your CAS server, and a CAS session must be set up. For more information, see the sections Using CAS Sessions and CAS Engine Librefs and Loading a SAS Data Set onto a CAS Server in Chapter 2, Shared Concepts. The following DATA step creates the Enzyme data table, which consists of experimental measurements of reaction rate and concentration, in your CAS session:

data mylib.Enzyme;
   input conc rate @@;
   datalines;
0.26 124.7   0.30 126.9
0.48 135.9   0.50 137.6
0.54 139.6   0.68 141.1
0.82 142.8   1.14 147.6
1.28 149.8   1.38 149.4
1.80 153.9   2.30 152.5
2.44 154.5   2.48 154.7
;

These statements assume that your libref is named mylib, but you can substitute any appropriately defined libref.

The following SAS statements estimate the parameters theta 1 and theta 2:

proc nlmod data=mylib.Enzyme;
   parms theta1=0 theta2=0;
   model rate ~ residual(theta1*conc / (theta2 + conc));
run;

The least squares estimation that PROC NLMOD performs for this enzyme kinetics problem produces the analysis of variance table in Figure 1. The table displays the degrees of freedom, sums of squares, and mean squares along with the model F test.

Figure 1: Nonlinear Least Squares Analysis of Variance

The NLMOD Procedure

Analysis of Variance
SourceDFSum of
Squares
Mean
Square
F ValueApprox
Pr > F
Model229011614505888537.2<.0001
Error1219.66061.6384  
Uncorrected Total14290135   

An intercept was not specified for this model.



Finally, Figure 2 displays the parameter estimates, standard errors, t statistics, and 95% confidence intervals for theta 1 and theta 2.

Figure 2: Parameter Estimates and Approximate 95% Confidence Intervals

Parameter Estimates
ParameterEstimateStandard
Error
DFt ValueApprox
Pr > |t|
Approximate 95% Confidence
Limits
LowerUpper
theta1158.10.673712234.67<.0001156.6159.6
theta20.07410.003131223.69<.00010.06730.0809


In the enzyme kinetics model, no information was supplied about the distribution of the reaction rate around the model’s mean value. Therefore, the residual model distribution was specified to perform a least squares parameter fit.

Last updated: September 22, 2026