SAS Learning Experience Summary sharing: Article Five-application of process step

Source: Internet
Author: User

Before the introduction of the base SAS is divided into data step and process step, the process step is to analyze and process the data set of data step generation, and excavate the data information, write the analysis report to do the summary evaluation.

1. Syntax format:

Proc Procedure name ④ <data= DataSet name > < options ①>; / * Follow-up will be interpreted according to the callout's ordinal description * /

Procedure Statements ②③< parameter options >;

Run

2, the process statement ②:

    • var: Specify analysis variables, multiple variables separated by spaces
    • By: Specify one or more variables to group the dataset, and the data set to be sorted first
    • Class: Specifies one or more categorical variables, without having to sort the datasets beforehand
    • Model: dependent and independent variables for the specified models in modeling, model dependent variable = Independent variable/option
    • Freq: Specifies the frequency variable used to parse the variable
    • Weight: Specify a weighting variable to get the weight of the variable as a percentage
    • ID: Specify the observation ID and the output will remove the OBS option identifier
    • Output: outputting process Analysis results to new dataset, output out= new DataSet < keyword = variable name >
    • Where: Conditional options statement
    • Title: Output File Plus header information
    • Footnote: output file plus footnote information
    • Options: Change system default settings

3, Process step in the variable attribute statement ③: The operation of the variable

    • Label: Specify variable label, explain variable meaning, label variable name 1 = ' tag name 1 ' variable name 2 = ' tag name 2 ';
    • Format: Specify variable output format
    • Attrib: Defining Variable Properties

4. process step Option parameter ①: parameter called by procedure step

    • Noobs: Specifies that the OBS ID is not output
    • Firstobs: Starting from the first few records of the data, firstobs=
    • OBS: Specifies the end of the first record to the data set, obs=
    • Double: Specify a line interval between observation records

5, the common process Department ④:

    • means process: A simple description of the numerical variables, minimum, maximum, mean, standard deviation, and so on.
    • Summary process: Descriptive statistical analysis of variables in the observed data or groups of variables after data observation
    • Univariate process: In addition to the statistical information with the means process, there are statistical analyses of skewness, kurtosis, four-bit and majority, etc.
    • Chart Charting process: Plot the relationship between the value of a variable and a statistic-related variable
    • tabulate watchmaking process: Drawing tables
    • Print process: Printing output information
    • Corr related processes: study the correlation between variables
    • Reg Process: Regression analysis

SAS Learning Experience Summary sharing: Article Five-application of process step

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.