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
Standard Error Correction Time Series AnalysisHello, I am currently working on a time series analysis project. I have autocorrelation in the erro…
How to set that I have cross-sectional database from different yearHello Guys, I have cross-sectional observations from 10 different years. As the respondents vary ye…
Correct for optimism in prediction modelling using bootstrapping (bsample command), is this the correct approach?Dear statalist users, I have a question about the bsample command in STATA. I want to use this comm…
Defining a variable fitting to the size of a matrixHey everyone, im still new to stata so this is probably still a trivial question . for further compu…
Standardized variablesHi, I have panel data and defined my variables accordingly: xtset id q_date,q if i want to standard…
Subscribe to:
Post Comments (Atom)
0 Response to Bysort Qualifying Parts
Post a Comment