Hi I am doing repeat cross sectional analysis over 10 years (discharge_year) for of a categorical measure (oc_mix) which have 3 categories(weak, strong, both). I started doing just a descriptive analysis and plotted stacked bar, and calculated the numbers and proportion for each of the category each year. I want now to test if the upward, downward or fluctuating trend seen in each category is statistically significant or not. not sure which test should I use. is it chi square for trend or ologit or some thing else and how to use it in STATA.
discharge year oc_mix
strong week both
2010 1,390 500 200
2011 1450 600 300
2012 1500 679 400
2013 1600 800 100
Related Posts with trend over years for categorical variable
intercation term same value as main variableDear all, Since I think it is more appropriate to ask this question in a different topic, I created…
Multinomial Logit and estoutI am using estout (SSC) on Stata 16.1 to tabulate the results of a multinomial logit regression. I w…
Bootstrap local projections impulse responses/historical decompositionsDear Statalisters, I am trying to bootstrap the impulse response function that I obtain from a loca…
need to count experiences of employee with respect to yearHi experts I want to count the experiences of employees (i.e., personalID), with respect to years su…
estout: what is the stats label for LR chi2 in logistic regressionI run a logistic regression and would like to print out LR Chi2 statistics using Code: estout Code…
Subscribe to:
Post Comments (Atom)
0 Response to trend over years for categorical variable
Post a Comment