I have a dataset from a prevalence study. The prevalence study was not run every year so for example I have data from 2001, 2003, 2004, 2006, 2007, 2008, 2010, 2011, 2013, 2015, 2016. 2018 and I want to see if year is a "risk factor" for increasing prevalence. As I have missing years would it be appropriate to categorise the years in to 5 year bins so for example 2000-2004, 2005-2009, 2010-2014, 2015-2019 and that way I'd have three years worth of data within each category.
Related Posts with missing values in logistic regression
Analysing Gravity outputHi all. i need help here, i am analyzing the effects of trade facilitation on trade flows using grav…
same code, same data, different results (sort isn't working)I am dropping observations based on the if statement (drop if entryyear~=entryyear_surv) written in …
IV approach flips the signs of exogenous covariates' coefficient estimatesAfter implementing an IV probit model, the signs of many exogenous covariates' coefficient estimates…
egen command related to count based on a conditionDear All Code: input str1 firm float(sales) int year "a" . 2010 "a" . 2011 "a" 5 2012 "b" 6 2010 "b…
GLM - Offset termHi, I am running a GLM - Poisson Family Identity Link model to show the impact of various predictor …
Subscribe to:
Post Comments (Atom)
0 Response to missing values in logistic regression
Post a Comment