Hi, I have asked participants a question at Time 1 and Time 2. Is there any coding that could tell me the number of participants who said yes (1) at Time 1 and no (0) at Time 2? and how many said yes (1) at Time 2 and no (0) and Time 1? And how many said yes (1) at both?
Thanks
Related Posts with Comparing data at two time points
Proportional redistributionI have a dataset with a variable sex (male, female, unknown), I want to create a new variable that w…
Reshape Data panel to wideHi everyone, I struggle to reshape my panel data to wide. The idea is to start from this: Code: …
how to remove certain value?Hello! I'm a new STATA user and I have a variable like this: Physical activity 3 4 3 2 0 How can …
compare value different variable and rowshello, I want to compare values of two varible in diffrent rows. For example vr1 vr2 10 20 20 30 40 …
How to do bootstrap test for a nonlinear mediation effect with a moderator and fixed effectsHi Statalist, I have a problem about how to use bootstrap test to further detect a mediation proces…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing data at two time points
Post a Comment