I am trying to create a dummy variable that indicates whether each discharge involves readmission. I only have data on the date of admission. However, readmission is subsequent hospitalization for the same patientId within 30 days of the index claim
Related Posts with String and dummy variable
Type Mismatch Error with tabcountThe data contain several unique classes "class_id" (byte, values 1-20) with students "student_id" (b…
command table with option markvar(newvar) creates error __000001 not foundWhy do the commands table and table twoway with the option markvar(newvar)create the error "__000001…
2SLS F-StatisticsHello, I am trying to apply 2SLS and obtaining a very high value for the First Stage F-Statistics (K…
How to reshape data with dates as variable names?Greetings everyone, I need your help reshaping my district-level daily temperature data from a wide…
renaming multi-variables using foreachHi, I am asking this clarification after going through STATA doc and some of the web content. Altho…
Subscribe to:
Post Comments (Atom)
0 Response to String and dummy variable
Post a Comment