Dear Altruistic,
I have to manage a lot of microbiological data for which analysis method is not so common like central tendency measures evaluated in GM. But I faced several problems.
1. To calculate geometric mean I have to take log of the Mac_mtec Mac_Cip Mac_Cefo. Which log conversion command is perfect to find geometric mean of the variables (log, log10)? Different log conversion provide different results cause natural and 10 base log.
2. Using means command 95% CI is available but how to find SD of GM?
I have to manage a lot of microbiological data for which analysis method is not so common like central tendency measures evaluated in GM. But I faced several problems.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str8 Sample_ID byte Sample_Type double(Arsenic_microgm_L Mac_mtec Mac_Cip Mac_Cefo) "RH-001" 1 . 20000000 200000 200000 "RH-001" 2 . 1.200e+08 30000000 2960000 "RH-001" 3 458 21 0 1 "RH-002" 1 . 17200000 9200000 10800000 "RH-002" 2 . 7.200e+08 7200000 5800000 "RH-002" 3 508 35 11 1 "RH-003" 3 502 130 120 10 "RH-003" 2 . 1.200e+08 3000000 4800000 "RH-003" 1 . 1.000e+08 11400000 600000 "RH-004" 3 506 9 0 0 end label values Sample_Type Sample_Typel label def Sample_Typel 1 "MS", modify label def Sample_Typel 2 "CS", modify label def Sample_Typel 3 "WU", modify
2. Using means command 95% CI is available but how to find SD of GM?
Comment