The HPNLMOD Procedure

Binomial Model

(View the complete code for this example.)

In Example 82.3 cancer remission is modeled by expressing the maximum likelihood function for a binary distribution as a nonlinear least squares optimization. The following statements show an equivalent formulation of this model that uses PROC HPNLMOD and specifies the binary distribution explicitly:

proc hpnlmod data=remiss corr;
   parms int=-10 a=-2 b=-1 c=6;
   linp = int + a*cell + b*li + c*temp;
   p = probnorm(linp);
   model remiss ~ binary(1-p);
run;

This binary distribution model displays information about the quality of the estimation that is different from the information displayed in the section Least Squares Model. No analysis of variance table is produced for this model; fit statistics that are based on the value of the likelihood function are displayed in Figure 57.3.

Figure 57.3: Nonlinear Likelihood Function Statistics

The HPNLMOD Procedure

Fit Statistics
-2 Log Likelihood21.9002
AIC (smaller is better)29.9002
AICC (smaller is better)31.7183
BIC (smaller is better)35.0835


Parameter estimates for the binary distribution model that uses the same quantities as are used in the section Least Squares Model are displayed in Figure 57.4.

Figure 57.4: Parameter Estimates and Approximate 95% Confidence Intervals

Parameter Estimates
ParameterEstimateStandard
Error
DFt ValueApprox
Pr > |t|
Approximate 95% Confidence
Limits
int-36.754832.36071-1.140.2660-103.229.6439
a-5.62984.63761-1.210.2353-15.14543.8858
b-2.25130.97901-2.300.0294-4.2599-0.2426
c45.181534.909511.290.2065-26.4469116.8