[转载]SAS Functions and CALL Routines by Category
(2013-03-07 09:37:40)
标签:
转载 |
分类: 统计学 |
有的时候,会感叹,想实现某个功能,组合了一堆函数,写了一堆代码,最后才发现SAS已经提供了一个完全可以实现这个功能的函数。这个时候,我才真正体会到,系统的搂一下SAS的函数,还是很必要的。庆幸的是,SAS公司已经总结了一个很好的HTML版。以下是概览:
SAS Functions and CALL Routines by Category
Here are the categories for SAS
functions and CALL routines:
| Arithmetic | returns the result of a division that handles special missing values for ODS output. |
| Array | returns information about arrays. |
| Bitwise Logical Operations | returns the bitwise logical result for an argument. |
| Character | returns information based on character data. |
| Character String Matching | returns information from Perl regular expressions. |
| Combinatorial | generates combinations and permutations. |
| Date and Time | returns date and time values, including time intervals. |
| Descriptive Statistics | returns statistical values, such as mean, median, and standard deviation. |
| Distance | returns the geodetic distance. |
| External Files | returns information that is associated with external files. |
| External Routines | returns a character or numeric value, or calls a routine without any return code. |
| Financial | calculates financial values such as interest, periodic payments, depreciation, and prices for European options on stocks. |
| Hyperbolic | performs hyperbolic calculations such as sine, cosine, and tangent. |
| Macro | assigns a value to a macro variable, returns the value of a macro variable, determines whether a macro variable is global or local in scope, and identifies whether a macro variable exists. |
| Mathematical | performs mathematical calculations such as factorials, absolute value, fuzzy comparisons, and logarithms. |
| Numeric | returns a numeric value based on whether an expression is true, false, or missing, or determines whether a software image exists in the installed version of SAS. |
| Probability | returns probability calculations, such as from a chi-square or Poisson distribution. |
| Quantile | returns a quantile from specific distributions. |
| Random Number | returns random variates from specific distributions. |
| SAS File I/O | returns information about SAS files. |
| Search | searches for character or numeric values. |
| Sort | sorts the values of character or numeric arguments. |
| Special | returns and stores memory addresses, writes a value directly into memory, suspends execution of a program, submits an operating-environment command for execution, returns the value of a SAS system or graphics option, specifies formats and informats at run time, returns the system return code, returns the UUID, determines whether a product is licensed, as well as returns other information about SAS processing. |
| State and ZIP Code | returns ZIP codes, FIPS codes, state and city names, postal codes, and the geodetic distance between ZIP codes. |
| Trigonometric | returns trigonometric values such as sine, cosine, and tangent. |
| Truncation | truncates numeric values and returns numeric values, often using fuzzing or zero fuzzing. |
| Variable Control | assigns variable labels, links SAS data set variables to DATA step or macro variables, and assigns variable names. |
| Variable Information | returns a name, type, length, informat name, label, and other variable information. |
| Web Service | calls a Web service or a SAS registered Web service. |
| Web Tools | encodes and decodes a string of data. |
另推荐SASList网的sxlion大侠的总结博文:

加载中…