Version info: Code for this page was tested in Stata 12. The tobit model, also called a censored regression model, is designed to estimate linear relationships between variables when there…
Read More
Search Results for: what stat should i use
Truncated Regression | Stata Data Analysis Examples
Version info: Code for this page was tested in Stata 12. Truncated regression is used to model dependent variables for which some of the observations are not included in the…
Read More
Zero-inflated Negative Binomial Regression | Stata Data Analysis Examples
Version info: Code for this page was tested in Stata 17. Zero-inflated negative binomial regression is for modeling count variables with excessive zeros and it is usually for over-dispersed count…
Read More
Zero-inflated Poisson Regression | Stata Data Analysis Examples
Version info: Code for this page was tested in Stata 12. Zero-inflated poisson regression is used to model count data that has an excess of zero counts. Further, theory suggests…
Read More
Applied Longitudinal Data Analysis: Modeling Change and Event Occurrence by Judith D. Singer and John B. Willett Chapter 15: Extending the Cox Regression Model | Stata Textbook Examples
Table 15.1, page 548. use https://stats.idre.ucla.edu/stat/stata/examples/alda/data/firstcocaine, clear generate event = ~censor stset cokeage, failure(event) failure event: event ~= 0 & event ~= . obs. time interval: (0, cokeage] exit on…
Read More
Stata Programs for Data AnalysisHow can I use postgr3 for making graphs after estimation commands?
Using postgr3 with multiple regression, no interactions Using postgr3 with multiple regression, with interactions More on options when using postgr3 postgr3 with other estimation models This page will illustrate the…
Read More
Stata Teaching Tools: Graphing logistic regression curves
Purpose: The purpose of this program is to show the regression line between X and Y in logistic regression, and to demonstrate the influence on this line as the intercept,…
Read More
Stata Teaching Tools: Graphing logistic regression curves
Purpose: The purpose of this program is to show the regression line between X and Y in logistic regression, and to demonstrate the influence on this line as the intercept,…
Read More
Stata Teaching Tools: Coin-tossing simulation
Purpose: The purpose of this program is to simulate the tossing of a coin or coins and to display the results in the form of a graph with the probability…
Read More
Stata Teaching Tools: Graphing logistic regression curves
Purpose: The purpose of this program is to show the regression line between X and Y in logistic regression, and to demonstrate the influence on this line as the intercept,…
Read More
