全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
15438 15
2011-01-04
WORD版下载http://www.pinggu.org/bbs/thread-1004933-1-1.html

Functions and CALL Routines by Category
Categories and Descriptions of Functions Category Function Description
Array DIM Returns the number of elements in an array

HBOUND Returns the upper bound of an array

LBOUND Returns the lower bound of an array
Bitwise Logical Operations BAND Returns the bitwise logical AND of two arguments

BLSHIFT Returns the bitwise logical left shift of two arguments

BNOT Returns the bitwise logical NOT of an argument

BOR Returns the bitwise logical OR of two arguments

BRSHIFT Returns the bitwise logical right shift of two arguments

BXOR Returns the bitwise logical EXCLUSIVE OR of two arguments
Character String Matching CALL RXCHANGE Changes one or more substrings that match a pattern

CALL RXFREE Frees memory allocated by other regular expression_r(RX) functions and CALL routines

CALL RXSUBSTR Finds the position, length, and score of a substring that matches a pattern

RXMATCH Finds the beginning of a substring that matches a pattern and returns a value

RXPARSE Parses a pattern and returns a value
Character BYTE Returns one character in the ASCII or the EBCDIC collating sequence
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2011-1-4 12:54:19
COLLATE Returns an ASCII or EBCDIC collating sequence character string

COMPBL Removes multiple blanks from a character string

COMPRESS Removes specific characters from a character string

DEQUOTE Removes quotation marks from a character value

INDEX Searches a character expression for a string of characters

INDEXC Searches a character expression for specific characters

INDEXW Searches a character expression for a specified string as a word

LEFT Left aligns a SAS character expression

LENGTH Returns the length of an argument

LOWCASE Converts all letters in an argument to lowercase

MISSING Returns a numeric result that indicates whether the argument contains a missing value

QUOTE Adds double quotation marks to a character value

RANK Returns the position of a character in the ASCII or EBCDIC collating sequence

REPEAT Repeats a character expression

REVERSE Reverses a character expression

RIGHT Right aligns a character expression

SCAN Selects a given word from a character expression

SOUNDEX Encodes a string to facilitate searching

SPEDIS Determines the likelihood of two words matching, expressed as the asymmetric spelling distance between the two words

SUBSTR (left of =) Replaces character value contents

SUBSTR (right of =) Extracts a substring from an argument

TRANSLATE Replaces specific characters in a character expression
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-1-4 12:54:50
TRANWRD Replaces or removes all occurrences of a word in a character string

TRIM Removes trailing blanks from character expressions and returns one blank if the expression is missing

TRIMN Removes trailing blanks from character expressions and returns a null string (zero blanks) if the expression is missing

UPCASE Converts all letters in an argument to uppercase

VERIFY Returns the position of the first character that is unique to an expression
DBCS KCOMPARE Returns the result of a comparison of character strings

KCOMPRESS Removes specific characters from a character string

KCOUNT Returns the number of double-byte characters in a string

KINDEX Searches a character expression for a string of characters

KINDEXC Searches a character expression for specific characters

KLEFT Left aligns a SAS character expression by removing unnecessary leading DBCS blanks and SO/SI

KLENGTH Returns the length of an argument

KLOWCASE Converts all letters in an argument to lowercase

KREVERSE Reverses a character expression

KRIGHT Right aligns a character expression by trimming trailing DBCS blanks and SO/SI

KSCAN Selects a given word from a character expression

KSTRCAT Concatenates two or more character strings

KSUBSTR Extracts a substring from an argument

KSUBSTRB Extracts a substring from an argument based on byte position

KTRANSLATE Replaces specific characters in a character expression

KTRIM Removes trailing DBCS blanks and SO/SI from character expressions

KTRUNCATE Truncates a numeric value to a specified length

KUPCASE Converts all single-byte letters in an argument to uppercase

KUPDATE Inserts, deletes, and replaces character value contents

KUPDATEB Inserts, deletes, and replaces character value contents based on byte unit

KVERIFY Returns the position of the first character that is unique to an expression
Date and Time DATDIF Returns the number of days between two dates

DATE Returns the current date as a SAS date value

DATEJUL Converts a Julian date to a SAS date value

DATEPART Extracts the date from a SAS datetime value

DATETIME Returns the current date and time of day as a SAS datetime value

DAY Returns the day of the month from a SAS date value

DHMS Returns a SAS datetime value from date, hour, minute, and second

HMS Returns a SAS time value from hour, minute, and second values
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-1-4 12:55:18
HOUR Returns the hour from a SAS time or datetime value

INTCK Returns the integer number of time intervals in a given time span

INTNX Advances a date, time, or datetime value by a given interval, and returns a date, time, or datetime value

JULDATE Returns the Julian date from a SAS date value

JULDATE7 Returns a seven-digit Julian date from a SAS date value

MDY Returns a SAS date value from month, day, and year values

MINUTE Returns the minute from a SAS time or datetime value

MONTH Returns the month from a SAS date value

QTR Returns the quarter of the year from a SAS date value

SECOND Returns the second from a SAS time or datetime value

TIME Returns the current time of day

TIMEPART Extracts a time value from a SAS datetime value

TODAY Returns the current date as a SAS date value

WEEKDAY Returns the day of the week from a SAS date value

YEAR Returns the year from a SAS date value

YRDIF Returns the difference in years between two dates

YYQ Returns a SAS date value from the year and quarter
Descriptive Statistics CSS Returns the corrected sum of squares

CV Returns the coefficient of variation

KURTOSIS Returns the kurtosis

MAX Returns the largest value

MEAN Returns the arithmetic mean (average)

MIN Returns the smallest value

MISSING Returns a numeric result that indicates whether the argument contains a missing value

N Returns the number of nonmissing values

NMISS Returns the number of missing values

ORDINAL Returns any specified order statistic

RANGE Returns the range of values

SKEWNESS Returns the skewness

STD Returns the standard deviation

STDERR Returns the standard error of the mean

SUM Returns the sum of the nonmissing arguments

USS Returns the uncorrected sum of squares

VAR Returns the variance
External Files DCLOSE Closes a directory that was opened by the DOPEN function and returns a value

DINFO Returns information about a directory

DNUM Returns the number of members in a directory

DOPEN Opens a directory and returns a directory identifier value

DOPTNAME Returns directory attribute information

DOPTNUM Returns the number of information items that are available for a directory

DREAD Returns the name of a directory member

DROPNOTE Deletes a note marker from a SAS data set or an external file and returns a value

FAPPEND Appends the current record to the end of an external file and returns a value

FCLOSE Closes an external file, directory, or directory member, and returns a value

FCOL Returns the current column position in the File Data Buffer (FDB)

FDELETE Deletes an external file or an empty directory

FEXIST Verifies the existence of an external file associated with a fileref and returns a value

FGET Copies data from the File Data Buffer (FDB) into a variable and returns a value

FILEEXIST Verifies the existence of an external file by its physical name and returns a value

FILENAME Assigns or deassigns a fileref for an external file, directory, or output device and returns a value

FILEREF Verifies that a fileref has been assigned for the current SAS session and returns a value

FINFO Returns the value of a file information item

FNOTE Identifies the last record that was read and returns a value that FPOINT can use

FOPEN Opens an external file and returns a file identifier value
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-1-4 12:55:53
FOPTNAME Returns the name of an item of information about a file

FOPTNUM Returns the number of information items that are available for an external file

FPOINT Positions the read pointer on the next record to be read and returns a value

FPOS Sets the position of the column pointer in the File Data Buffer (FDB) and returns a value

FPUT Moves data to the File Data Buffer (FDB) of an external file, starting at the FDB's current column position, and returns a value

FREAD Reads a record from an external file into the File Data Buffer (FDB) and returns a value

FREWIND Positions the file pointer to the start of the file and returns a value

FRLEN Returns the size of the last record read, or, if the file is opened for output, returns the current record size

FSEP Sets the token delimiters for the FGET function and returns a value

FWRITE Writes a record to an external file and returns a value

MOPEN Opens a file by directory id and member name, and returns the file identifier or a 0

PATHNAME Returns the physical name of a SAS data library or of an external file, or returns a blank

SYSMSG Returns the text of error messages or warning messages from the last data set or external file function execution

SYSRC Returns a system error number
External Routines CALL MODULE Calls the external routine without any return code

CALL MODULEI Calls the external routine without any return code (in IML environment only)

MODULEC Calls an external routine and returns a character value

MODULEIC Calls an external routine and returns a character value (in IML environment only)

MODULEIN Calls an external routine and returns a numeric value (in IML environment only)

MODULEN Calls an external routine and returns a numeric value
Financial COMPOUND Returns compound interest parameters

CONVX Returns the convexity for an enumerated cashflow

CONVXP Returns the convexity for a periodic cashflow stream, such as a bond

DACCDB Returns the accumulated declining balance depreciation

DACCDBSL Returns the accumulated declining balance with conversion to a straight-line depreciation

DACCSL Returns the accumulated straight-line depreciation

DACCSYD Returns the accumulated sum-of-years-digits depreciation

DACCTAB Returns the accumulated depreciation from specified tables

DEPDB Returns the declining balance depreciation

DEPDBSL Returns the declining balance with conversion to a straight-line depreciation

DEPSL Returns the straight-line depreciation

DEPSYD Returns the sum-of-years-digits depreciation

DEPTAB Returns the depreciation from specified tables

DUR Returns the modified duration for an enumerated cashflow

DURP Returns the modified duration for a periodic cashflow stream, such as a bond

INTRR Returns the internal rate of return as a fraction

IRR Returns the internal rate of return as a percentage

MORT Returns amortization parameters

NETPV Returns the net present value as a fraction

NPV Returns the net present value with the rate expressed as a percentage

PVP Returns the present value for a periodic cashflow stream, such as a bond

SAVING Returns the future value of a periodic saving
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-1-4 12:56:31
YIELDP Returns the yield-to-maturity for a periodic cashflow stream, such as a bond
Hyperbolic COSH Returns the hyperbolic cosine

SINH Returns the hyperbolic sine

TANH Returns the hyperbolic tangent
Macro CALL EXECUTE Resolves an argument and issues the resolved value for execution

CALL SYMPUT Assigns DATA step information to a macro variable

RESOLVE Returns the resolved value of an argument after it has been processed by the macro facility

SYMGET Returns the value of a macro variable during DATA step execution
Mathematical ABS Returns the absolute value

AIRY Returns the value of the airy function

CNONCT Returns the noncentrality parameter from a chi-squared distribution

COMB Computes the number of combinations of n elements taken r at a time and returns a value

CONSTANT Computes some machine and mathematical constants and returns a value

DAIRY Returns the derivative of the airy function

DEVIANCE Computes the deviance and returns a value

DIGAMMA Returns the value of the DIGAMMA function

ERF Returns the value of the (normal) error function

ERFC Returns the value of the complementary (normal) error function

EXP Returns the value of the exponential function

FACT Computes a factorial and returns a value

FNONCT Returns the value of the noncentrality parameter of an F distribution

GAMMA Returns the value of the Gamma function

IBESSEL Returns the value of the modified bessel function

JBESSEL Returns the value of the bessel function

LGAMMA Returns the natural logarithm of the Gamma function

LOG Returns the natural (base e) logarithm

LOG10 Returns the logarithm to the base 10

LOG2 Returns the logarithm to the base 2

MOD Returns the remainder value

PERM Computes the number of permutations of n items taken r at a time and returns a value

SIGN Returns the sign of a value

SQRT Returns the square root of a value

TNONCT Returns the value of the noncentrality parameter from the student's t distribution

TRIGAMMA Returns the value of the TRIGAMMA function
Probability CDF Computes cumulative distribution functions
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群