The LOGISTIC Procedure

Determining Observations for Likelihood Contributions

If you use events/trials MODEL statement syntax, split each observation into two observations. One has response value 1 with a frequency equal to the frequency of the original observation (which is 1 if the FREQ statement is not used) times the value of the events variable. The other observation has response value 2 and a frequency equal to the frequency of the original observation times the value of (trials–events). These two observations will have the same explanatory variable values and the same FREQ and WEIGHT values as the original observation.

For either single-trial or events/trials syntax, let j index all observations. In other words, for single-trial syntax, j indexes the actual observations. And, for events/trials syntax, j indexes the observations after splitting (as described in the preceding paragraph). If your data set has 30 observations and you use single-trial syntax, j has values from 1 to 30; if you use events/trials syntax, j has values from 1 to 60.

Suppose the response variable in a cumulative response model can take on the ordered values $1,\ldots ,k,k+1$, where k is an integer $\geq 1$. The likelihood for the jth observation with ordered response value $y_ j$ and explanatory variables vector $\mb {x}_ j$ is given by

$\displaystyle  L_ j =  $
$\displaystyle  \left\{  \begin{array}{ll} F(\alpha _{1}+\bbeta ’\mb {x}_ j) &  y_ j=1 \\ F(\alpha _{i}+\bbeta ’\mb {x}_ j)- F(\alpha _{i-1}+\bbeta ’\mb {x}_ j) &  1<y_ j=i\leq k \\ 1-F(\alpha _{k}+\bbeta ’\mb {x}_ j) &  y_ j=k+1 \end{array} \right.  $

where $F(\cdot )$ is the logistic, normal, or extreme-value distribution function, $\alpha _{1},\ldots ,\alpha _{k}$ are ordered intercept parameters, and $\bbeta $ is the common slope parameter vector.

For the generalized logit model, letting the $k+1$st level be the reference level, the intercepts $\alpha _{1},\ldots ,\alpha _{k}$ are unordered and the slope vector $\bbeta _{i}$ varies with each logit. The likelihood for the jth observation with response value $y_ j$ and explanatory variables vector $\mb {x}_ j$ is given by

\[  L_ j = {\Pr }({Y}=y_ j|\mb {x}_ j) = \left\{ \begin{array}{ll} \displaystyle \frac{{e}^{\alpha _{i}+\mb {x}_ j\bbeta _{i}}}{1+\sum _{m=1}^{k} {e}^{\alpha _{m}+\mb {x}_ j \bbeta _{m}}} &  1\le y_ j=i\le k \\ \displaystyle \rule{0mm}{1.5em}\frac{1}{1+\sum _{m=1}^{k} {e}^{\alpha _{m}+\mb {x}_ j \bbeta _{m}}} &  y_ j=k+1 \end{array} \right.  \]