Density Distribution Sunflower Plots in Stata Version 8
Density distribution sunflower plots are used to display high-density bivariate data. They are useful for data where a conventional scatter plot is difficult to read due to overstriking of the plot symbol. The x-y plane is subdivided into a lattice of regular hexagonal bins of width w specified by the user. The user also specifies the values of l, d, and k that affect the plot as follows. Individual observations are plotted when there are less than l observations per bin as in a conventional scatter plot. Each bin with from l to d observations contains a light sunflower. Other bins contain a dark sunflower. In a light sunflower each petal represents one observation. In a dark sunflower, each petal represents k observations. The user can control the sizes and colors of the sunflowers. By selecting appropriate colors and sizes for the light and dark sunflowers, plots can be obtained that give both the overall sense of the data density distribution as well as the number of data points in any given region. The use of this graphic is illustrated with data from the Framingham Heart Study. Stata version 8.2 contains a program, called sunflower, that draws these graphs.
Year of publication: |
2004-07-15
|
---|---|
Authors: | Dupont, William D. |
Institutions: | Stata User Group |
Saved in:
Saved in favorites
Similar items by person
-
Using Stata v9 to model complex non-linear relationships with restricted cubic splines
Dupont, William D., (2005)
-
Using density-distribution sunflower plots to explore bivariate relationships in dense data
Dupont, William D., (2005)
-
Exact confidence intervals for odds ratios from case-control studies
Dupont, William D., (2000)
- More ...