To see more about the “Teaching through YouTube” series. For more, see this post.

This video shows you how to create quick scatterplots in Stata.

in this video i’ll show you how to make
quick scatter plots in stata
scatter plots are a way to describe the
relationship between two continuous
variables graphically
this example shows a scatter plot
between the birth rate and contraceptive
use
in several countries
scatter plots are useful for gauging a
bivariate relationship between two
continuous variables
and they’re also useful for identifying
outliers
outliers are extreme values or extreme
combinations of these two variables
to create a scatter plot we use the
command scatter
the syntax to create a scatter plot is
scatter and the name of the two
continuous variables
in this example
i’m asking stata to create a quick
scatter plot using the variables gdp per
capita and net users the number of
internet users in a country
let’s see what it looks like to create
scatter plots in a real data session
i’ll create a scatter plot between age
and sci
to examine the relationship between
people’s ages and their socioeconomic
status
type scatter age sci
the results suggest no relationship
old and young people have high and low
socioeconomic indexes
and as you see the correlation between
the two variables is low
here’s an example of a scatter plot that
will show a relationship
i type in scatter water access for the
percentage of access with to clean water
and gdp pc
the graph shows that poor countries tend
to have lower water access rates
scatter plots describe the relationship
between two continuous variables
graphically
you can create a scatter plot quickly
using the command scatter
and then the names of the two variables
that you’d like to have in the scatter
plot
for more help type help scatter in the
stata command window

Department of Sociology

Powdermaker 252

City University of New York, Queens College

6530 Kissena Boulevard

Queens, New York 11367

joseph.cohen@qc.cuny.edu

Click here for more information about this site

Unless indicated otherwise, original textual documents on this site are distributed with a Creative Commons BY-NC-SA 4.0 license. Most images on this site are public domain (look for the Dall-E symbol in the bottom right corner), though some are original or used as Fair Use as part of my public scholarship work as a university professor working in the City University of New York system.