Press "Enter" to skip to content

Posts tagged as “Stata”

Stata

Student Name: Institutional Affiliation: Introduction In statistical modelling different models are usually considered depending on the type of response variable that the researcher is using. For example, if the outcome variable is continuous then the normal regression method may be used. In this data however, the outcome variable or the dependent variable is binary in that it takes up two outcomes which are smoker and non-smoker. For appropriate analysis using STATA, 0 was coded for smoker and 1 for non-smoker. When the response variable is binary, in most cases the logistic regression model is usually employed. 1. Consider a binary…