Examples Example 1. A company that manufactures light bulbs claims that a particular type of light bulb will last 850 hours on average with standard deviation of 50. A consumer…
Read More
Search Results for: stata
Power Analysis for Two-group Independent sample t-test | Stata Data Analysis Examples
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
Power Analysis for Paired Sample t-test | Stata Data Analysis Examples
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
Tobit Analysis | Stata Data Analysis Examples
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
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
Zero-Truncated Negative Binomial | Stata Data Analysis Examples
Version info: Code for this page was tested in Stata 12. Zero-truncated negative binomial regression is used to model count data for which the value zero cannot occur and when…
Read More
Zero-Truncated Poisson Regression | Stata Data Analysis Examples
Version info: Code for this page was tested in Stata 12. Zero-truncated poisson regression is used to model count data for which the value zero cannot occur. Please Note: The…
Read More
Applied Longitudinal Data Analysis: Modeling Change and Event Occurrence by Judith D. Singer and John B. Willett Chapter 10: Describing Discrete-time Event Occurrence Data | Stata Textbook Examples
Table 10.1, page 327. Note: The noadjust option suppresses the actuarial adjustment. use https://stats.idre.ucla.edu/stat/stata/examples/alda/data/teachers, clear generate event = ~censor ltable t event, noadjust Beg. Std. Interval Total Deaths Lost Survival…
Read More
