1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for...

68
1 Economics 240A Power One
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    218
  • download

    0

Transcript of 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for...

Page 1: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

1

Economics 240A

Power One

Page 2: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

2

Outline

Course Organization Course Overview Resources for Studying

Page 3: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

I. Organization Lectures are on Tuesdays and Thursdays, 5:00-6:15 PM in North Hall 1105.

Lecture Notes for class will cover the concepts Text: Gerald Keller, Statistics for Management and Economics, Seventh edition (2005)

The Computer Lab is scheduled for Wednesdays, 400-4:50 in Miramar (Oct 8 in Leadbetter), & 5:00-5:50 in Leadbetter, Phelps 1530. The capacity is 25 stations.

Software: Excel and EViews Lab Notes will cover the procedures of analysis TA: Gregory DeAngelo, Office, NH 3017 Section:, 240A W 6-7:50 HSSB 1210 Exams: Midterm Tuesday, Nov. 4` Final Thursday, December 11, 7:30-10:30 PM

Page 4: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

Problem Sets, Pre-Midterm: #1 Oct. 2, 2008 due Oct 9, 2008 #2 Oct 9, 2008 due Oct 16, 2008 #3 Oct 16, 2008 due Oct 23, 2008 #4 Oct 23, 2008 due Oct.30, 2008 Problem Set, Post-Midterm #5 Oct. 30, 2008 due Nov. 6, 2008 Exercises: as assigned on the Lab Notes

Organization ( Cont.)

Takehome Project: An exercise to test your quantitative and writing skills. You can work collectively but the 2-3 page report must be yours. Last Fall we also did group projects with PowerPoint presentations and I will probably repeat this format.

Your grade for the course will be based on your scores on the midterm(18%), final(37%) and 2 projects(each 18%), and your effort as indicated by problem sets and lab exercises turned in for credit(9%). Of course the latter are more important than the weight indicated. I distribute the grades by letter, weighing the problem sets one third of a grade point, and by total score for the class, and reconcile the course grades.

Page 5: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

5

Three Branches of Statistics

Descriptive Statistics Probability Inference

Page 6: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

6

Example of Descriptive Statistics

Page 7: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

7

Example of Uncertainty

Margin of sampling errorOf three percent

Page 8: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

8

Example of inference McCain is advertising on TV in California, is this

a good use of his campaign funds? Recent Poll: Sept 22, 2008

• McCain: 39%• Obama: 55%

California Field Poll: Sept 17, 2008• McCain: 36%• Obama: 52%• 830 likely voters

Based on the poll, what is the probability that McCain will win California

Page 9: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

9

Course Overview Topics in Statistics

• Descriptive Statistics• Exploratory Data Analysis• Probability and Distributions• Proportions • Interval Estimation• Hypothesis Testing• Correlation and Regression• Analysis of Variance

Page 10: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

10

Concepts 1

Two types of data:• Time series• Cross section

Page 11: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

11

http://research.stlouisfed.org/fred2/

Index 1982-84 =1001982-84=100

Page 12: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

12

http://research.stlouisfed.org/fred2/

Page 13: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

13

CPIAUCNS Jan 1921- Aug 2007

Page 14: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

14

Examples of:1.Graphical Display of

Results2.Cross-Section Data3.Survey Sample of 12,571

1.Men & women2.Ages 15-44

Page 15: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

15

What is the Message?

Page 16: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

16

Concepts 2

Population Versus Sample California Presidential

• Population: All eligible voters• Sample: Field poll in California

Popsample

Page 17: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

17

Page 18: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

18

Page 19: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

19

Concepts 3

Different views of the world (universe)• Deterministic• Stochastic

Page 20: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

20

Statistical Inference and Probability

Deterministic• Newtonian physics: e g. distance = rate*time• Einsteinian(relativistic) physics: E=m*c2

Stochastic (random)• Quantum mechanics

Page 21: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

21

Statistical Inference and Probability Probability: A tool to understand chance What is chancy about the statistical world

we will study? Example:

• Suppose I number everyone in the class from 1 to 40?

• And draw one number a meeting to ask a question; what is the likelihood I will call on you today?

Page 22: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

22

Page 23: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

23

Page 24: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

24

Page 25: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

25

Page 26: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

26

Resources for Studying

Keller • Text Readings

• CDROM• Applets

Instructor• Lecture Notes

• Lab Notes & Exercises

• Problem Sets

• PowerPoint Slide Shows

Page 27: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

27

Page 28: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

28

Keller CDROM

Page 29: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

29

http://www.duxbury.com/statistics

Page 30: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

30

Student Book Companion Site

Page 31: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

31

Concepts 4

Three types of data• Cardinal• Ordinal• Categorical

Page 32: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

32

Keller & Warrack Slide Show

Excerpts from Ch. 2

Page 33: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

33

Graphical Descriptive Techniques

Graphical Descriptive Techniques

Chapter 2Chapter 2

Page 34: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

34

2.1 Introduction

Descriptive statistics involves the arrangement, summary, and presentation of data, to enable meaningful interpretation, and to support decision making.

Descriptive statistics methods make use of• graphical techniques• numerical descriptive measures.

The methods presented apply to both• the entire population• the population sample

Page 35: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

35

2.2 Types of data and information

A variable - a characteristic of population or sample that is of interest for us.• Cereal choice

• Capital expenditure

• The waiting time for medical services

Data - the actual values of variables • Interval data are numerical observations

• Nominal data are categorical observations

• Ordinal data are ordered categorical observations

Page 36: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

36

Types of data - examples

Interval data

Age - income55 7500042 68000

. .

. .

Age - income55 7500042 68000

. .

. .Weight gain+10+5..

Weight gain+10+5..

Nominal

Person Marital status1 married2 single3 single. .. .

Person Marital status1 married2 single3 single. .. .Computer Brand

1 IBM2 Dell3 IBM. .. .

Computer Brand1 IBM2 Dell3 IBM. .. .

Page 37: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

37

Types of data - examples

Interval data

Age - income55 7500042 68000

. .

. .

Age - income55 7500042 68000

. .

. .

Nominal data

With nominal data, all we can do is, calculate the proportion of data that falls into each category.

IBM Dell Compaq Other Total 25 11 8 6 50 50% 22% 16% 12%

IBM Dell Compaq Other Total 25 11 8 6 50 50% 22% 16% 12%

Weight gain+10+5..

Weight gain+10+5..

Page 38: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

38

Types of data – analysis

Knowing the type of data is necessary to properly select the technique to be used when analyzing data.

Type of analysis allowed for each type of data Interval data – arithmetic calculations Nominal data – counting the number of observation in each

category Ordinal data - computations based on an ordering process

Page 39: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

39

Cross-Sectional/Time-Series Data

Cross sectional data is collected at a certain point in time • Marketing survey (observe preferences by gender, age)• Test score in a statistics course• Starting salaries of an MBA program graduates

Time series data is collected over successive points in time • Weekly closing price of gold• Amount of crude oil imported monthly

Page 40: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

40

2.3 Graphical Techniques forInterval Data

Example 2.1: Providing information concerning the monthly bills of new subscribers in the first month after signing on with a telephone company.• Collect data• Prepare a frequency distribution• Draw a histogram

Page 41: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

41

Largest observation

Collect dataBills42.1938.4529.2389.35118.04110.460.0072.8883.05

.

.

(There are 200 data points

Prepare a frequency distributionHow many classes to use?Number of observations Number of classes

Less then 50 5-750 - 200 7-9200 - 500 9-10500 - 1,000 10-111,000 – 5,000 11-135,000- 50,000 13-17More than 50,000 17-20

Class width = [Range] / [# of classes]

[119.63 - 0] / [8] = 14.95 15Largest observationLargest observation

Smallest observationSmallest observationSmallest observationSmallest observation

Largest observation

Example 2.1: Providing information

Page 42: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

42

0

20

40

60

80

15 30 45 60 75 90 105 120

Bills

Fre

qu

en

cy

Draw a HistogramBin Frequency

15 7130 3745 1360 975 1090 18

105 28120 14

Example 2.1: Providing information

Page 43: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

43

nnnn

0

20

40

60

8015 30 45 60 75 90 10

5

120

Bills

Fre

qu

ency

What information can we extract from this histogramAbout half of all the bills are small

71+37=108 13+9+10=32

A few bills are in the middle range

Relatively,large numberof large bills

18+28+14=60

Example 2.1: Providing information

Page 44: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

44

It is generally best to use equal class width, but sometimes unequal class width are called for.

Unequal class width is used when the frequency associated with some classes is too low. Then,• several classes are combined together to form a wider

and “more populated” class.• It is possible to form an open ended class at the higher

end or lower end of the histogram.

Class width

Page 45: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

45

There are four typical shape characteristics

Shapes of histograms

Page 46: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

46

Positively skewed

Negatively skewed

Shapes of histograms

Page 47: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

47

A modal class is the one with the largest number of observations.

A unimodal histogram

The modal class

Modal classes

Page 48: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

48

Descriptive Statistics

Central Tendency• mode• median• mean

Dispersion• standard deviation• interquartile range (IQR)

Page 49: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

49

Concepts 5

Normal Distribution• Central tendency: mean or average• Dispersion: standard deviation

Non-normal distributions

Page 50: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

50

Page 51: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

51

Concepts 6

What do we mean by central tendency? Possibilities

• What is the most likely outcome?• What outcome do we expect?• What is the outcome in the middle?

Page 52: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

52

Moving from Concepts to Measures

Mode: most likely value.

Page 53: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

53

Page 54: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

54

Page 55: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

55

Moving from Concepts to Measures

Mode: most likely value. Median: sort the data from largest to

smallest. The observation with half of the values larger and half smaller is the median.

Page 56: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

56

Page 57: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

57

Moving from Concepts to Measures Median: sort the data from largest to

smallest. The observation with half of the values larger and half smaller is the median.

Mode: most likely value. Mean or average: sum the values of all of

the observations and divide by the number of observations.

Page 58: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

58

Page 59: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

59

Concepts 7

What do we mean by dispersion? Possibilities

• How far, on average are the values from the mean?

• What is the range of values from the biggest to the smallest?

Page 60: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

60

Exploratory Data Analysis

Stem and Leaf Diagrams Box and Whiskers Plots

Page 61: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

Males: 140 145 160 190 155 165 150 190 195 138 160 155 153 145 170 175 175 170 180 135 170 157 130 185 190 155 170 155 215 150 145 155 155 150 155 150 180 160 135 160 130 155 150 148 155 150 140 180 190 145 150 164 140 142 136 123 155

Females: 140 120 130 138 121 125 116 145 150 112 125 130 120 130 131 120 118 125 135 125 118 122 115 102 115 150 110 116 108 95 125 133 110 150 108

Weight Data

Page 62: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

62

Page 63: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

63

Page 64: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

64

Box Diagram

First or lowest quartile;25% of observations below

Upper or highest quartile25% of observations above

median

Page 65: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

65

Page 66: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

66

Whiskers

The whiskers end with points that are not outliers

Outliers are beyond 1.5 times the interquartile range ( in this case IQR = 31), so 1.5*31 = 46.5

1st quartile – 1.5*IQR = 125 – 46.5 = 78.5,but the minimum is 95 so the lower whisker ends with 95.

Page 67: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

3rd Quartile + 1.5* IQR = 156 + 46.5 = 202.5; 1st value below =195

Page 68: 1 Economics 240A Power One. 2 Outline w Course Organization w Course Overview w Resources for Studying.

68

Next Tuesday Only!

Meet in Humanities and Social Sciences, HSSB, 1203 web: www.lsit.ucsb.edu• Exploratory data analysis using JMP