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
margins - factor variables may not contain noninteger valuesDear all, i want to create a marginsplot of the variables returnoninvestment and pat_yr but I got t…
Time-invariant industry effects strugglesDear all, I'm currently writing my pre-master thesis. For my thesis, I have panel data and ran a Ne…
Endogeneity with Hausman test?Hello all, I'm finishing up my master thesis and I received feedback that I should include something…
Power for one group proportion where sample size is sufficient for lower 95%CI to be above a certain thresholdHi I am trying to replicate the sample size calculation from a 1:1 RCT. The sample size is based on…
CI for smoothed scaled Schoenfeld residuals after fitting Cox modelDear Stata list I would like to estimate a CI for the smoothed scaled Schoenfeld residuals after fi…
Subscribe to:
Post Comments (Atom)
0 Response to Bysort Qualifying Parts
Post a Comment