Hello,
I relatively new to STATA and would really appreciate some help! I am trying to covert my dataset from long to wide using below command:
reshape wide pseudo_eventid eventcode days_from_diag_to_treat providercode providerdesc within_six_months_flag ca_of_providercode_name, i(pseudo_patientid) j(event)
However I receive the error message "variable event contains all missing values" yet I have no missing data in this variable. Event is numeric.
The dataset consists of 8 merged datasets and 170 variables...
Can anybody suggest where I might be going wrong by any chance please?
I relatively new to STATA and would really appreciate some help! I am trying to covert my dataset from long to wide using below command:
reshape wide pseudo_eventid eventcode days_from_diag_to_treat providercode providerdesc within_six_months_flag ca_of_providercode_name, i(pseudo_patientid) j(event)
However I receive the error message "variable event contains all missing values" yet I have no missing data in this variable. Event is numeric.
The dataset consists of 8 merged datasets and 170 variables...
Can anybody suggest where I might be going wrong by any chance please?
Comment