For models in which the distribution of model errors is specified, the HPNLMOD procedure estimates parameters by maximizing the value of a log-likelihood function for the specified distribution. The log-likelihood functions used by PROC HPNLMOD for the supported error distributions are as follows:
This parameterization of the gamma distribution differs from the parameterization that the GLIMMIX and GENMOD procedures use. The scale parameter in PROC HPNLMOD is expressed as the inverse of the scale parameter that PROC GLIMMIX and PROC GENMOD use. The PROC HPNLMOD parameter represents the scale of the magnitude of the residuals. The scale parameter in PROC GLIMMIX can be estimated by using the following statements:
proc glimmix; model y = x / dist=gamma s; run;
The following statements show how to use PROC HPNLMOD to estimate the equivalent scale parameter:
proc hpnlmod; parms b0=1 b1=0 scale=14; linp = b0 + b1*x; mu = exp(linp); b = mu*scale; model y ~ gamma(1/scale,b); run;
The parameter can be real-numbered; it does not have to be integer-valued.