OUTPUT
In this program we have used where statement to print the observations from data set based on some conditions.
OUTPUT
Here we have Used retain statement and sum to find the sale to date that is cumulative sales.
OUTPUT
Using do statement to run an iterative loop and find the log for each value.
OUTPUT
Using do until to find the number of years for the amount to reach atleast 30,000.
OUTPUT
using yrdif function to find age from dates.
OUTPUT
intck function is used to find the number of months between two dates. it can be used to find number of years,weekdays as well as quarters between two specific dates.
OUTPUT
OUTPUT
Using in function with merge and getting output based on conditions.
OUTPUT
The use of n and nmiss function to find number of non missing and missing values.
OUTPUT
Use of arrays to replace 999 with missing value.