Examples Example 1. A clinical dietician wants to compare two different diets, A and B, for diabetic patients. She hypothesizes that diet A (Group 1) will be better than diet…
Read More
Search Results for: what stat should i use
Sample Power Data Analysis Examples Multiple Regression Power Analysis
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 the probability of detecting a…
Read More
Sample Power Data Analysis Examples Power Analysis for Paired Sample t-test
Examples Example 1. A company markets an eight week long weight loss program and claims that at the end of the program on average a participant will have lost 5…
Read More
Repeated Measures Analysis with R
There are a number of situations that can arise when the analysis includes between groups effects as well as within subject effects. We start by showing 4 example analyses using…
Read More
R Web Books Regression with R Chapter 4 – Beyond OLS
Chapter Outline 4.1 Robust Regression Methods 4.1.1 Regression with Robust Standard Errors 4.1.2 Using the Cluster Option 4.1.3 Robust Regression 4.1.4 Quantile Regression…
Read More
SAS
Classes and Seminars Learning Modules Frequently Asked Questions Important Links Where to run SAS? How to get SAS? Installing, Customizing, Updating, Renewing SAS SAS Online Documentation Statistical Analyses Data Analysis…
Read More
Copying and Combining SAS Format Libraries | SAS Code Fragments
How do you combine SAS format libraries? Say you have a format library in e:tempdata1 and a format library in e:tempdata2 and you want to combine them. Here is how…
Read More
Summary table for logistic regression models | SAS Code Fragments
The following code creates a table of results for a series of logistic regressions. The resulting table will look like the one shown below. The coefficients for each variable is…
Read More
Generating multiline axis labels in SAS PROC SGPLOT | SAS Code Fragments
SAS does not have any built-in options for formatting an axis label on separate lines. For example, in the graph below you may feel that the x-axis label “writing score…
Read More
Logistic, random intercept, and random slope regression models using nlmixed | SAS Code Fragments
This page shows how to run logistic, random intercept, and random slope regression models using proc nlmixed. This is done to demonstrate the use and flexibility of proc nlmixed, and…
Read More
