SAS FUNCTION
by Nurul Atieqah
1. DEFINITION
1.1. A SAS function performs a computation or system manipulation that requires zero or more arguments, and returns a value that can be used in an assignment statement or elsewhere in expressions.
2. Sample Statistics Functions
2.1. BRANKS
2.2. CORR
2.3. COV
2.4. CUSUM
2.5. GEOMEAN
2.6. MAD
2.7. MEAN
2.8. VAR
2.9. SKEWNESS
2.10. STDERR
3. WHEN TO USE
3.1. - to analyze his data without using formula
3.2. -to reduce time consumption when has large number of data
3.3. -to solve complex statistical calculation
3.3.1. Included
3.3.2. Included
3.3.3. Excluded
4. IMPORTANT STATEMENT
4.1. GENERAL FORM
4.1.1. myvalue = FUNCTION_NAME(required_argument1,required_argumentN, optional_argument1, …, optional_argumentN);
4.2. TYPES OF SAS FUNCTION
4.2.1. - Arithmetic Functions - Character Functions - Date and Time Functions - Mathematical Functions - Noncentrality Functions - Probability and Density Functions - Quantile Functions - Sample Statistics Functions - State and ZIP Code Functions - Trigonometric and Hyperbolic Functions - Truncation Functions - Variable Information Functions
5. USES OF THE PROCEDURE
5.1. To perform numeric calculations
5.1.1. Materials
5.1.2. Personel
5.1.3. Services
5.1.4. Duration
5.2. To manipulate character and numeric data
5.3. To create new values from existing data
6. DISADVANTAGES
6.1. When deal with complex function, mistake in arrangement of the order may effect the result.
6.1.1. Dependencies
6.1.2. Milestones
6.2. When deal with large data sets, it will become more complex and may lead to inaccurate results.
6.2.1. Schedule
6.2.2. Budget