The example here is taken from Chapter 7 of Greene’s Econometric Analysis, Fourth Edition. clear input year y c 1950 791.8 733.2 1951 819.0 748.7 1952 844.3 771.4 1953 880.0…
Read More
Search Results for: what stat should i use
Fitting a seemingly unrelated regression (sureg) manually | Stata Code Fragments
The Stata command sureg runs a seemingly unrelated regression (SUR). That is a regression in which two (or more) unrelated outcome variables are predicted by sets of predictor variables. These…
Read More
_Change_me_to_your_model | Stata Data Analysis Examples
Examples of _your_model Example 1. Example 2. Example 3. Description of the Data _Describe_your_data_in_this_section, in Stata, all the data sets should be read in from the internet by using Let’s…
Read More
One-way Anova Power Analysis | Stata 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
Interval Regression | Stata Data Analysis Examples
Version info: Code for this page was tested in Stata 12. Interval regression is used to model outcomes that have interval censoring. In other words, you know the ordered category…
Read More
Additional Interval Regression Example | Stata Data Analysis Examples
This page covers Example 2 from the interval regression data analysis example. The issue addressed here is how to analyze data that has both interval-censored and left-censored and right-censored values….
Read More
Logistic Regression | Stata Data Analysis Examples
Logistic Regression 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…
Read More
Logistic Regression Power Analysis | Stata 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
Multinomial Logistic Regression | Stata Data Analysis Examples
Version info: Code for this page was tested in Stata 12. Multinomial logistic regression is used to model nominal outcome variables, in which the log odds of the outcomes are…
Read More
Multivariate Regression Analysis | Stata Data Analysis Examples
Version info: Code for this page was tested in Stata 12. As the name implies, multivariate regression is a technique that estimates a single regression model with more than one…
Read More
