Tuesday, March 13, 2012
Scatter Plot Matrix in R
Stata has a large number of graphics capabilities (and I highly recommend Stata over other statistical packages for a variety of reasons), but in a few instances R is more useful. In particular, I find R useful for creating beautiful scatter plot matrices and 3D graphical displays. To my knowledge, currently these kinds of graphics are very difficult (if not impossible) to create in Stata 12. What I like about scatter plot matrices is that can have a high datatoink ratio, packing together fitted lines, scattered data, histograms, correlations (proportional to the size of the correlation), and statistical significance "stars" (since reviewers seem to like them). Moreover, I like that all the information effectively puts the "stars" associated with statistical significance in appropriate context: there is an incredible amount of variability in the size of correlations and distribution of data among all the "threestar" correlations, underscoring the limited usefulness of statistical significance as a tool for understanding the social reality given to us by data.
Blog Archive

▼
2012
(56)

▼
March
(29)
 Physics Envy
 Irving Louis Horowitz
 MyPersonality
 Why are Economists so (Consistently) Led Astray Ab...
 Popularity of Programming Languages
 Big Science and Sociology
 Statistical Lexicon
 McKinsey on Big Data
 Inequality: Everyone's Thinking About It
 Universal Limits in HighDimensional Statistics
 Rethinking Tragedy and Success
 Why Inequality Matters
 Inequality "Crisis" of Marriage
 Corporate Culture Revisited
 Misc. Links
 MIT Inequality Talk
 Scatter Plot Matrix in R
 Taxes and Inequality
 3D Scatter Plots Redux
 Checking Weather in Stata
 Is Everything Culture?
 Ternary (or Triaxial) Plots
 Causality and Ethnography
 The Mystery of PowerLaw Distributions
 Visualizing a Correlation Table
 Why Models are Not Data
 R versus Stata Redux
 Culture and Poverty
 Values and Politics

▼
March
(29)