1 Econ 240A Power 7. 2 This Week, So Far §Normal Distribution §Lab Three: Sampling Distributions §Interval Estimation and HypothesisTesting.

Slides:



Advertisements
Similar presentations
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Advertisements

COINTEGRATION 1 The next topic is cointegration. Suppose that you have two nonstationary series X and Y and you hypothesize that Y is a linear function.
AUTOCORRELATION 1 The third Gauss-Markov condition is that the values of the disturbance term in the observations in the sample be generated independently.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Three Ending Tuesday, September 11 (Note: You must go over these slides and complete every.
Chapter 4 Using Regression to Estimate Trends Trend Models zLinear trend, zQuadratic trend zCubic trend zExponential trend.
Topic 3: Simple Linear Regression. Outline Simple linear regression model –Model parameters –Distribution of error terms Estimation of regression parameters.
NBA Statistical Analysis Econ 240A. Intro. to Econometrics. Fall Group 3 Lu Mao Ying Fan Matthew Koson Ryan Knefel Eric Johnson Tyler Nelson Grop.
Angela Sordello Christopher Friedberg Can Shen Hui Lai Hui Wang Fang Guo.
Lecture 3 Cameron Kaplan
1 Lecture Twelve. 2 Outline Failure Time Analysis Linear Probability Model Poisson Distribution.
1 Econ 240A Power 7. 2 This Week, So Far §Normal Distribution §Lab Three: Sampling Distributions §Interval Estimation and Hypothesis Testing.
Chapter 10 Simple Regression.
1 Econ 240 C Lecture 3. 2 Part I Modeling Economic Time Series.
1 Econ 240 C Lecture White noise inputoutput 1/(1 – z) White noise input output Random walkSynthesis 1/(1 – bz) White noise input output.
Is There a Difference?. How Should You Vote? Is “Big Government” better?Is “Big Government” better? –Republicans want less government involvement. –Democrats.
Global Warming: Is It True? Peter Fuller Odeliah Greene Amanda Smith May Zin.
1 Econ 240 C Lecture Time Series Concepts Analysis and Synthesis.
Determents of Housing Prices. What & WHY Our goal was to discover the determents of rising home prices and to identify any anomies in historic housing.
1 Econ 240 C Lecture 6. 2 Part I: Box-Jenkins Magic ARMA models of time series all built from one source, white noise ARMA models of time series all built.
Car Sales Analysis of monthly sales of light weight vehicles. Laura Pomella Karen Chang Heidi Braunger David Parker Derek Shum Mike Hu.
1 Regression Econ 240A. 2 Outline w A cognitive device to help understand the formulas for estimating the slope and the intercept, as well as the analysis.
1 Econ 240 C Lecture 3. 2 Time Series Concepts Analysis and Synthesis.
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
Violent Crime in America ECON 240A Group 4 Thursday 3 December 2009.
Lecture Week 3 Topics in Regression Analysis. Overview Multiple regression Dummy variables Tests of restrictions 2 nd hour: some issues in cost of capital.
1 Econ 240A Power Outline Review Projects 3 Review: Big Picture 1 #1 Descriptive Statistics –Numerical central tendency: mean, median, mode dispersion:
California Expenditure VS. Immigration By: Daniel Jiang, Keith Cochran, Justin Adams, Hung Lam, Steven Carlson, Gregory Wiefel Fall 2003.
1 Lecture One Econ 240C. 2 Outline Pooling Time Series and Cross- Section Review: Analysis of Variance –one-way ANOVA –two-way ANOVA Pooling Examples.
1 Lecture One Econ 240C. 2 Einstein’s blackboard, Theory of relativity, Oxford, 1931.
1 Economics 240A Power Eight. 2 Outline Lab Four Lab Four Maximum Likelihood Estimation Maximum Likelihood Estimation The UC Budget Again The UC Budget.
1 Economics 240A Power Eight. 2 Outline n Maximum Likelihood Estimation n The UC Budget Again n Regression Models n The Income Generating Process for.
1 Power Fifteen Analysis of Variance (ANOVA). 2 Analysis of Variance w One-Way ANOVA Tabular Regression w Two-Way ANOVA Tabular Regression.
1 Final Review Econ 240A. 2 Outline The Big Picture Processes to remember ( and habits to form) for your quantitative career (FYQC) Concepts to remember.
1 Econ 240A Power 7. 2 Last Week §Normal Distribution §Lab Three: Sampling Distributions §Interval Estimation and HypothesisTesting.
1 Econ 240A Power 7. 2 This Week, So Far §Normal Distribution §Lab Three: Sampling Distributions §Interval Estimation and Hypothesis Testing.
1 Regression Econ 240A. 2 Retrospective w Week One Descriptive statistics Exploratory Data Analysis w Week Two Probability Binomial Distribution w Week.
Zhen Tian Jeff Lee Visut Hemithi Huan Zhang Diana Aguilar Yuli Yan A Deep Analysis of A Random Walk.
1 Power Fifteen Analysis of Variance (ANOVA). 2 Analysis of Variance w One-Way ANOVA Tabular Regression w Two-Way ANOVA Tabular Regression.
U.S. Tax Revenues and Policy Implications A Time Series Approach Group C: Liu He Guizi Li Chien-ju Lin Lyle Kaplan-Reinig Matthew Routh Eduardo Velasquez.
DURBIN–WATSON TEST FOR AR(1) AUTOCORRELATION
FORECASTING WITH REGRESSION MODELS TREND ANALYSIS BUSINESS FORECASTING Prof. Dr. Burç Ülengin ITU MANAGEMENT ENGINEERING FACULTY FALL 2011.
Simple linear regression Linear regression with one predictor variable.
5.1 Basic Estimation Techniques  The relationships we theoretically develop in the text can be estimated statistically using regression analysis,  Regression.
Predicting volatility: a comparative analysis between GARCH Models and Neural Network Models MCs Student: Miruna State Supervisor: Professor Moisa Altar.
What decides the price of used cars? Group 1 Jessica Aguirre Keith Cody Rui Feng Jennifer Griffeth Joonhee Lee Hans-Jakob Lothe Teng Wang.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Five Ending Wednesday, September 26 (Note: Exam 1 is on September 27)
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
1 Economics 240A Power Eight. 2 Outline n Maximum Likelihood Estimation n The UC Budget Again n Regression Models n The Income Generating Process for.
Byron Gangnes Econ 427 lecture 3 slides. Byron Gangnes A scatterplot.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
1Spring 02 First Derivatives x y x y x y dy/dx = 0 dy/dx > 0dy/dx < 0.
1 Forecasting Formulas Symbols n Total number of periods, or number of data points. A Actual demand for the period (  Y). F Forecast demand for the period.
SPURIOUS REGRESSIONS 1 In a famous Monte Carlo experiment, Granger and Newbold fitted the model Y t =  1 +  2 X t + u t where Y t and X t were independently-generated.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Four Ending Wednesday, September 19 (Assignment 4 which is included in this study guide.
AUTOCORRELATION 1 Assumption C.5 states that the values of the disturbance term in the observations in the sample are generated independently of each other.
2010, ECON Hypothesis Testing 1: Single Coefficient Review of hypothesis testing Testing single coefficient Interval estimation Objectives.
FUNCTIONAL FORMS OF REGRESSION MODELS Application 5.
Air pollution is the introduction of chemicals and biological materials into the atmosphere that causes damage to the natural environment. We focused.
Partial Equilibrium Framework Empirical Evidence for Argentina ( )
ESTIMATION METHODS We know how to calculate confidence intervals for estimates of  and  2 Now, we need procedures to calculate  and  2, themselves.
Simple linear regression. What is simple linear regression? A way of evaluating the relationship between two continuous variables. One variable is regarded.
Statistics 350 Lecture 2. Today Last Day: Section Today: Section 1.6 Homework #1: Chapter 1 Problems (page 33-38): 2, 5, 6, 7, 22, 26, 33, 34,
Simple linear regression. What is simple linear regression? A way of evaluating the relationship between two continuous variables. One variable is regarded.
The simple linear regression model and parameter estimation
Economics 240A Power Eight.
Statistical Methods For Engineers
Discrete Least Squares Approximation
Linear Regression and Correlation
Linear Regression and Correlation
Presentation transcript:

1 Econ 240A Power 7

2 This Week, So Far §Normal Distribution §Lab Three: Sampling Distributions §Interval Estimation and HypothesisTesting

3 Outline §Distribution of the sample variance §The California Budget: Exploratory Data Analysis §Trend Models §Linear Regression Models §Ordinary Least Squares

4 The Sample Variance, s 2 Is distributed with n-1 degrees of freedom (text, 12.3 “inference about a population variance) (text, pp , Chi-Squared distribution)

5 Text Chi-Squared Distribution

6 Text Chi-Squared Table 5 Appendix p. B-10

7 Example: Lab Three §50 replications of a sample of size 50 generated by a Uniform random number generator, range zero to one. l expected value of the mean: 0.5 l expected value of the variance: 1/12

8 Histogram of 50 Sample Means, Uniform, U(0.5, 1/12) Average of the sample means:

9 Histogram of 50 sample variances, Uniform, U(0.5, ) Average sample variance:

10 Confidence Interval for the first sample variance of §A 95 % confidence interval Where taking the reciprocal reverses the signs of the inequality

11

12 The UC Budget

13 The UC Budget §The part of the UC Budget funded by the state from the general fund

14

15

16 Total General Fund Expenditures Appendix, p.25 Schedule 6

17 UC General Fund Expenditures, Appendix p. 46

18

19

20

21 p. 94

22 p. 94

23 p. 95

24

25 How to Forecast the UC Budget? §Linear Trendline?

26 Trend Models

27

28 Forecast increase $84 million

29

30 Linear Regression Trend Models §A good fit over the years of the data sample may not give a good forecast

31 How to Forecast the UC Budget? §Linear trendline? §Exponential trendline ?

32 Forecast growth rate: 6.8%/yr

33 Time Series Models §Linear l UCBUD(t) = a + b*t + e(t) l where the estimate of a is the intercept: $ million in l where the estimate of b is the slope: $81.6 million/yr l where the estimate of e(t) is the the difference between the UC Budget at time t and the fitted line for that year §Exponential

34 intercept slope Error in 01-02

35 Time Series Models §Exponential l UCBUD(t) = UCBUD(68-69)*e b*t e e(t) l UCBUD(t) = UCBUD(68-69)*e b*t + e(t) l where the estimate of UCBUD(68-69) is the estimated budget for l where the estimate of b is the exponential rate of growth

36 Forecast growth rate: 6.8%/yr 1 year forecast from * = M$ Exponential rate of growth Estimated UCBUD in 68-69

37 Linear Regression Time Series Models §Linear: UCBUD(t) = a + b*t + e(t) §How do we get a linear form for the exponential model?

38 Time Series Models §Linear transformation of the exponential l take natural logarithms of both sides l ln[UCBUD(t)] = ln[UCBUD(68-69)*e b*t + e(t) ] l where the logarithm of a product is the sum of logarithms: l ln[UCBUD(t)] = ln[UCBUD(68-69)]+ln[e b*t + e(t) ] l and the logarithm is the inverse function of the exponential: l ln[UCBUD(t)] = ln[UCBUD(68-69)] + b*t + e(t) l so ln[UCBUD(68-69)] is the intercept “a”

40 Exponential rate of growth ln UCBUD at t=0 exp[5.932] = observed = $291.3

41 Forecast growth rate: 6.8%/yr Exponential rate of growth Estimated UCBUD in 68-69

42 Naïve Forecasts §Average §forecast next year to be the same as this year

43

44 UC Budget Forecasts for * 1.068x$3,038,666,000; exponential trendline forecast ~$4.3 B Actual:$2,670,529,000 in Governor’s Budget Summary

45

46 Time Series Forecasts §The best forecast may not be a regression forecast §Time Series Concept: time series(t) = trend + cycle + seasonal + noise(random or error) §fitting just the trend ignores the cycle §UCBUD(t) = a + b*t + e(t)

47 Application of Bivariate Plot §O-Ring Failure §Plot zeros (no failure) and the ones (failure) versus launch temperature for the 24 launches prior to Challenger

48

49 Linear Approximation to Backward Sigmoid

50 Ordinary Least Squares

51 intercept slope Error in 01-02

52 Criterion for Fitting a Line §Minimize the sum of the absolute value of the errors? §Minimize the sum of the square of the errors l easier to use §error is the difference between the observed value and the fitted value l example UCBUD(observed) - UCBUD(fitted)

53 §The fitted value: §The fitted value is defined in terms of two parameters, a and b (with hats), that are determined from the data observations, such as to minimize the sum of squared errors

54 Minimize the Sum of Squared Errors

55 How to Find a-hat and b-hat? §Methodology l grid search l differential calculus l likelihood function

56 Grid Search, a-hat=0, b-hat=80

57 Grid Search a-hat b-hat Find the point where the sum of squared errors is minimum

58 Differential Calculus §Take the derivative of the sum of squared errors with respect to a-hat and with respect to b-hat and set to zero. §Divide by -2*n §or

59 Least Squares Fitted Parameters §So, the regression line goes through the sample means. §Take the other derivative: §divide by -2

60 Ordinary Least Squares(OLS) §Two linear equations in two unknowns, solve for b-hat and a-hat.

61 Dependent Variable: UCBUD Method: Least Squares Dependent Variable: UCBUD Sample: Included observations: 36 VariableCoefficientStd. Errort-StatisticProb. C T R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criterion Sum squared resid Schwarz criterion Log likelihood F-statistic Durbin-Watson stat Prob(F-statistic)

62

63 O-Ring Failure Versus launch temperature