MODEL
dependent = regressors < / options > ;
The MODEL statement specifies the dependent variable and independent regressor variables for the regression model.
You can specify the following option after a slash (/).
-
NOINT
-
suppresses the intercept parameter.
You can also specify the following endogenous variable options, which are the same as the options that are specified in the
ENDOGENOUS statement. If an endogenous variable option is specified in both the MODEL statement and the ENDOGENOUS statement,
the option in the ENDOGENOUS statement is used.
Discrete Variable Options
-
DISCRETE <(discrete-options )>
-
specifies that the endogenous variables in this statement be discrete. You can specify the following discrete-options:
-
DISTRIBUTION=distribution-type
DIST=distribution-type
D=distribution-type
-
specifies the cumulative distribution function that is used to model the response probabilities. You can specify the following
distribution-types:
- LOGISTIC
-
specifies the logistic distribution for the logit model.
- NORMAL
-
specifies the normal distribution for the probit model.
By default, DISTRIBUTION=NORMAL.
-
ORDER=DATA | FORMATTED | FREQ | INTERNAL
-
specifies the sort order for the levels of the discrete variables that are specified in the ENDOGENOUS statement. This ordering
determines which parameters in the model correspond to each level in the data. You can specify the following sort orders:
- DATA
-
sorts levels by order of appearance in the input data set.
- FORMATTED
-
sorts levels by formatted value. The sort order is machine-dependent.
- FREQ
-
sorts levels by descending frequency count; levels that have the most observations come first in the order.
- INTERNAL
-
sorts levels by unformatted value. The sort order is machine-dependent.
By default, ORDER=FORMATTED. For more information about sort order, see the chapter on the SORT procedure in the Base SAS Procedures Guide.
Censored Variable Options
-
CENSORED <(censored-options )>
-
specifies that the endogenous variables in this statement be censored. You can specify the following censored-options:
-
LB=value |variable
LOWERBOUND=value |variable
-
specifies the lower bound of the censored variables. If value is missing or the value in variable is missing, no lower bound is set. By default, no lower bound is set.
-
UB=value |variable
UPPERBOUND=value |variable
-
specifies the upper bound of the censored variables. If value is missing or the value in variable is missing, no upper bound is set. By default, no upper bound is set.
Truncated Variable Options
-
TRUNCATED <(truncated-options )>
-
You can specify the following truncated-options:
-
LB=value |variable
LOWERBOUND=value |variable
-
specifies the lower bound of the truncated variables. If value is missing or the value in variable is missing, no lower bound is set. By default, no lower bound is set.
-
UB=value |variable
UPPERBOUND=value |variable
-
specifies the upper bound of the truncated variables. If value is missing or the value in variable is missing, no upper bound is set. By default, no upper bound is set.
Stochastic Frontier Variable Options
-
FRONTIER <(frontier-options )>
-
You can specify the following frontier-options:
-
TYPE=HALF | EXPONENTIAL | TRUNCATED
-
specifies the model type.
-
HALF
-
specifies a half-normal model.
-
EXPONENTIAL
-
specifies an exponential model.
-
TRUNCATED
-
specifies a truncated normal model.
-
PRODUCTION
-
specifies that the estimated model be a production function.
-
COST
-
specifies that the estimated model be a cost function.
If neither PRODUCTION nor COST is specified, a production function is estimated by default.
Copyright © SAS Institute Inc. All Rights Reserved.