Skip to menu

PSM 관련 문의 드립니다.

bullet57 2023.12.21 04:10 Views : 46

 

Web-R 에서 PSMTable(matched) 로 매칭 전후 독립변수들 비교하는 table이 출력되었는데

다른 결과들에서는 제가 매칭한 변수들 19개 모두 잘 사용되었는데 

아래와 같이 PSMTable 결과에서는 변수 4개만 출력됩니다. 

모든 변수들의 결과가 포함된 table 을 얻을 수는 없는지요? 

 

참고로 dataset 첨부해드리고 

 

아래 변수명이 모두 포함된 명령문입니다. 

 

matchit(Platelet_group~Sex+Age+Body_mass_index+peritonitis+bowel_obstruction+bowel_ischemia_or_infarction+gastric_perforation+bowel_perforation+gastrointestinal_ulcer+Hypertension+Diabetes_Mellitis+History_of_ischemic_heart_disease+COPD+Stroke+Previous_abdominal_surgery+ASA_classification+Preoperative_Hemoglobin+Preop_serum_Albumin+operation_time,data= Em_Abd_Surgery,caliper=0.2)

 

matched <-matchit(Platelet_group~Sex+Age+Body_mass_index+peritonitis+bowel_obstruction+bowel_ischemia_or_infarction+gastric_perforation+bowel_perforation+gastrointestinal_ulcer+Hypertension+Diabetes_Mellitis+History_of_ischemic_heart_disease+COPD+Stroke+Previous_abdominal_surgery+ASA_classification+Preoperative_Hemoglobin+Preop_serum_Albumin+operation_time,data= Em_Abd_Surgery,caliper=0.2);matched

 

그리고 PSMTable 은 MatchIt 외에 어떤 package가 필요한 것인지요? 

 

 

감사합니다.