Xbeta is the structural part on the right-hand side of the model. The predicted value is the predicted dependent variable value. For censored variables, if the predicted value is outside the boundaries, it is reported as the closest boundary. The residual is defined only for continuous variables and is defined as
The error standard deviation is 
 in the model. It varies only when the HETERO statement is used. 
            
A marginal effect is defined as a contribution of one control variable to the response variable. For a binary choice model
               with two response categories, 
 and 
, 
. For an ordinal response model with 
 response categories (
), define 
            
 The probability that the unobserved dependent variable is contained in the 
th category can be written as 
            
 The marginal effect of changes in the regressors on the probability of 
 is then 
            
 where 
. In particular, 
            
![\[  f(x) = \frac{d F(x)}{dx} = \left\{  \begin{array}{ll} \frac{1}{\sqrt {2\pi }}e^{-x^2/2} &  \mr {(probit)} \\ \frac{e^{-x}}{[1+e^{(-x)}]^2} &  \mr {(logit)} \end{array} \right.  \]](images/etshpug_hpqlim0197.png)
The marginal effects in the truncated regression model are
 where 
 and 
. 
            
The marginal effects in the censored regression model are
The expected value is the unconditional expectation of the dependent variable. For a censored variable, it is
 For a left-censored variable (
), this formula is 
            
 where 
. 
            
For a right-censored variable (
), this formula is 
            
 where 
. 
            
For a noncensored variable, this formula is
The conditional expected value is the expectation when the variable is inside the boundaries:
Technical efficiency for each producer is computed only for stochastic frontier models.
In general, the stochastic production frontier can be written as
 where 
 denotes producer 
’s actual output, 
 is the deterministic part of the production frontier, 
 is a producer-specific error term, and 
 is the technical efficiency coefficient, which can be written as 
            
 For a Cobb-Douglas production function, 
. For more information, see the section Stochastic Frontier Production and Cost Models. 
            
The cost frontier can be written in general as
 where 
 denotes producer 
’s input prices, 
 is the deterministic part of the cost frontier, 
 is a producer-specific error term, and 
 is the cost efficiency coefficient, which can be written as 
            
 For a Cobb-Douglas cost function, 
. For more information, see the section Stochastic Frontier Production and Cost Models. Hence, both technical and cost efficiency coefficients are the same. The estimates of technical efficiency are provided
               in the following subsections. 
            
Normal-Half-Normal Model
Define 
 and 
. Then, as shown by Jondrow et al. (1982), conditional density is as follows: 
            
 Hence, 
 is the density for 
. 
            
From this result, it follows that the estimate of technical efficiency (Battese and Coelli, 1988) is
The second version of the estimate (Jondrow et al., 1982) is
where
Normal-Exponential Model
Define 
 and 
. Then, as shown by Kumbhakar and Lovell (2000), conditional density is as follows: 
            
 Hence, 
 is the density for 
. 
            
From this result, it follows that the estimate of technical efficiency is
The second version of the estimate is
where
Normal–Truncated Normal Model
Define 
 and 
. Then, as shown by Kumbhakar and Lovell (2000), conditional density is as follows: 
            
 Hence, 
 is the density for 
. 
            
From this result, it follows that the estimate of technical efficiency is
The second version of the estimate is
where