Hello Statalisters,
I thought I'd try to present some descriptive data in a graphical form rather than in a dense table. I am exploring using pvenn to create some Venn diagrams after a series of factor analyses. I have several questions for anyone who has experience with pvenn.
1) Does anyone know how to add value labels to indicate the proportion residing inside and/or outside the intersection areas?
2) Does anyone know how to manipulate other aspects elements of the graph, e.g. line color and style? I am inconvenienced by the lack of documentation for this add in; If anyone could direct me to more documentation/instructions, I'd be grateful. My current code is very bare-bones, simply:
3) I am also repeating the Venns on a series of samples (separate datasets) and want to present the diagrams as a set of small multiples for comparison purposes. For most of the resulting diagrams, I am able to plot the total population, indicated by a rectangular border showing the proportion of the total sample lying outside of the two-three variables in the Venn ellipses. However, for up to one third of my diagrams, I cannot plot the total population. This is because proportion experiencing one or more of the "Venned" variables is so high that the area outside the ellipses can't be represented proportionally. My question is this: Is there any way to "trick" it into plotting the total population by altering the scale of the area outside the ellipses (say 2:1) while keeping the scale within any of the ellipses as is (1:1)? I.e. each unit of area within an ellipse would represent one case, but each unit of area outside (between the ellipses and the border) would represent 0.5 cases. [If so, obviously I would use the same altered scale on all items in the small multiple set.]
Thank you!
Kerry
I thought I'd try to present some descriptive data in a graphical form rather than in a dense table. I am exploring using pvenn to create some Venn diagrams after a series of factor analyses. I have several questions for anyone who has experience with pvenn.
1) Does anyone know how to add value labels to indicate the proportion residing inside and/or outside the intersection areas?
2) Does anyone know how to manipulate other aspects elements of the graph, e.g. line color and style? I am inconvenienced by the lack of documentation for this add in; If anyone could direct me to more documentation/instructions, I'd be grateful. My current code is very bare-bones, simply:
pvenn marcon EVPVany SVanyThis produces a Venn with red, green, and gold lines. I'd like to be able to customize the colors for presentations and convert to black and white solid / dashed lines for B&W printing. I'd also like to make changes to the variable labels and legend.
graph save "Venn_`c'", replace
3) I am also repeating the Venns on a series of samples (separate datasets) and want to present the diagrams as a set of small multiples for comparison purposes. For most of the resulting diagrams, I am able to plot the total population, indicated by a rectangular border showing the proportion of the total sample lying outside of the two-three variables in the Venn ellipses. However, for up to one third of my diagrams, I cannot plot the total population. This is because proportion experiencing one or more of the "Venned" variables is so high that the area outside the ellipses can't be represented proportionally. My question is this: Is there any way to "trick" it into plotting the total population by altering the scale of the area outside the ellipses (say 2:1) while keeping the scale within any of the ellipses as is (1:1)? I.e. each unit of area within an ellipse would represent one case, but each unit of area outside (between the ellipses and the border) would represent 0.5 cases. [If so, obviously I would use the same altered scale on all items in the small multiple set.]
Thank you!
Kerry
Comment