The arboretum procedure



Yüklə 3.07 Mb.

səhifə36/148
tarix30.04.2018
ölçüsü3.07 Mb.
1   ...   32   33   34   35   36   37   38   39   ...   148

The DMDB Procedure

CLASS Statement

Specifies the variables whose values define subgroup combinations for the analysis.

INTERACTION: CLASS, ID, and VAR statements are mutually exclusive.

CLASS variable(s) <ORDER=order-option(s)>;

Required Argument

variable(s)

Specifies one or more categorical variables to be used in the analysis. For each CLASS variable,

the metadata contains information on each of the following: its class level value, its frequency,

and its ordering information.



Range:

variable(s) can be character or numeric.

Options

ORDER

Specifies the order to use when considering the levels of classification variables (specified in the

CLASS statement) to be sorted. order-option(s) may be one of the following:

ASCENDING | ASC

Class levels are arranged in lowest-to-highest order of unformatted values.

DESCENDING | DESC

Class levels are arranged in highest-to-lowest order of unformatted values.

ASCFORMATTED | ASCFMT

Class levels are arranged in ascending order by their formatted values.

DESFORMATTED | DESFMT

Class levels are arranged in descending order by their formatted values.

DSORDER | DATA

Class levels are arranged according to the order of their appearance in the input data set.

Default:

ASCENDING

Copyright 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.



The DMDB Procedure

FREQ Statement

Specifies a numeric variable that contains the frequency of each observation.

FREQ variable;

Required Argument

variable

Specifies a numeric variable whose value represents the frequency of the observation.



Default:

If variable is 0 or missing, then the observation is omitted in the DMDB and

is not included in statistical calculations.

Copyright 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.




The DMDB Procedure

ID Statement

Includes additional variables in the output data set.

INTERACTION: CLASS, ID, and VAR statements are mutually exclusive.

ID variable(s);

Required Argument

variable(s)

Identifies one or more variables from the input data set whose maximum values for groups of

observations are included in the output data set by PROC DMDB.

Range:

variable(s) can be character or numeric.

Copyright 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.




The DMDB Procedure

TARGET Statement

Specifies variables to be created for the output data set.

TARGET variable(s);

Required Argument

variable(s)

Identifies TARGET variables. Variables must also be specified in the VAR or CLASS variable

lists.

Range:

variable(s) can be character or numeric.

Copyright 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.




The DMDB Procedure

VARIABLE Statement

Identifies the analysis variables and their order in the results.

INTERACTION: CLASS, ID, and VAR statements are mutually exclusive.

Alias: VAR

VARIABLE variable(s)  WEIGHT=weight-variable>;

Required Argument

variable(s)

Identifies the analysis variables and specifies their order in the results.

The metadata catalog contains the following statistics for the VAR variables: N, NMISS, MIN,

MAX, SUM, SUMWGT, CSS, USS, STD, SKEWNESS, and KURTOSIS.



Default:

If you omit the VAR statement, PROC DMDB analyzes all numeric variables

not listed in the other statements.

Range:

variable(s) are numeric only.

Options

WEIGHT=weight-variable

Specifies a numeric variable whose values weight the variables specified in the VAR statement.



Tip:

When you use the WEIGHT= option, consider which value of the VARDEF=

option is appropriate. See the 

VARDEF= option 

for more information.

Copyright 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.




The DMDB Procedure

WEIGHT Statement

Specifies weights for observations in the statistical calculations.

Interaction: If you use the WEIGHT statement, you cannot compute SKEWNESS and KURTOSIS.

WEIGHT variable;

Required Argument

variable

Specifies a numeric variable whose value weights the analysis variables in each observation. The

variable value does not have to be an integer.

Default:

If the value of variable is less than 0 or is missing, the procedure uses a value

of 0.

Range:

variable can be an integer or non-integer number.

Copyright 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.






Dostları ilə paylaş:
1   ...   32   33   34   35   36   37   38   39   ...   148


Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2017
rəhbərliyinə müraciət

    Ana səhifə