From the course: Introduction to Stata 15
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Contour plots - Stata Tutorial
From the course: Introduction to Stata 15
Contour plots
- [Instructor] Contour plots are often seen in maps where mountains or other terrain characteristics are displayed on a two-dimensional map as contours. This gives the illusion of adding depth to maps, and contour plots are simply a way to visualize three-dimensional data in two dimensions. They're often used in mapping techniques, but can also be used for other statistical purposes, for example, to explore by varied distributions, or to examine the relationship between three continuous variables. Contour plots don't tend to work well for categorical variables. In this session we'll explore how to build and modify contour plots in Stata. The command caller contour plot is called contour, however, somewhat strangely, in needs to be called through the twoway command. The basics of the command are relatively easy to understand. You need to specify a Y variable and an X variable, which together make up your two-dimensional map, and then a Z variable, which will define your contours. Let's…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Introduction to graph commands5m 50s
-
(Locked)
Bar graphs and dot charts5m 25s
-
(Locked)
Distributional analysis (graphical)5m 12s
-
(Locked)
Pie charts3m 44s
-
(Locked)
Scatterplots and fitted lines5m 10s
-
(Locked)
Contour plots3m 22s
-
(Locked)
Geographic maps5m 49s
-
(Locked)
Graphing in Stata: Challenge56s
-
(Locked)
Graphing in Stata: Solution3m 42s
-
(Locked)
-
-
-
-
-