Hi,
I want to obtain summary data (specifically total sum) by using a couple of conditions. I want the sum total of variables "patients" and "providers" categorized by variables "year" and "region" for a specific variable "stress_echo". I tried a couple of different codes, including the one below, and I cannot seem to get it.
Thanks for the help
. tab year region, sum (patients providers) if stress_echo==1
option if not allowed
r(198);
. total patients providers by year region if stress_echo==1
variable by not found
r(111);
I want to obtain summary data (specifically total sum) by using a couple of conditions. I want the sum total of variables "patients" and "providers" categorized by variables "year" and "region" for a specific variable "stress_echo". I tried a couple of different codes, including the one below, and I cannot seem to get it.
Thanks for the help
. tab year region, sum (patients providers) if stress_echo==1
option if not allowed
r(198);
. total patients providers by year region if stress_echo==1
variable by not found
r(111);
Comment