My data set consists of a survey of organizations across three waves to understand their delivery of services during covid. Its panel data is from three waves of the survey in the long format. Some organizations participated in all three waves of the survey (1-3), some just participated in 2 waves (wave 1&2 or 1&3), and most just participated in one survey. My current data is unbalanced. Please see the example of the dataset below.
clear
input
int ID int wave int delivery int budget int type int concern
1 1 1 1 1 3
1 2 3 1 1 4
1 3 4 1 1 5
2 1 2 3 2 3
3 1 4 2 1 4
3 3 5 2 1 5
5 1 3 1 2 3
5 2 4 1 2 5
10 1 3 3 3 3
10 2 4 3 3 4
10 3 5 3 3 5
xtset ID wave
Since my dependent variable (delivery) is ordinal and time-varying, I am using xtologit. I am interested in understanding the effect of time (wave 1-3) on my independent variable (concern). I tried to read Allison's book but I am not sure how to include time-varying IV in the model. That is, model organization's concern's across wave 1,2 & 3 and its effect on DV (delivery).
Thanks so much for the help!
Related Posts with Panel data: Time varying IV
Using 7z in Stata (through terminal or shell command)Dear Statalist users, I am trying to unzip a large number of .7z files in Stata. I am a MAC OS user…
Spatial autoregressive model + panelDear all, I would need help setting up a dataset for STATA correctly. I would like to perform a spat…
Estimating Condtional margins after CMP commandHello, We are running a model with a binary Y and two binary endonegous X variables X1 and X2 which…
Sar: Automatic generation of statistical reports using Stata and Microsoft Word for WindowsHi Statalist, Im trying to do following paper "https://ift.tt/3kglnMi", but fail to setup and execu…
Interaction terms on Gologit2Hi there, With all the articles Prof. Richard Williams has released about gologit2, I feel I have a…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data: Time varying IV
Post a Comment