In a large data set of various measurements (mean) examined different pathological conditions (pathology) from multiple organ (Region) sites in both treatment (tx) and control group (Con)
I would like to make a table with descriptive statistics (mean and SD) and ttest for comparison og the tx and Con for the different pathologies and regions
So far I cannot fint a way to make dtable command cathetorize by more than one group?
In can do it for individual regions, i.e.;
dtable mean if Pathology =="MLI" & Region == "Caudal lobe", by(Group, tests)
---------------------------------------------------------
Group
BPD C Total Test
---------------------------------------------------------
N 9 (52.9%) 8 (47.1%) 17 (100.0%)
mean 77.307 (10.528) 69.045 (8.197) 73.419 (10.143) 0.094
---------------------------------------------------------
but is there a way I could get STATA to analyse for all regions in one table?
I would like to make a table with descriptive statistics (mean and SD) and ttest for comparison og the tx and Con for the different pathologies and regions
So far I cannot fint a way to make dtable command cathetorize by more than one group?
In can do it for individual regions, i.e.;
dtable mean if Pathology =="MLI" & Region == "Caudal lobe", by(Group, tests)
---------------------------------------------------------
Group
BPD C Total Test
---------------------------------------------------------
N 9 (52.9%) 8 (47.1%) 17 (100.0%)
mean 77.307 (10.528) 69.045 (8.197) 73.419 (10.143) 0.094
---------------------------------------------------------
but is there a way I could get STATA to analyse for all regions in one table?

Comment