Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Scatter, Histogram, Bar Graphs - Econometrics - Lecture Slides, Slides of Econometrics and Mathematical Economics

Introduction to Scatter, Histogram, Bar Graphs, Use of graphs for exploring data, Scatter plot, Multiple Bar graph, Easy graph, Line Plot, Types of Bar Graph are key and learning points in this lecture of Econometric.

Typology: Slides

2011/2012

Uploaded on 11/10/2012

uzman
uzman 🇮🇳

4.8

(12)

148 documents

1 / 34

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Graphs in Stata
Introduction to Scatter, Histogram & Bar-Graphs
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22

Partial preview of the text

Download Scatter, Histogram, Bar Graphs - Econometrics - Lecture Slides and more Slides Econometrics and Mathematical Economics in PDF only on Docsity!

1

Graphs in Stata

Introduction to Scatter, Histogram & Bar-Graphs

2

Objectives

The Objectives of this lecture are:Use of Graphs for Exploring dataIntroduction to Scatter PlotIntroduction to HistogramIntroduction to Bar GraphIntroduction to Multiple Bar Graph

4

Graphs for ExplorationLoad

data ‘income

with labels’.The Graphs inStata

are

available

in

GraphicsMenu.Go to GraphicsMenu

Æ^

Select Easy graphs.

5

Graphs for Exploration

Easy graphs gives a few options and is mostsuited for the beginners.But^

the^

main

graph

menu

is^

for^

the

professional users.My suggestion is that you start with easygraphs and then Go to main graph menu.

7

Scatter Plot

The following Scatter Plot is plotted.From the graph, we can say that there is apositive

correlation

b/w

education

income.

8

Line Plot

Go to Graphics Menu

Æ^

Select Easy graph

Æ^

Select

Line graph. A new dialoguebox appears:Select ‘edu’ as Xvariable and‘income’ as Yvariable andclick OK.The graph shows

10

Histogram

Load data ‘roster.dta’ andselect Histogram from theGraphics Menu.A^

new

dialogue

box

appears.Select variable ‘province’and^

select

data

type

‘discrete data’.Click OK.

11

Histogram

The^

following

histogram

of^

the^

variable

‘province’ will appear.

13

Simple Bar GraphTo make the bar graph, Go to Graphics

Æ

Select Bar Chart.

14

Simple Bar GraphA^

dialogue

box

appears.

Select

variable

‘tempjan’ and in the statistics option, select‘mean’.Click OK.

16

Simple Bar GraphTo make the previousanalysis

more

clear,

we^

draw

the

bar

graph of temperaturein^ January

(temjan) over the regions.Click OK.The output is shown.Now graph isconveyinginformation betterth^

b f

17

Simple Bar GraphThe previous graph can still be made betterby changing the look of the graph.This can be done with the help of followingthree things:•Titles & Subtitle•Legends•Notes

19

Simple Bar GraphUnder the Caption tab, write note describingthe source of the data “Source: Dept. ofCommerce U.S”.

20

Simple Bar GraphAdd Legends as follows:Click OK.