Midterm Review - PowerPoint PPT Presentation

1 / 61
About This Presentation
Title:

Midterm Review

Description:

Midterm Review Econ 240A ... Pharmaceuticals. ... Times New Roman Arial Arial Narrow Wingdings Symbol Factory Microsoft Excel Worksheet Microsoft Excel Chart ... – PowerPoint PPT presentation

Number of Views:143
Avg rating:3.0/5.0
Slides: 62
Provided by: Llad3
Category:

less

Transcript and Presenter's Notes

Title: Midterm Review


1
Midterm Review
2
Econ 240A
  • Descriptive Statistics
  • Probability
  • Inference
  • Differences between populations
  • Regression

3
I. Descriptive Statistics
  • Telling stories with Tables and Graphs
  • That are self-explanatory and esthetically
    appealing
  • Exploratory Data Analysis for random variables
    that are not normally distributed
  • Stem and Leaf diagrams
  • Box and Whisker Plots

4
Stem and Leaf Diagtam
  • Example Problem 2.24
  • Prices in thousands of of houses sold in a Los
    Angeles suburb in a given year

5
Subsample
Problem 2.24 Prices in thousands Houses sold
in a Los Angeles suburb
6
Sorted Data
Problem 2.24 Prices in thousands Houses sold
in a Los Angeles suburb
7
Summary Statistics Problem 2.24 Prices in
thousands Houses sold in a Los Angeles suburb
8
Problem 2.24 Prices in thousands Houses sold
in a Los Angeles suburb
9
Box and Whiskers Plots
  • Example Problem 4.30
  • Starting salaries by degree

10
Subsample
Problem 4.50 Starting salaries By degree
11
(No Transcript)
12
(No Transcript)
13
(No Transcript)
14
II. Probability
  • Concepts
  • Elementary outcomes
  • Bernoulli trials
  • Random experiments
  • events

15
Probability (Cont.)
  • Rules or axioms
  • Addition rule
  • P(AUB) P(A) P(B) P(AB)
  • Conditional probability
  • P(A/B) P(AB)/P(B)
  • Independence

16
Probability ( Cont.)
  • Conditional probability
  • P(A/B) P(AB)/P(B)
  • Independence
  • P(A)P(B) P(AB)
  • So P(A/B) P(A)

17
Probability (Cont.)
  • Discrete Binomial Distribution
  • P(k) Cn(k) pk (1-p)n-k
  • n repeated independent Bernoulli trials
  • k successes and n-k failures

18
Binomial Random Number Generator
  • Take 50 states
  • Suppose each state was a battleground state, with
    probability 0.5 of winning that state
  • What would the distribution of states look like?
  • How few could you win?
  • How many could you win?

19
24
24
28
25
18
29
25
24
24
23
25
24
29
32
28
30
23
27
21
Subsample
20
(No Transcript)
21
(No Transcript)
22
(No Transcript)
23
(No Transcript)
24
Probability (Cont.)
  • Continuous normal distribution as an
    approximation to the binomial
  • npgt5, n(1-p)gt5
  • f(z) (1/2p)½ exp-½z2
  • z(x-m)/s
  • f(x) (1/ s) (1/2p)½ exp-½(x-m)/s2

25
III. Inference
  • Rates and Proportions
  • Population Means and Sample Means
  • Population Variances and Sample Variances
  • Decision Theory

26
Decision Theory
  • In inference, I.e. hypothesis testing, and
    confidence interval estimation, we can make
    mistakes because we are making guesses about
    unknown parameters
  • The objective is to minimize the expected cost of
    making errors
  • E(C) aC(I) bC(II)

27
Sample Proportions from Polls
  • Where n is sample size and k is number of
    successes

28
Sample Proportions
So estimated p-hat is approximately normal for
large sample sizes
29
Sample Proportions
  • Where the sample size is large

30
Problem 9.38
  • A commercial for a household appliances
    manufacturer claims that less than 5 of all of
    its products require a service call in the first
    year. A consumer protection association wants to
    check the claim by surveying 400 households that
    recently purchased one of the companys appliances

