The arboretum procedure



Yüklə 3,07 Mb.
Pdf görüntüsü
səhifə139/148
tarix30.04.2018
ölçüsü3,07 Mb.
#40673
1   ...   135   136   137   138   139   140   141   142   ...   148

Uses the order statistics method to compute the confidence limits as described by Hahn and

Meeker (1991). See PROC UNIVARIATE for more information.

P2

Uses the P2 algorithm described in Jain and Chlamtac (1985).



PCTLPTS=percentile(s)

Creates observations containing percentiles in the OUTSTAT= data set. A percentile requested is

identified by a _TYPE_ variable in the OUTSTAT= data set with a value of Pn. For example, if

PCTLPTS=10, 30 has been specified, the corresponding observations contain the 10th and 30th

percentiles in the OUTSTAT= data set ( _TYPE_ =P10 and _TYPE_=30, respectively). See

PROC UNIVARIATE for more information.



Range:

percentile is any decimal number n where 0   n   100



PSTAT

Prints the location and scale measures. (See the 

Displayed Output

 section for more information.)



REPLACE

Replaces the missing data with 0 in the standardized data (which corresponds to the location

measure before standardizing). To replace missing data with something else, see the MISSING=

argument.



CAUTION:

You may not specify both REPLACE and REPONLY.   

REPONLY

Replaces the missing data with the location measure and does not standardize the data.



CAUTION:

You may not specify both REPLACE and REPONLY.   

SNORM

Normalizes the scale estimator to have an expectation of approximately 1 for a standard normal

distribution when METHOD=SPACING is specified.

UNSTD | UNSTDIZE

Unstandardizes variables when METHOD=IN (SAS-data-set) is specified. See 

Unstandardization

section for more information.



VARDEF=DF | WGT | WEIGHT | N | WDF

Specifies the divisor to use in the calculation of variances. The following table shows the possible

values for the divisor and associated divisors. See PROC UNIVARIATE for more information.

Possible Values for VARDEF=

Value

Divisor

Formula

DF

degrees of



freedom


N

number of

observations

WDF


sum of

weights


minus one

WEIGHT


sum of

weights


Default:

DF

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




The STDIZE Procedure

BY Statement

Standardizes observations separately in groups defined by the by-variable(s).

Discussion: When METHOD=IN (SAS-data-set) is specified, you can also specify a BY statement

to apply separate groups of standardization measures (location and scale) to part of the

DATA= data set and the following rules are applied to BY processing:

If the IN data set does not contain any of the BY variables, the entire DATA= data

set is standardized using location and scale measures that have ADD and MULT

constants in the IN data set.

q   

If the IN data set contains some but not all of the BY variables, or if some BY



variables do not have the same type or length in the IN data set as in the DATA=

data set, then PROC STDIZE prints an error message and halts processing.

q   

If all of the BY variables appear in the IN data set with the same type and length



as in the DATA= data set, then each BY group in the DATA= data set is

standardized using location and scale measures along with ADD and MULT

constants from the corresponding BY group in the IN data set. The BY groups in

the IN data set must be in the same order as the DATA= data set. All BY groups

in the IN data set must appear in the DATA= data set. If you do not specify the

NOTSORTED option, some BY groups can appear in the DATA= data set but not

in the IN data set; such BY groups are not used in standardizing the data.

q   


BY variable-1 <... variable-n> ;

Required Argument

variable-1 ... variable-n

Specifies the variable that the procedure uses to form BY groups. You can specify more than one

variable. These variables are called by-variables.

Options

NOTSORTED

Specifies that observations are not necessarily sorted in alphabetic or numeric order. The data is

grouped in another way, for example, chronological order. The requirement for ordering or

indexing observations according to the values of BY variables is suspended for BY-group

processing when you use the NOTSORTED option.



Tip:

If your DATA= data set is not sorted in ascending order, use one of the

following alternatives:

Sort the data by using the SORT procedure with a similar BY

statement.

r   


Specify the BY statement option NOTSORTED or DESCENDING in

the BY statement for the STDIZE procedure. The NOTSORTED

option does not mean that the data is unsorted but rather that the data is

arranged in groups (according to values of the BY variables) and that

these groups are not necessarily in alphabetic or increasing numeric

order.


r   

Create an index on the BY variables by using the DATASETS

procedure.

r   


For more information about the BY statement, refer to SAS Language Reference: Concepts. For more

information about the DATASETS procedure, refer to the SAS Procedures Guide.

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



Yüklə 3,07 Mb.

Dostları ilə paylaş:
1   ...   135   136   137   138   139   140   141   142   ...   148




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

    Ana səhifə