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
Spmatrix command and its memory needDear All, I am using Stata 16. I try to run spatial regressions with sp commands. I am using an eco…
Reading multiple files with infix #delimHi, I am a beginner in Stata, and I'm trying to do read a number of files to form a dataset (and pos…
Dropping excess character - String variableDear All, I have a string variable which captures the ICD-10 codes. However, some of the codes have…
egen concat including if functionI have a very simple issue, and I read some help material but can't quite solve it. I want to create…
significance of dynamic multiplierhow can we understand that dm is significant by looking at dm table? below figure is taken as an exc…
Subscribe to:
Post Comments (Atom)
0 Response to graph box plot with 6 variables and two groups
Post a Comment