Good morning everyone, hope you're all well - and hope that you can help with some confusion.
I have a dataset where I am looking at a categorical variable describing monthly household income, and the dataset has two sources of clustering - over time, and from the randomisation procedure (cluster randomised trial, at health clinic level). The same people have responded at baseline and at follow-up. The dataset is in long format. I want to look at whether the stated household income has changed between baseline and follow-up. I'm working my way through the 'multilevel and longitudinal modeling using stata manual', and am having difficulty finding the relevant section and code that would take into account the clustering over time and account for clustering at the clinic level as well. Can anyone help with suggesting code for examining whether there has been a change in how respondents have answered the household income category between baseline and endline?
My variables are as follows:
hhincomecat:
0 "0-2,000 rand"
1 "2,000-5,000 rand"
2 "5,000-50,000 rand"
time:
0 Baseline
1 Post-lockdown
Health clinic:
categories 1-12 with name of clinic
Happy to give further information. Thanks in advance.
Related Posts with Comparing categorical variables over time in a randomised cluster trial
mlogit not concave when year dummies are includedDear Statalisters, I am running a mlogit regression. When I include year dummies in the regression, …
Turning point for quadratic and interaction termsHi, I used dynamic panel estimation model - GMM to examine the relationship between institutions an…
Generating duplicate observations with one variable changedI am working with data containing observations for patients undergoing a surgical procedure that is …
How should I keep only observations with consecutive data around certain events without missing values in some varsHi, I'm a new one to this forum, and I wanted to ask for some help regarding a (maybe naive) questi…
Using mi estimate with any commandThe formulas implemented by -mi estimate:- apply to any efficient estimator, but -mi estimate:- only…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing categorical variables over time in a randomised cluster trial
Post a Comment