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
Mediation analysis (bias-corrected bootstrapping): Using panel survey data with fixed effects (sem/gsem/xtdpdml command)Hello, I am new to the Stata forum (let me know if I have not correctly followed the forum's rules)…
Validity of exclusion restriction in an Heckman IV modelDear Statalist Users, I was hoping to get some inputs on how to evaluate the validity of the exclus…
How to add scatter plot to xtline and modify its colours accordinglyHi, I'm trying to add orginial data to xtline. Sometimes a unit exhibits a constant variable over se…
Gender wage gap, hourly wage or weekly wageHello everyone, I am doing a project on gender wage gap using Oaxaca Decomposition. I am wondering …
Editing graphHi, I need to edit a graph that starts from 0 to start from 10. I know how to change the x axis ran…
Subscribe to:
Post Comments (Atom)
0 Response to graph box plot with 6 variables and two groups
Post a Comment