Skip to content

These stata snippets will give an example of different types of graph of distinct groups (scatter plot, line plot, histogram plot, and bar diagram) such as simple graph plot, graph plot with a by group, combining multiple graphs, two-way plot, linear fit and confidence interval.

Notifications You must be signed in to change notification settings

ARCED-Foundation/Stata-Graph-Snippets

Repository files navigation

simple_graph_plot.do

This file plots scatter diagram, line graph, histogram and bar diagram.

graph_plot_with_by_group.do

This file plots scatter diagram, line graph, histogram and bar diagram in groups of data.

two_way_plot.do

This file plots two way scatter diagram, two way line graph, two way histogram and two way bar diagram.

two_way_plot_with_by_group.do

This file plots two way scatter diagram, two way line graph, two way histogram and two way bar diagram in groups of data.

linear_fit.do

This code plots a scatter plot diagram with a linear fit overlay

graph_combine.do

The code combines distinct graph into a single graph window

confidence_interval.do

The code shows a linear fit prediction plot for mpg on weight with a 95% confidence interval of the prediction

About

These stata snippets will give an example of different types of graph of distinct groups (scatter plot, line plot, histogram plot, and bar diagram) such as simple graph plot, graph plot with a by group, combining multiple graphs, two-way plot, linear fit and confidence interval.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages