STAT 440 Lecture 6: Functions

52 views3 pages

Document Summary

Sas has a wide variety of in built functions which help in analysing and processing the data. These functions are used as part of the data statements. They take the data variables as arguments and return the result which is stored into another variable. Depending on the type of function, the number of arguments it takes can vary. Some functions accept zero arguments while some other accept fixed number of variables. Below is a list of types of functions sas provides. The general syntax for using a function in sas is as below. Here the argument can be a constant, variable, expression or another function. Depending on their usage, the functions in sas are categorised as below. These are the functions used to apply some mathematical calculations on the variable values. The below sas program shows the use of some important mathematical functions. data math_functions; When the above code is run, we get the following output .

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents