Hi Stata users,
I apologize in advance if my question is simple. I am working with HCUP NIS dataset. There are 8,715 breast cancer patients who were hospitalized for doing "mastectomy", and 3,412 women were hospitalized to do "breast reconstruction". I am interested in doing a comparison in terms of "depression" between these two groups. Does it make sense if I do a case-control analysis; cases are those who did "mastectomy" and controls are those who did "breast reconstruction". And, I want to match them on age, length of stay (LOS) in hospital and Carlson comorbidity index.
Any suggestion is appreciated.
Here is the data:
I apologize in advance if my question is simple. I am working with HCUP NIS dataset. There are 8,715 breast cancer patients who were hospitalized for doing "mastectomy", and 3,412 women were hospitalized to do "breast reconstruction". I am interested in doing a comparison in terms of "depression" between these two groups. Does it make sense if I do a case-control analysis; cases are those who did "mastectomy" and controls are those who did "breast reconstruction". And, I want to match them on age, length of stay (LOS) in hospital and Carlson comorbidity index.
Any suggestion is appreciated.
Here is the data:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input int AGE byte DIED long LOS byte household_inc float(charlindex breast_cancer) byte depression float(race health_ins patient_resid) byte(mastectomy reconstruction) 50 0 2 4 1 0 1 1 3 1 0 0 77 0 2 2 1 0 0 2 1 2 0 0 39 0 1 3 1 0 0 3 2 2 0 0 65 0 5 1 0 0 0 2 4 4 0 0 58 0 8 1 2 0 1 1 2 4 0 0 68 0 1 4 4 0 0 2 1 1 0 0 32 0 16 1 0 0 0 1 3 3 0 0 62 0 2 1 2 0 0 1 1 1 0 0 73 0 3 2 0 0 0 1 1 3 0 0 27 0 1 1 1 0 0 1 3 3 0 0 82 0 3 4 5 0 0 2 1 1 0 0 75 0 6 1 4 0 0 3 1 3 0 0 38 0 12 4 3 0 0 2 2 1 0 0 50 0 6 4 4 0 1 1 2 1 0 0 56 0 3 2 2 0 0 1 4 3 0 0 61 0 2 4 1 0 0 1 3 1 0 0 78 0 4 1 4 0 0 2 1 1 0 0 61 0 3 2 0 0 0 1 3 4 0 0 48 0 2 2 0 0 1 1 3 1 0 0 58 0 1 1 2 0 1 1 3 2 0 0 82 0 2 1 0 0 0 1 1 2 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