31
Problem 9.38 (Cont.)
  • What is the probability that more than 10
    require a service call in the first year?
  • What would you say about the commercials honesty
    if in a random sample of 400 households, 10
    report at least one service call?

32
Problem 9.38 Answer
  • Null Hypothesis H0 p0.05
  • Alternative Hypothesis pgt0.05
  • Statistic

33
Z critical
5
Z .
4.59
1.645
34
Sample means and population means where the
population variance is known
35
Problem 9.26, Sample Means
  • The dean of a business school claims that the
    average MBA graduate is offered a starting salary
    of 55,000. The standard deviation of the offers
    is 4600. What is the probability that in a
    sample of 38 MBA graduates , the mean starting
    salary is less than 53,000?

36
Problem 9.26 (Cont.)
  • Null Hypothesis H0 m 55,000
  • Alternative Hypothesis HA m lt 55,000
  • Statistic

37
Zcrit(1) -2.33
0.0037
-2.68
38
Sample means and population means when the
population variance is unknown
39
Problems 12.33
  • A federal agency responsible for enforcing laws
    governing weights and measures routinely inspects
    packages to determine whether the weight of the
    contents is at least as great as that advertised
    on the package. A random sample of 18 containers
    whose packaging states that the contents weighs 8
    ounces was drawn.

40
Problems 12.33 (Cont.)
  • Can we conclude that on average the containers
    are mislabeled? Use a 0.1.

41
t crit 5
1.74
-1.74
42
Problems 12.33 (Cont.)
7.8 7.97 7.92
7.91 7.95 7.87
7.93 7.79 7.92
7.99 8.06 7.98
7.94 7.82 8.05
7.75 7.89 7.91
43
Mean 7.913888889
Standard Error 0.019969567
Median 7.92
Mode 7.91
Standard Deviation 0.084723695
Sample Variance 0.007178105
Kurtosis -0.24366084
Skewness -0.22739254
Range 0.31
Minimum 7.75
Maximum 8.06
Sum 142.45
Count 18
44
Problems 12.33 (Cont.)
  • Can we conclude that on average the containers
    are mislabeled? Use a 0.1.

45
Confidence Intervals for Variances
46
Problems 12.33 12.55
  • A federal agency responsible for enforcing laws
    governing weights and measures routinely inspects
    packages to determine whether the weight of the
    contents is at least as great as that advertised
    on the package. A random sample of 18 containers
    whose packaging states that the contents weighs 8
    ounces was drawn.

47
Problems 12.33 12.55 (Cont.)
  • Estimate with 95 confidence the variance in
    contents weight.
  • c2 variable with n-1 degrees of freedom is
    (n-1)s2 /s2

48
30.191
7.564
2.5
2.5
49
Problems 12.33 12.55(Cont.)
7.8 7.97 7.92
7.91 7.95 7.87
7.93 7.79 7.92
7.99 8.06 7.98
7.94 7.82 8.05
7.75 7.89 7.91
50
Mean 7.913888889
Standard Error 0.019969567
Median 7.92
Mode 7.91
Standard Deviation 0.084723695
Sample Variance 0.007178105
Kurtosis -0.24366084
Skewness -0.22739254
Range 0.31
Minimum 7.75
Maximum 8.06
Sum 142.45
Count 18
51
Problems 12.33 12.55(Cont.)
  • 7.564lt(n-1)s2 /s2lt30.191
  • 7.564lt170.00718/s2lt30.191
  • (1/7.564)170.00718gts2gt(1/30.191)170.00718
  • 0.0161gts2gt0.0040

52
IV. Differences in Populations
  • Null Hypothesis H0 m1 m2, or m1 - m2 0
  • Alternative Hypothesis HA m1 - m2 ? 0

53
IV. Differences in Populations
Reference Ch. 9 Ch. 13
54
V. Regression
  • Model yi a bxi ei

55
Lab Five
56
The Financials
57
Excel Chart
58
Excel Regression
59
Eviews Chart
60
Eviews Regression
61
Eviews Actual, Fitted residual
Write a Comment
User Comments (0)
About PowerShow.com