I’m trying to find which qualifying part was treated after the first visit for the 2nd and 3rd visit but have hundreds of entries. I have tried encoding the parts and using bysort to try and solve this but unsure how to keep it per person per visit…
For each person (id 301, 302, 303, etc), each visit (1 2 3), a list of problems (1-4) by body part (by system) were given. Out of these body parts, the qualifying part (q_part) was treated at the first visit. There can be more than 1 qualifying part per visit and qualifying parts can skip a visit.
Array
Related Posts with Bysort Qualifying Parts
What does mean the error 'Invalid 'Bastos'?I am trying using flexpaneldid and glmdose commands in stata but I cannot run. Always the message In…
Fixed effects model and mediation analysisHi Statalists- I am working on a cross-national dataset with only 5 countries, and I want to constr…
Confused whether to use first difference variables when testing between modelsI am conducting research on panel data where N=16 and T=24. After conducting panel unit root tests I…
Problem: Independent variable is somewhat dependent on dependent variableDear all, so far I have been a read-only member and have several times profited greatly from your kn…
Block bootstrap codes for time series dataI'm looking to do OLS regression for time series data but there is potentially serially correlated e…
Subscribe to:
Post Comments (Atom)
0 Response to Bysort Qualifying Parts
Post a Comment