|
Chapter Contents |
Previous |
Next |
| The TRANSREG Procedure |
To specify the data set, use the OUT= specification.
To control the contents of the data set and variable names, use one or more of the o-options. You can also specify these options in the PROC TRANSREG statement.
The following table provides a summary of options in the OUTPUT statement. These options include the OUT= option and all of the o-options.
| Task | Option |
| Identify output data set | |
| output data set | OUT= |
| Predicted values, residuals, scores | |
| outputs canonical scores | CANONICAL |
| outputs individual confidence limits | CLI |
| outputs mean confidence limits | CLM |
| specifies design matrix coding | DESIGN= |
| outputs leverage | LEVERAGE |
| does not restore missings | NORESTOREMISSING |
| suppresses output of scores | NOSCORES |
| outputs predicted values | PREDICTED |
| outputs redundancy variables | REDUNDANCY= |
| outputs residuals | RESIDUALS |
| Output data set replacement | |
| replaces dependent variables | DREPLACE |
| replaces independent variables | IREPLACE |
| replaces all variables | REPLACE |
| Output data set coefficients | |
| outputs coefficients | COEFFICIENTS |
| outputs ideal point coordinates | COORDINATES |
| outputs marginal means | MEANS |
| outputs redundancy analysis coefficients | MREDUNDANCY |
| Output data set variable name prefixes | |
| dependent variable approximations | ADPREFIX= |
| independent variable approximations | AIPREFIX= |
| canonical dependent variables | CDPREFIX= |
| conservative individual lower CL | CILPREFIX= |
| canonical independent variables | CIPREFIX= |
| conservative-individual-upper CL | CIUPREFIX= |
| conservative-mean-lower CL | CMLPREFIX= |
| conservative-mean-upper CL | CMUPREFIX= |
| METHOD=MORALS untransformed dependent | DEPENDENT= |
| liberal-individual-lower CL | LILPREFIX= |
| liberal-individual-upper CL | LIUPREFIX= |
| liberal-mean-lower CL | LMLPREFIX= |
| liberal-mean-upper CL | LMUPREFIX= |
| residuals | RDPREFIX= |
| predicted values | PPREFIX= |
| redundancy variables | RPREFIX= |
| transformed dependents | TDPREFIX= |
| transformed independents | TIPREFIX= |
| Output data set macros | |
| creates macro variables | MACRO |
| Control CLASS variables | |
| controls output of reference levels | REFERENCE= |
| Output data set details | |
| dependent and independent approximations | APPROXIMATIONS |
| canonical correlation coefficients | CCC |
| canonical elliptical point coordinate | CEC |
| canonical point coordinates | CPC |
| canonical quadratic point coordinates | CQC |
| approximations to transformed dependents | DAPPROXIMATIONS |
| approximations to transformed independents | IAPPROXIMATIONS |
| elliptical point coordinates | MEC |
| point coordinates | MPC |
| quadratic point coordinates | MQC |
| multiple regression coefficients | MRC |
For the coefficients partition, the COEFFICIENTS, COORDINATES, and MEANS o-options provide the coefficients that are appropriate for your model. For more explicit control of the coefficient partition, use the options that control details and prefixes.
The following list provides details on these options.
You can use DESIGN=n for coding very large data sets, where n is the number of observations to code at one time. For example, to code a data set with a large number of observations, you can specify DESIGN=100 or DESIGN=1000 to process the data set in blocks of 100 or 1000 observations. If you specify the DESIGN o-option rather than DESIGN=n, PROC TRANSREG tries to process all observations at once, which will not work with very large data sets. Specify the NOZEROCONSTANT a-option with DESIGN=n to ensure that constant variables within blocks are not zeroed. See the section "Using the DESIGN Output Option" and the section "Choice Experiments: DESIGN, NORESTOREMISSING, NOZEROCONSTANT Usage".
model y=&_trgind;
The TRANSREG procedure, also by default, creates a macro variable named _TRGINDN, which contains the number of variables in the _TRGIND list. This macro variable could be used in an ARRAY statement as follows:
array indvars[&_trgindn] &_trgind;
See the section "Using the DESIGN Output Option" and the section "Choice Experiments: DESIGN, NORESTOREMISSING, NOZEROCONSTANT Usage" for examples of using the default macro variables.
The available keywords are as follows.
4 TY IDENTITY Y
The first part is the number of parts (4), the second part is the transformed variable name, the third part is the transformation, and the last part is the input variable name. By default, no list is created.
5 Tx11 CLASS x1 1 5 Tx21 CLASS x2 1 8 Tx11x21 CLASS x1 1 CLASS x2 1
For CLASS variables, the formatted level appears after the variable name. The first two effects are the main effects, and the last is the interaction term. By default, no list is created.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.