I have 30 Patients with their 100 clinical data such as weight,BMI, waist etc and i want to take mean and SD for all the patients based on their Disease status For example my data set looks like
Patient_id DateOfBirth Sex Weight1 Bmi1 Wasit1 Disease
204065 25-06-1995 Female 113.8 41.3 105.8 0
200214 09-12-1990 Female 90 35.6 108 1
191633 14-09-1971 Male 128.4 47 150 1
186156 22-09-1967 Male 157.3 51.4 145.6 0
and i want output based on their disease status like
Disease weight1Mean Weight1SD BMI1Mean BMI1SD Waist1Mean WaistSD
0 135 30.7 46.3 7.14 125.7 28.1
1 109 27.1 41.3 8.06 129 29.7