/* purpose: Shows how to read in multiple raw data files in one data step. This example reads fixed columns data, but it can be modified to read other kinds…
Read More
Search Results for: what stat should i use
Summary table for multiple regression models | SAS Code Fragments
The following code creates a table of results for a series of regressions. The resulting table will look like the one shown below. The coefficients for each variable are listed,…
Read More
Simple linear and nonlinear models using mcmc | SAS Code Fragments
This SAS Code Fragment page shows examples of simple linear and nonlinear models using propc mcmc. Please note that the page only shows diagnostic plots for the first model. Users…
Read More
One-way Anova Power Analysis | SAS Data Analysis Examples
Introduction Power analysis is the name given to the process for determining the sample size for a research study. The technical definition of power is that it is the probability…
Read More
Latent Class Analysis | SAS Data Analysis Examples
Note: This example is done in PROC LCA 1.3.2. PROC LCA is developed for SAS version 9.4 for Windows by the Methodology Center at Penn State. It can be downloaded…
Read More
Logit Regression | SAS Data Analysis Examples
Logistic regression, also called a logit model, is used to model dichotomous outcome variables. In the logit model the log odds of the outcome is modeled as a linear combination…
Read More
Multinomial Logistic Regression | SAS Data Analysis Examples
Version info: Code for this page was tested in SAS 9.3. Multinomial logistic regression is for modeling nominal outcome variables, in which the log odds of the outcomes are modeled…
Read More
Multivariate Regression Analysis | SAS Data Analysis Examples
As the name implies, multivariate regression is a technique that estimates a single regression model with multiple outcome variables and one or more predictor variables. Please Note: The purpose of…
Read More
Negative Binomial Regression | SAS Data Analysis Examples
Negative binomial regression is for modeling count variables, usually for over-dispersed count outcome variables. Please note: The purpose of this page is to show how to use various data analysis…
Read More
Ordinal Logistic Regression | SAS Data Analysis Examples
Version info: Code for this page was tested in SAS 9.3. Examples of ordered logistic regression Example 1: A marketing research firm wants to investigate what factors influence the size…
Read More
