« Home « Chủ đề Hướng dẫn sử dụng SAS / ETS

Chủ đề : Hướng dẫn sử dụng SAS / ETS


Có 80+ tài liệu thuộc chủ đề "Hướng dẫn sử dụng SAS / ETS"

SAS/ETS 9.22 User's Guide 60

tailieu.vn

The following options can be used in the PROC DATASOURCE statement:. The character string you specify in the DBNAME= option is passed through to FAME. creates a set of single indexes from BY variables for the OUT= data set. Under some circumstances, creating indexes for a SAS data set may increase the efficiency in locating observations when BY or WHERE...

SAS/ETS 9.22 User's Guide 61

tailieu.vn

one of the keywords _NUMERIC_, _CHARACTER_, or _ALL_. option, and print the output data set. Note that order and alphabetic range specifications are inclusive, meaning that the beginning and ending names of the range are also included in the variable list.. For order ranges, the names used to define the range must actually name variables in the input data file....

SAS/ETS 9.22 User's Guide 62

tailieu.vn

proc datasource filetype=blscpi interval=mon. in ('NORTHEAST','NORTH CENTRAL','SOUTH','WEST. index( upcase(label), 'MEDICAL CARE. proc print data=cpikey;. proc print. The OUTBY= data set in Output 11.2.1 lists all cross sections available for the four geographical regions: Northeast (AREA=’0100. North Central (AREA=’0200. The OUTCONT= data set in Output 11.2.2 gives the variable names for medical care related series.. Output 11.2.1 Partial Listings of the...

SAS/ETS 9.22 User's Guide 63

tailieu.vn

Output 11.4.4 Listing of the OUTALL= Data Set with OUTSELECT=OFF. Daily Series Available in CITIDEMO File. Obs FORMATL FORMATD ST_DATE END_DATE NTIME NOBS CODE ATTRIBUT NDEC 1 0 0 02DEC2019 09FEB DSIUSNYDJCM DEC2019 09FEB DSIUSNYSECM 1 2. Setting the OUTSELECT= option ON gives results shown in Output 11.4.5 and Output 11.4.6.. proc print data=keyon;. title1 'Daily Series Available in CITIDEMO...

SAS/ETS 9.22 User's Guide 64

tailieu.vn

622 F Chapter 11: The DATASOURCE Procedure. Example 11.8: Annual COMPUSTAT Data Files, V9.2 New Filetype CSAUC3. create OUT=csauy3 data set with ASCII 2003 Industrial Data. compare it with the OUT=csauc data set created by DATA STEP. proc datasource filetype=csaucy3 ascii infile=datafile. range from 2002;. Output 11.8.1 shows information on the contents of the CSAUY3 data set while Output 11.8.2...

SAS/ETS 9.22 User's Guide 65

tailieu.vn

Table 11.5 continued. CRSP CRSPMII CRSP Monthly IBM Binary Calendar&Indices File Format CRSPMIA CRSP Monthly IBM Binary File Annual Data Format CRSPMVS CRSP Monthly VAX Binary Security File Format. CRSPMVI CRSP Monthly VAX Binary Calendar&Indices File Format CRSPMVA CRSP Monthly VAX Binary File Annual Data Format CRSPDVS CRSP Daily VAX Binary Security File Format. CRSPDVI CRSP Daily VAX Binary Calendar&Indices...

SAS/ETS 9.22 User's Guide 66

tailieu.vn

642 F Chapter 11: The DATASOURCE Procedure. Table 11.18 CS48QIBM,CSQIY2 –COMPUSTAT 48-Quarter, IBM 360/370 Format continued) Metadata Field. Table 11.19 FILETYPE=CSAUC,CSAUCY2 –COMPUSTAT Annual, Universal Character Format Metadata Field. Table 11.19 CSAUC,CSAUCY2 –COMPUSTAT Annual, Universal Character Format continued) Metadata Field. Table 11.20 FILETYPE=CS48QUC,CSQUCY2 –COMPUSTAT 48 Quarter, Universal Character Format. Metadata Field Types. 644 F Chapter 11: The DATASOURCE Procedure. Table 11.20...

SAS/ETS 9.22 User's Guide 67

tailieu.vn

FILETYPE=HAVER–Haver Analytics Data Files HAVERO–Old Format Haver Files. Table 11.26 FILETYPE=HAVER–Haver Analytics Data Files Format Metadata Field. Metadata Labels Data Files Database is stored in a single file.. Series Variables Variable names are taken from the series descriptor records in the data file. NOTE: HAVER filetype reports the UPDATE and SOURCE in the OUTCONT= data set, while HAVERO does not.....

SAS/ETS 9.22 User's Guide 68

tailieu.vn

proc entropy;. Test Scores Data Set. Consider the following test score data compiled by Coleman et al. input test_score 6.2 teach_sal 6.2 prcnt_prof 8.2 socio_stat 9.2 teach_score 8.2 mom_ed 7.2;. label test_score="Average sixth grade test scores in observed district";. label socio_stat="Composite measure of socio-economic status in the district";. label mom_ed="Average level of education (years) of the students' mothers";. This data...

SAS/ETS 9.22 User's Guide 69

tailieu.vn

672 F Chapter 12: The ENTROPY Procedure (Experimental). Figure 12.12 Prior Distribution of Parameter T. For the PRIOR data set created previously, the expected value of the coefficient of T is 2. proc entropy data=prior outest=parm2 noprint;. The priors on the coefficient of T express a confident view of the value of the coefficient. The priors on INTERCEPT express a...

SAS/ETS 9.22 User's Guide 70

tailieu.vn

682 F Chapter 12: The ENTROPY Procedure (Experimental). Prior Distribution of Parameter T The ENTROPY Procedure. Syntax: ENTROPY Procedure. The following statements can be used with the ENTROPY procedure:. The statements and options in the ENTROPY procedure are summarized in the following table.. Data Set Options. specify the input data set for the variables ENTROPY DATA=. specify the input data...

SAS/ETS 9.22 User's Guide 71

tailieu.vn

specifies the variable that keeps track of the categories the dependent variable is in when there is range censoring. The RANGE option defines the range and the key ( RANGE ) that is used to identify the observation as being range bound. The RANGE = value should be some value in the CATEGORY= variable. The L and R define, respectively,...

SAS/ETS 9.22 User's Guide 72

tailieu.vn

702 F Chapter 12: The ENTROPY Procedure (Experimental). The generalized maximum entropy approach avoids an assumption of the form of the link function G./.. w/ D p 0 ln.p/ w 0 ln.w/. Golan, Judge, and Miller (1996) have shown that the dual unconstrained formulation of the GME- D can be viewed as a general class of logit models. Additionally, as...

SAS/ETS 9.22 User's Guide 73

tailieu.vn

The 100 estimations of the coefficient on variable x1 are then summarized for each of the three error distributions by using PROC UNIVARIATE, as follows:. The following table summarizes the results from the estimations. Example 12.2: Unreplicated Factorial Experiments. Using OLS regression to analyze unreplicated experimental data results in zero degrees of freedom for error in the ANOVA table, since...

SAS/ETS 9.22 User's Guide 74

tailieu.vn

(1980), “An Almost Ideal Demand System,” The American Economic Review . (1994), “A Note on the Role of Independence in t Statistics Constructed from Linear Statistics in Regression Models,” The American Statistician . The ESM Procedure. Overview: ESM Procedure. Getting Started: ESM Procedure. Syntax: ESM Procedure. PROC ESM Statement. Details: ESM Procedure. Data Set Output. Examples: ESM Procedure. Example 13.1:...

SAS/ETS 9.22 User's Guide 75

tailieu.vn

SUMMARY prints the summary statistics for the accumulated time series.. specifies the length of the seasonal cycle. The SEASONALITY= option is applicable only for seasonal forecasting models. By default, the length of the seasonal cycle is one (no seasonality) or the length implied by the INTERVAL= option specified in the ID statement.. specifies that the variables specified in the FORECAST...

SAS/ETS 9.22 User's Guide 76

tailieu.vn

N OTE : Even if all of the observed data are nonmissing, the ACCUMULATE= option can create missing values in the accumulated series (when the data contain no observations for some of the time periods specified by the INTERVAL= option).. Once the model parameters are estimated, one-step-ahead forecasts are generated for the full range of the accumulated and optionally transformed...

SAS/ETS 9.22 User's Guide 77

tailieu.vn

752 F Chapter 13: The ESM Procedure. Output 13.1.1 Retail Sales Forecast Plots. Note that for simple exponential smoothing the forecasts are constant.. The following ESM procedure statements are identical to the preceding statements except that the PRINT=FORECASTS option is specified:. In addition to forecasting each of the monthly time series, the preceding statements print the forecasts by using the...

SAS/ETS 9.22 User's Guide 78

tailieu.vn

The EXPAND Procedure. Overview: EXPAND Procedure. Getting Started: EXPAND Procedure. Combining Time Series with Different Frequencies. Syntax: EXPAND Procedure. PROC EXPAND Statement. Details: EXPAND Procedure. OUT= Data Set. OUTEST= Data Set. Examples: EXPAND Procedure. 764 F Chapter 14: The EXPAND Procedure. The EXPAND procedure converts time series from one sampling interval or frequency to another and interpolates missing values in...

SAS/ETS 9.22 User's Guide 79

tailieu.vn

PROC EXPAND options . specify options PROC EXPAND. specify the ID variable ID. Data Set Options. specify the input data set PROC EXPAND DATA=. specify the output data set PROC EXPAND OUT=. write interpolating functions to a data set PROC EXPAND OUTEST=. specify transformations of the input series CONVERT TRANSFORMIN=. specify transformations of the output series CONVERT TRANSFORMOUT=. PROC EXPAND...