Regression in SAS
How to Perform Polynomial Regression in SAS
The most common type of regression analysis is simple linear regression, which is used when a predictor variable and a response variable have a...
Regression in SAS
How to Perform Quantile Regression in SAS
Linear regression is a method we can use to understand the relationship between one or more predictor variables and a response variable.
Typically when we...
Descriptive Statistics in SAS
SAS: How to Specify Number of Bins in Histogram
You can use the midpoints statement to specify the number of bins that should be used in a histogram in SAS.
This statement uses the...
Data Munging in SAS
How to Convert Datetime to Date in SAS
The easiest way to convert a datetime to a date in SAS is to use the DATEPART function.
This function uses the following basic syntax:
date...
Descriptive Statistics in SAS
How to Calculate Deciles in SAS (With Example)
In statistics, deciles are numbers that split a dataset into ten groups of equal frequency.
The first decile is the point where 10% of all...
Data Munging in SAS
SAS: Convert Numeric to Character with Leading Zeros
You can use the following basic syntax to convert a numeric variable to a character variable with a specific amount of leading zeros in...
Descriptive Statistics in SAS
How to Calculate Quartiles in SAS (With Examples)
You can use the following basic syntax to calculate the quartiles for a dataset in SAS:
/*calculate quartile values for variable called var1*/
proc univariate data=original_data;
...
Subscribe
- Never miss a story with notifications
- Gain full access to our premium content
- Browse free from up to 5 devices at once
Must read