Stata anova post hoc
Two-way anova stata
One-way anova stata!
A one-way ANOVA is used to determine whether or not there is a statistically significant difference between the means of three or more independent groups.
This type of test is called a one-way ANOVA because we are analyzing how one predictor variable impacts a response variable.
If we were instead interested in how two predictor variables impact a response variable, we could conduct a two-way ANOVA.
This tutorial explains how to conduct a one-way ANOVA in Stata.
Example: One-Way ANOVA in Stata
In this example we will use the built-in Stata dataset called systolic to perform a one-way ANOVA.
This dataset contains the following three variables for 58 different individuals:
- Drug used
- Patient’s disease
- Change in systolic blood pressure
We will use the following steps to perform a one-way ANOVA to find out if the type of drug used leads to a significant impact in the change in systolic blood pressure.
Step 1: Load the data.
First, load the data by typing webuse systolic in the command box and clicking Enter.
Step 2: View the raw data.
Before we pe