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
Ordered logit/probit fixed or random effectHello everyone, I have a question about the ordered probit, ordered probit random effect, ordered l…
Collecting PK values by id variable using statsbyHello fellow Stata forum users, "long time reader, first time caller" I have individual animal (she…
Binary outcomes over timeI have a binary outcome (yes/no= 1/0) over 10 survey rounds of data; I'd like to display trends in p…
Merging two variables with labelsHi - I have two variables that I'd like to merge with their labels (I have gender represented in two…
if the construction of two control variables contains the same variable, can I add them in the same regression at the same time?Hello, In a random effect regression, I have the control variable1: Ln(Total asset) and control var…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing categorical variables over time in a randomised cluster trial
Post a Comment