Hey STATA
I have tried (now for a couple of hours) to make an graph hbox with different variables
1.RVSWi_rest_gangSVi
2.PAcompliance_rest
3.papsys_rest
4.RVSWi_200w_gangSVi
5.PAcompliance_200w
6.papsys_200w
These variables are measured in an exercise test where the first 3 is at rest and the last 3 is during exercise. Now, I made a group (EROgroup) dividing these groups depending on there heart regurgitation.
What im trying to do is graph hbox plot in one graph where I have three variables at divided by the EROgroup at REST and the last three divided by the EROgroup at EXERCISE.
what I have done until now is making to box plot and graph combine. but is it possible to make the wanted graph??
graph hbox RVSWi_rest_gangSVi PAcompliance_rest papsys_rest_outlier , ///
legend(order(1 "Right Ventricle Stroke Work Index (g/(m2*beat))" 2 "Pulmonary Artery Compliance (ml/mmHg)" 3 "Systolic Pulmonary Artery Pressure (mmHG)") rows(3)) ///
over(EROgroup) title("Right ventricle function in MR") ///
subtitle ("(46 preoperative MR patients divided by ERO)""") ///
name(RVSWiboxplot_rest, replace)
*box plot at exercise
graph hbox RVSWi_200w_gangSVi PAcompliance_200w papsys_200w , ///
legend(order(1 "Right Ventricle Stroke Work Index (g/(m2*beat))" 2 "Pulmonary Artery Compliance (ml/mmHg)" 3 "Systolic Pulmonary Artery Pressure (mmHG)") rows(3)) ///
over(EROgroup) title("Right ventricle function in MR") ///
subtitle ("(46 preoperative MR patients divided by ERO)""") ///
name(RVSWiboxplot_200w, replace)
Related Posts with graph box plot with 6 variables and two groups
Tab2xl issuesHello everyone, I've just come across tab2xl and have been trying to include it in a loop to get a …
how to generate the median variable by industry every 3 years?Hello everyone: I am trying to get the median of the sales growth rate for all the companies within…
delimiters not recognized by stata when importing txtDear statalist, I have a txt file which I would like to import in stata. The delimiter I use is "§"…
Generating new variable which estimates the mean of a group of identifiersDear all, I am currently working with a dataset which contains the following variables: id (industr…
Descriptive statistics if command error r(198)Hi everyone, I am trying to create a descriptive statistics table of my data but only for the cases…
Subscribe to:
Post Comments (Atom)
0 Response to graph box plot with 6 variables and two groups
Post a Comment