The ttest command performs t-tests for one sample, two samples and paired observations. The single-sample t-test compares the mean of the sample to a given number (which you supply). The…
Read More
Search Results for: what stat should i use
Applied Survey Data Analysis in Stata 11
The purpose of this seminar is to explore some issues in the analysis of survey data using Stata 11. Before we begin, you will want to be sure that your…
Read More
Applied Survey Data Analysis in Stata 13
The purpose of this workshop is to explore some issues in the analysis of survey data using Stata 13. Before we begin, you will want to be sure that your…
Read More
Applied Survey Data Analysis in Stata 9
The purpose of this seminar is to explore some issues in the analysis of survey data in Stata 9. Before we begin looking at examples in Stata, we will quickly…
Read More
Applied Survey Data Analysis in Stata 9
The purpose of this seminar is to explore some issues in the analysis of survey data in Stata 9. Before we begin looking at examples in Stata, we will quickly…
Read More
Multilevel Modeling in Stata 12
The purpose of this seminar is to introduce multilevel modeling using Stata 12. Before we begin, you will want to be sure that your copy of Stata is up-to-date. To…
Read More
Repeated Measures Analysis with Stata
Repeated Measures Analysis with Stata Data: wide versus long Repeated measures data comes in two different formats: 1) wide or 2) long. In the wide format each subject…
Read More
How do I use version 7 graph commands in later versions of Stata? | Stata FAQ
Say that we use the hsb2 data file for the examples shown here. use https://stats.idre.ucla.edu/stat/stata/notes/hsb2, clear and say that you wanted to see the scatterplot and regression line between write…
Read More
How can I fit a random intercept or mixed effects model with heteroskedastic errors in Stata? | Stata FAQ
It is common to fit a model where a variable (or variables) has an effect on the expected mean. You may also want to fit a model where a variable…
Read More
How can I overlay two histograms? | Stata FAQ
This sounds like it should be pretty easy. Let’s load the hsbdemo dataset and overlay histograms for males and female for the variable write. use https://stats.idre.ucla.edu/stat/data/hsbdemo, clear twoway (histogram write…
Read More