Econ 371 Problem Set #3 Answer Sheet


 Reginald Neil Garrett
 2 years ago
 Views:
Transcription
1 Econ 371 Problem Set #3 Answer Sheet 4.3 In this question, you are told that a OLS regression analysis of average weekly earnings yields the following estimated model. AW E = Age, R 2 = 0.023, SER = a. The first question asks you to explain what the coefficient values mean. The coefficient 9.6 shows the marginal effect of Age on AW E; that is, AW E is expected to increase by $9.6 for each additional year of age is the intercept of the regression line. It determines the overall level of the line, indicating the the average weekly earnings for someone just born i.e., Age = 0. Clearly, one would not want to put much emphasis on this prediction. b. The second question asks what the units of measurement are for the SER. SER is in the same units as the dependent variable Y, or AW E in this example. Thus SER is measures in dollars per week. c. This question asks for the units for R 2. R 2 is unitfree. d. This question asks what the regression s predicted earnings for a 25 yearold worker and a 45 yearold worker. Our model implies that AW E = = $ and AW E = = $ e. Part e of the question asks if the regression will give a reliable prediction for a 99 yearold worker. The answer in this case is no. The oldest worker in the sample is 65 years old. 99 years is far outside the range of the sample data. It is usually inadvisable to use a regression model particularly a linear one to make predictions outside the range of the sample data. f. Here you are asked whether it is plausible that the distribution of the errors in the regression are normal. It is unlikely that the underlying error terms are normal. Indeed, it is probably the case that the distribution of earning is positively skewed and has kurtosis larger than the normal. The income levels are bounded below by zero which also will end up bounding the error terms. Also, there are likely to large outliers on the righthand side of the distribution but not the left, due to extreme income cases such as Bill Gates, Tiger Woods, etc., but no comparable extremes on the lefthand side again because income is bounded below by zero. g. Finally, you are asked what the average value of AW E is in the sample. Since ˆβ 0 = Ȳ ˆβ 1 X, then Ȳ = ˆβ 0 + ˆβ 1 X. Thus the sample mean of AW E is = $1, This question has two parts. a. First, you are asked to show that if ˆβ 1 = 0, then R 2 = 0. But in this case, ˆβ 0 = Ȳ, so that Ŷi = ˆβ 0 = Ȳ, yielding ESS = 0 and R 2 = 0. b. Second, you are asked if R 2 = 0 implies that ˆβ 1 = 0. If R 2 = 0, then ESS = 0, so that Ŷi = Ȳ for all i. But Ŷi = ˆβ 0 + ˆβ 1 X i so that Ȳ = ˆβ 0 + ˆβ 1 X i for all i, which implies that either ˆβ 1 = 0 or that X i is constant for all i. If X i is constant for all i, then n i=1 X i X 2 = 0 and ˆβ 1 is undefined see equation In this question, you are told that an OLS regression analysis of test scores on class size CS yields. T estscore = CS, R 2 = 0.08, SER = a. The first part of the question asks you to construct a 95% confidence interval for β 1. This is given by: ˆβ 1 ± 1.96[SE ˆβ 1 ] = 5.82 ± = ,
2 b. This second part of the question asks you to compute the pvale associated with the hypothesis H 0 : β 1 = 0. The pvalue is computed using: p value = 2Φ t act ˆβ 1 0 = 2Φ SE ˆβ 1 = 2Φ = 2Φ = = Clearly we would reject the null hypothesis at both the 5% and 1% levels. c. In part c, you are asked to test the null hypothesis that H 0 : β 1 = 5.61 and to predict whether or not 5.6 would be contained in a 95% confidence interval for β 1. The pvalue is computed using: p value = 2Φ t act ˆβ = 2Φ = 2Φ = 2Φ 0.1 = = SE ˆβ The pvalue is larger than 0.10, so we cannot reject the null hypothesis at the 10%, 5% or 1% significance level. Because H 0 : β 1 = 5.61 is not rejected at the 5% level, this value is contained in the 95% confidence interval. 5.7 This question considers a linear regression model with a sample size of n = 250. Specifically, the study finds Ŷ = X, R 2 = 0.26, SER = a. The first part of the question asks you to test the hypothesis H 0 : β 1 = 0 at the 5% level. The pvalue is computed using: p value = 2Φ t act ˆβ 1 0 = 2Φ SE ˆβ 1 = 2Φ = 2Φ 2.13 = = Clearly we would reject the null hypothesis at the 5% level since the pvalue is less than b. This part of the question asks you to construct a 95% confidence interval for β 1. This is given by: ˆβ 1 ± 1.96[SE ˆβ 1 ] = 3.2 ± = 0.26, c. Part c asks if you would be surprised to learn that Y i and X i are independent. You should be. If Y and X are independent, then beta 1 = 0; but this null hypothesis was rejected at the 5% level in part a. 2
3 course_eval beauty Figure 1: Scatter Plot of CourseEval versus Beauty d. β 1 would be rejected at the 5% level in 5% of the samples; 95% of the confidence intervals would contain the value β 1 = 0. The two empirical exercises in this homework use the same dataset: TeachingRatings. The data can be downloaded from the Web site listed in the assignment which you can also reach from the class website. A program that carries all of the tasks for problems E4.2 and E5.2 is appended to this answer sheet. E4.2 The specific questions you are asked to respond to are: a. From Figure 1, we can see that there appears to be a weak positive relationship between course evaluation and the beauty index. b. The regression results are as follows: CourseEval = Beauty The variable Beauty has a mean that is equal to 0; the estimated intercept is the mean of the dependent variable CourseEval minus the estimated slope times the mean of the regressor Beauty. Thus, the estimated intercept is equal to the mean of CourseEval. c. Next, you are asked to predict the CoursEval of Watson Beauty = 0 and Stock Beauty = Using our regression results we have: Watson s predicted CoursEval is = Stock s predicted CoursEval is = The program provides two different ways of computing these predicted values. command and the other uses the lincom command. One uses the scalar d. The standard deviation of course evaluations is 0.55 and the standard deviation of beauty is A one standard deviation increase in beauty is expected to increase course evaluation by = 0.105, or 1/5 of a standard deviation of course evaluations. The effect is small. e. The regression R 2 is 0.036, so that Beauty explains only 3.6% of the variance in course evaluations. E5.2 This question uses the results from E4.2, reported above. You are asked to estimate the model regressing CourseEval on Beauty. The resulting parameter estimates are CourseEval = Beauty
4 The tstatistic is 4.12, which has a pvalue of <0.001, so the null hypothesis can be rejected at the 1% level and thus, also at the 10% and 5% levels. 4
5 ; Problem Set #3 ; # delimit ; clear; cap log close; cd "R:\users\jaherrig\My Documents\Classes\Economics 371\Stata"; ; Specify the output file ; log using Prob3F09.log,replace; set more off; ; Read in and summarize the data ; use TeachingRatings.dta; describe; summarize course_eval beauty; ; Plot course_eval versus beauty for question E4.1a ; twoway scatter course_eval beauty; ; Estimate the model for question E4.1b ; reg course_eval beauty,r; ; Compute Fitted Values for question E4.1c using Scalar ; scalar drop _all; scalar Watson = _b[_cons] + 0_b[beauty]; scalar Stock = _b[_cons] _b[beauty]; scalar list; ; Compute Fitted Values for question E4.1c using lincom ; lincom _cons; lincom _cons beauty;
6 log close; clear; exit;
7 log: R:\users\jaherrig\My Documents\Classes\Economics 371\Stata\Prob3F09.log log type: text opened on: 12 Oct 2009, 07:08:13. set more off;. ;. > Read in and summarize the data > > ;. use TeachingRatings.dta;. describe; Contains data from TeachingRatings.dta obs: 463 vars: 8 10 Dec :29 size: 15, % of memory free storage display value variable name type format label variable label minority float %9.0g Minority age float %9.0g Professor's age female float %9.0g female = 1 onecredit byte %8.0g Equal 1 if a onecredit course beauty float %9.0g course_eval float %9.0g intro float %9.0g nnenglish float %9.0g Sorted by:. summarize course_eval beauty; Variable Obs Mean Std. Dev. Min Max course_eval beauty e ;. > Plot course_eval versus beauty for question E4.1a > > ;. twoway scatter course_eval beauty;. ;. > Estimate the model for question E4.1b > > ;. reg course_eval beauty,r;
8 Linear regression Number of obs = 463 F 1, 461 = Prob > F = Rsquared = Root MSE = Robust course_eval Coef. Std. Err. t P> t [95% Conf. Interval] beauty _cons ;. > Compute Fitted Values for question E4.1c using Scalar > > ;. scalar drop _all;. scalar Watson = _b[_cons] + 0_b[beauty];. scalar Stock = _b[_cons] _b[beauty];. scalar list; Stock = Watson = ;. > Compute Fitted Values for question E4.1c using lincom > > ;. lincom _cons; 1 _cons = 0 course_eval Coef. Std. Err. t P> t [95% Conf. Interval] lincom _cons beauty; beauty + _cons = 0 course_eval Coef. Std. Err. t P> t [95% Conf. Interval] log close; log: R:\users\jaherrig\My Documents\Classes\Economics 371\Stata\Prob3F09.log log type: text closed on: 12 Oct 2009, 07:08:
Econ 371 Problem Set #4 Answer Sheet. P rice = (0.485)BDR + (23.4)Bath + (0.156)Hsize + (0.002)LSize + (0.090)Age (48.
Econ 371 Problem Set #4 Answer Sheet 6.5 This question focuses on what s called a hedonic regression model; i.e., where the sales price of the home is regressed on the various attributes of the home. The
More informationEcon 371 Problem Set #3 Answer Sheet
Econ 371 Problem Set #3 Answer Sheet 4.1 In this question, you are told that a OLS regression analysis of third grade test scores as a function of class size yields the following estimated model. T estscore
More informationLinear Regression with One Regressor
Linear Regression with One Regressor Michael Ash Lecture 10 Analogy to the Mean True parameter µ Y β 0 and β 1 Meaning Central tendency Intercept and slope E(Y ) E(Y X ) = β 0 + β 1 X Data Y i (X i, Y
More informationIntroduction to Stata
Introduction to Stata September 23, 2014 Stata is one of a few statistical analysis programs that social scientists use. Stata is in the midrange of how easy it is to use. Other options include SPSS,
More informationDepartment of Economics Session 2012/2013. EC352 Econometric Methods. Solutions to Exercises from Week 10 + 0.0077 (0.052)
Department of Economics Session 2012/2013 University of Essex Spring Term Dr Gordon Kemp EC352 Econometric Methods Solutions to Exercises from Week 10 1 Problem 13.7 This exercise refers back to Equation
More informationDiscussion Section 4 ECON 139/239 2010 Summer Term II
Discussion Section 4 ECON 139/239 2010 Summer Term II 1. Let s use the CollegeDistance.csv data again. (a) An education advocacy group argues that, on average, a person s educational attainment would increase
More informationMULTIPLE REGRESSION EXAMPLE
MULTIPLE REGRESSION EXAMPLE For a sample of n = 166 college students, the following variables were measured: Y = height X 1 = mother s height ( momheight ) X 2 = father s height ( dadheight ) X 3 = 1 if
More informationStatistical Modelling in Stata 5: Linear Models
Statistical Modelling in Stata 5: Linear Models Mark Lunt Arthritis Research UK Centre for Excellence in Epidemiology University of Manchester 08/11/2016 Structure This Week What is a linear model? How
More informationQuick Stata Guide by Liz Foster
by Liz Foster Table of Contents Part 1: 1 describe 1 generate 1 regress 3 scatter 4 sort 5 summarize 5 table 6 tabulate 8 test 10 ttest 11 Part 2: Prefixes and Notes 14 by var: 14 capture 14 use of the
More informationPlease follow the directions once you locate the Stata software in your computer. Room 114 (Business Lab) has computers with Stata software
STATA Tutorial Professor Erdinç Please follow the directions once you locate the Stata software in your computer. Room 114 (Business Lab) has computers with Stata software 1.Wald Test Wald Test is used
More informationSoci708 Statistics for Sociologists
Soci708 Statistics for Sociologists Module 11 Multiple Regression 1 François Nielsen University of North Carolina Chapel Hill Fall 2009 1 Adapted from slides for the course Quantitative Methods in Sociology
More informationNonlinear Regression Functions. SW Ch 8 1/54/
Nonlinear Regression Functions SW Ch 8 1/54/ The TestScore STR relation looks linear (maybe) SW Ch 8 2/54/ But the TestScore Income relation looks nonlinear... SW Ch 8 3/54/ Nonlinear Regression General
More informationRegression Analysis. Data Calculations Output
Regression Analysis In an attempt to find answers to questions such as those posed above, empirical labour economists use a useful tool called regression analysis. Regression analysis is essentially a
More informationREGRESSION LINES IN STATA
REGRESSION LINES IN STATA THOMAS ELLIOTT 1. Introduction to Regression Regression analysis is about eploring linear relationships between a dependent variable and one or more independent variables. Regression
More informationRegression in Stata. Alicia Doyle Lynch HarvardMIT Data Center (HMDC)
Regression in Stata Alicia Doyle Lynch HarvardMIT Data Center (HMDC) Documents for Today Find class materials at: http://libraries.mit.edu/guides/subjects/data/ training/workshops.html Several formats
More informationHypothesis Testing in the Linear Regression Model An Overview of t tests, D Prescott
Hypothesis Testing in the Linear Regression Model An Overview of t tests, D Prescott 1. Hypotheses as restrictions An hypothesis typically places restrictions on population regression coefficients. Consider
More informationAugust 2012 EXAMINATIONS Solution Part I
August 01 EXAMINATIONS Solution Part I (1) In a random sample of 600 eligible voters, the probability that less than 38% will be in favour of this policy is closest to (B) () In a large random sample,
More informationDepartment of Economics, Session 2012/2013. EC352 Econometric Methods. Exercises from Week 03
Department of Economics, Session 01/013 University of Essex, Autumn Term Dr Gordon Kemp EC35 Econometric Methods Exercises from Week 03 1 Problem P3.11 The following equation describes the median housing
More informationECON Introductory Econometrics. Lecture 15: Binary dependent variables
ECON4150  Introductory Econometrics Lecture 15: Binary dependent variables Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 11 Lecture Outline 2 The linear probability model Nonlinear probability
More informationEconometrics The Multiple Regression Model: Inference
Econometrics The Multiple Regression Model: João Valle e Azevedo Faculdade de Economia Universidade Nova de Lisboa Spring Semester João Valle e Azevedo (FEUNL) Econometrics Lisbon, March 2011 1 / 24 in
More informationECON Introductory Econometrics Seminar 9
ECON4150  Introductory Econometrics Seminar 9 Stock and Watson EE13.1 April 28, 2015 Stock and Watson EE13.1 ECON4150  Introductory Econometrics Seminar 9 April 28, 2015 1 / 15 Empirical exercise E13.1:
More informationExam and Solution. Please discuss each problem on a separate sheet of paper, not just on a separate page!
Econometrics  Exam 1 Exam and Solution Please discuss each problem on a separate sheet of paper, not just on a separate page! Problem 1: (20 points A health economist plans to evaluate whether screening
More informationIAPRI Quantitative Analysis Capacity Building Series. Multiple regression analysis & interpreting results
IAPRI Quantitative Analysis Capacity Building Series Multiple regression analysis & interpreting results How important is Rsquared? Rsquared Published in Agricultural Economics 0.45 Best article of the
More informationInference for Regression
Simple Linear Regression Inference for Regression The simple linear regression model Estimating regression parameters; Confidence intervals and significance tests for regression parameters Inference about
More informationST 311 Evening Problem Session Solutions Week 11
1. p. 175, Question 32 (Modules 10.110.4) [Learning Objectives J1, J3, J9, J1114, J17] Since 1980, average mortgage rates have fluctuated from a low of under 6% to a high of over 14%. Is there a relationship
More informationHow Do We Test Multiple Regression Coefficients?
How Do We Test Multiple Regression Coefficients? Suppose you have constructed a multiple linear regression model and you have a specific hypothesis to test which involves more than one regression coefficient.
More information1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96
1 Final Review 2 Review 2.1 CI 1propZint Scenario 1 A TV manufacturer claims in its warranty brochure that in the past not more than 10 percent of its TV sets needed any repair during the first two years
More informationIn Chapter 2, we used linear regression to describe linear relationships. The setting for this is a
Math 143 Inference on Regression 1 Review of Linear Regression In Chapter 2, we used linear regression to describe linear relationships. The setting for this is a bivariate data set (i.e., a list of cases/subjects
More informationInteraction effects between continuous variables (Optional)
Interaction effects between continuous variables (Optional) Richard Williams, University of Notre Dame, http://www.nd.edu/~rwilliam/ Last revised February 0, 05 This is a very brief overview of this somewhat
More informationLectures 8, 9 & 10. Multiple Regression Analysis
Lectures 8, 9 & 0. Multiple Regression Analysis In which you learn how to apply the principles and tests outlined in earlier lectures to more realistic models involving more than explanatory variable and
More informationUsing Minitab for Regression Analysis: An extended example
Using Minitab for Regression Analysis: An extended example The following example uses data from another text on fertilizer application and crop yield, and is intended to show how Minitab can be used to
More informationECON 142 SKETCH OF SOLUTIONS FOR APPLIED EXERCISE #2
University of California, Berkeley Prof. Ken Chay Department of Economics Fall Semester, 005 ECON 14 SKETCH OF SOLUTIONS FOR APPLIED EXERCISE # Question 1: a. Below are the scatter plots of hourly wages
More informationFactors affecting online sales
Factors affecting online sales Table of contents Summary... 1 Research questions... 1 The dataset... 2 Descriptive statistics: The exploratory stage... 3 Confidence intervals... 4 Hypothesis tests... 4
More informationMarginal Effects for Continuous Variables Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised February 21, 2015
Marginal Effects for Continuous Variables Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised February 21, 2015 References: Long 1997, Long and Freese 2003 & 2006 & 2014,
More informationPractice 3 SPSS. Partially based on Notes from the University of Reading:
Practice 3 SPSS Partially based on Notes from the University of Reading: http://www.reading.ac.uk Simple Linear Regression A simple linear regression model is fitted when you want to investigate whether
More information2. Linear regression with multiple regressors
2. Linear regression with multiple regressors Aim of this section: Introduction of the multiple regression model OLS estimation in multiple regression Measuresoffit in multiple regression Assumptions
More informationECON Introductory Econometrics. Lecture 17: Experiments
ECON4150  Introductory Econometrics Lecture 17: Experiments Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 13 Lecture outline 2 Why study experiments? The potential outcome framework.
More informationLecture 15. Endogeneity & Instrumental Variable Estimation
Lecture 15. Endogeneity & Instrumental Variable Estimation Saw that measurement error (on right hand side) means that OLS will be biased (biased toward zero) Potential solution to endogeneity instrumental
More informationCorrelation and Regression
Correlation and Regression Scatterplots Correlation Explanatory and response variables Simple linear regression General Principles of Data Analysis First plot the data, then add numerical summaries Look
More informationRockefeller College University at Albany
Rockefeller College University at Albany PAD 705 Handout:, the DurbinWatson Statistic, and the CochraneOrcutt Procedure Serial correlation (also called autocorrelation ) is said to exist when the error
More informationPaired Differences and Regression
Paired Differences and Regression Students sometimes have difficulty distinguishing between paired data and independent samples when comparing two means. One can return to this topic after covering simple
More informationSimple Linear Regression
Inference for Regression Simple Linear Regression IPS Chapter 10.1 2009 W.H. Freeman and Company Objectives (IPS Chapter 10.1) Simple linear regression Statistical model for linear regression Estimating
More informationLecture 16. Autocorrelation
Lecture 16. Autocorrelation In which you learn to recognise whether the residuals from your model are correlated over time, the consequences of this for OLS estimation, how to test for autocorrelation
More informationMODEL I: DRINK REGRESSED ON GPA & MALE, WITHOUT CENTERING
Interpreting Interaction Effects; Interaction Effects and Centering Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised February 20, 2015 Models with interaction effects
More informationAP Statistics 2007 Scoring Guidelines
AP Statistics 2007 Scoring Guidelines The College Board: Connecting Students to College Success The College Board is a notforprofit membership association whose mission is to connect students to college
More informationC2.1. (i) (5 marks) The average participation rate is , the average match rate is summ prate
BOSTON COLLEGE Department of Economics EC 228 01 Econometric Methods Fall 2008, Prof. Baum, Ms. Phillips (tutor), Mr. Dmitriev (grader) Problem Set 2 Due at classtime, Thursday 2 Oct 2008 2.4 (i)(5 marks)
More informationSTATA FUNDAMENTALS FOR MIDDLEBURY COLLEGE ECONOMICS STUDENTS
STATA FUNDAMENTALS FOR MIDDLEBURY COLLEGE ECONOMICS STUDENTS BY EMILY FORREST AUGUST 2008 CONTENTS INTRODUCTION STATA SYNTAX DATASET FILES OPENING A DATASET FROM EXCEL TO STATA WORKING WITH LARGE DATASETS
More informationInteraction Terms Vs. Interaction Effects in Logistic and Probit Regression
 Background: In probit or logistic regressions, one can not base statistical inferences based on simply looking at the coefficient and statistical significance of
More informationRegression Analysis: A Complete Example
Regression Analysis: A Complete Example This section works out an example that includes all the topics we have discussed so far in this chapter. A complete example of regression analysis. PhotoDisc, Inc./Getty
More informationRockefeller College University at Albany
Rockefeller College University at Albany PAD 705 Handout: Hypothesis Testing on Multiple Parameters In many cases we may wish to know whether two or more variables are jointly significant in a regression.
More informationSimple Linear Regression Chapter 11
Simple Linear Regression Chapter 11 Rationale Frequently decisionmaking situations require modeling of relationships among business variables. For instance, the amount of sale of a product may be related
More informationChapter 7: Simple linear regression Learning Objectives
Chapter 7: Simple linear regression Learning Objectives Reading: Section 7.1 of OpenIntro Statistics Video: Correlation vs. causation, YouTube (2:19) Video: Intro to Linear Regression, YouTube (5:18) 
More informationFrom the help desk: Swamy s randomcoefficients model
The Stata Journal (2003) 3, Number 3, pp. 302 308 From the help desk: Swamy s randomcoefficients model Brian P. Poi Stata Corporation Abstract. This article discusses the Swamy (1970) randomcoefficients
More informationInference in Regression Analysis. Dr. Frank Wood
Inference in Regression Analysis Dr. Frank Wood Inference in the Normal Error Regression Model Y i = β 0 + β 1 X i + ɛ i Y i value of the response variable in the i th trial β 0 and β 1 are parameters
More informationChapter 11: Linear Regression  Inference in Regression Analysis  Part 2
Chapter 11: Linear Regression  Inference in Regression Analysis  Part 2 Note: Whether we calculate confidence intervals or perform hypothesis tests we need the distribution of the statistic we will use.
More information25 Working with categorical data and factor variables
25 Working with categorical data and factor variables Contents 25.1 Continuous, categorical, and indicator variables 25.1.1 Converting continuous variables to indicator variables 25.1.2 Converting continuous
More information0.1 Multiple Regression Models
0.1 Multiple Regression Models We will introduce the multiple Regression model as a mean of relating one numerical response variable y to two or more independent (or predictor variables. We will see different
More informationStatistics for Management IISTAT 362Final Review
Statistics for Management IISTAT 362Final Review Multiple Choice Identify the letter of the choice that best completes the statement or answers the question. 1. The ability of an interval estimate to
More informationLecture 16. Endogeneity & Instrumental Variable Estimation (continued)
Lecture 16. Endogeneity & Instrumental Variable Estimation (continued) Seen how endogeneity, Cov(x,u) 0, can be caused by Omitting (relevant) variables from the model Measurement Error in a right hand
More informationE205 Final: Version B
Name: Class: Date: E205 Final: Version B Multiple Choice Identify the choice that best completes the statement or answers the question. 1. The owner of a local nightclub has recently surveyed a random
More informationCointegration and the ECM
Cointegration and the ECM Two nonstationary time series are cointegrated if they tend to move together through time. For instance, we have established that the levels of the Fed Funds rate and the 3year
More informationBIOS 312: MODERN REGRESSION ANALYSIS
BIOS 312: MODERN REGRESSION ANALYSIS James C (Chris) Slaughter Department of Biostatistics Vanderbilt University School of Medicine james.c.slaughter@vanderbilt.edu biostat.mc.vanderbilt.edu/coursebios312
More informationwhere b is the slope of the line and a is the intercept i.e. where the line cuts the y axis.
Least Squares Introduction We have mentioned that one should not always conclude that because two variables are correlated that one variable is causing the other to behave a certain way. However, sometimes
More informationModule 5: Multiple Regression Analysis
Using Statistical Data Using to Make Statistical Decisions: Data Multiple to Make Regression Decisions Analysis Page 1 Module 5: Multiple Regression Analysis Tom Ilvento, University of Delaware, College
More informationStatistics II Final Exam  January Use the University stationery to give your answers to the following questions.
Statistics II Final Exam  January 2012 Use the University stationery to give your answers to the following questions. Do not forget to write down your name and class group in each page. Indicate clearly
More information2. What is the general linear model to be used to model linear trend? (Write out the model) = + + + or
Simple and Multiple Regression Analysis Example: Explore the relationships among Month, Adv.$ and Sales $: 1. Prepare a scatter plot of these data. The scatter plots for Adv.$ versus Sales, and Month versus
More informationRegression Analysis. Pekka Tolonen
Regression Analysis Pekka Tolonen Outline of Topics Simple linear regression: the form and estimation Hypothesis testing and statistical significance Empirical application: the capital asset pricing model
More informationMath 62 Statistics Sample Exam Questions
Math 62 Statistics Sample Exam Questions 1. (10) Explain the difference between the distribution of a population and the sampling distribution of a statistic, such as the mean, of a sample randomly selected
More informationSimple Linear Regression in SPSS STAT 314
Simple Linear Regression in SPSS STAT 314 1. Ten Corvettes between 1 and 6 years old were randomly selected from last year s sales records in Virginia Beach, Virginia. The following data were obtained,
More informationMultiple Regression in SPSS STAT 314
Multiple Regression in SPSS STAT 314 I. The accompanying data is on y = profit margin of savings and loan companies in a given year, x 1 = net revenues in that year, and x 2 = number of savings and loan
More informationChapter 11: Two Variable Regression Analysis
Department of Mathematics Izmir University of Economics Week 1415 20142015 In this chapter, we will focus on linear models and extend our analysis to relationships between variables, the definitions
More informationFrom this it is not clear what sort of variable that insure is so list the first 10 observations.
MNL in Stata We have data on the type of health insurance available to 616 psychologically depressed subjects in the United States (Tarlov et al. 1989, JAMA; Wells et al. 1989, JAMA). The insurance is
More informationTesting for serial correlation in linear paneldata models
The Stata Journal (2003) 3, Number 2, pp. 168 177 Testing for serial correlation in linear paneldata models David M. Drukker Stata Corporation Abstract. Because serial correlation in linear paneldata
More informationGroup Comparisons: Differences in Composition Versus Differences in Models and Effects
Group Comparisons: Differences in Composition Versus Differences in Models and Effects Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised February 15, 2015 Overview.
More informationForecasting in STATA: Tools and Tricks
Forecasting in STATA: Tools and Tricks Introduction This manual is intended to be a reference guide for time series forecasting in STATA. It will be updated periodically during the semester, and will be
More informationCHAPTER 9: SERIAL CORRELATION
Serial correlation (or autocorrelation) is the violation of Assumption 4 (observations of the error term are uncorrelated with each other). Pure Serial Correlation This type of correlation tends to be
More informationStata Walkthrough 4: Regression, Prediction, and Forecasting
Stata Walkthrough 4: Regression, Prediction, and Forecasting Over drinks the other evening, my neighbor told me about his 25yearold nephew, who is dating a 35yearold woman. God, I can t see them getting
More informationRegression in SPSS. Workshop offered by the Mississippi Center for Supercomputing Research and the UM Office of Information Technology
Regression in SPSS Workshop offered by the Mississippi Center for Supercomputing Research and the UM Office of Information Technology John P. Bentley Department of Pharmacy Administration University of
More informationMulticollinearity Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised January 13, 2015
Multicollinearity Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised January 13, 2015 Stata Example (See appendices for full example).. use http://www.nd.edu/~rwilliam/stats2/statafiles/multicoll.dta,
More informationResiduals. Residuals = ª Department of ISM, University of Alabama, ST 260, M23 Residuals & Minitab. ^ e i = y i  y i
A continuation of regression analysis Lesson Objectives Continue to build on regression analysis. Learn how residual plots help identify problems with the analysis. M231 M232 Example 1: continued Case
More informationWooldridge, Introductory Econometrics, 4th ed. Multiple regression analysis:
Wooldridge, Introductory Econometrics, 4th ed. Chapter 4: Inference Multiple regression analysis: We have discussed the conditions under which OLS estimators are unbiased, and derived the variances of
More informationLecture 10: Logistical Regression II Multinomial Data. Prof. Sharyn O Halloran Sustainable Development U9611 Econometrics II
Lecture 10: Logistical Regression II Multinomial Data Prof. Sharyn O Halloran Sustainable Development U9611 Econometrics II Logit vs. Probit Review Use with a dichotomous dependent variable Need a link
More informationDETERMINANTS OF CAPITAL ADEQUACY RATIO IN SELECTED BOSNIAN BANKS
DETERMINANTS OF CAPITAL ADEQUACY RATIO IN SELECTED BOSNIAN BANKS Nađa DRECA International University of Sarajevo nadja.dreca@students.ius.edu.ba Abstract The analysis of a data set of observation for 10
More informationSimple linear regression
Simple linear regression Introduction Simple linear regression is a statistical method for obtaining a formula to predict values of one variable from another where there is a causal relationship between
More informationChapter 13 Introduction to Linear Regression and Correlation Analysis
Chapter 3 Student Lecture Notes 3 Chapter 3 Introduction to Linear Regression and Correlation Analsis Fall 2006 Fundamentals of Business Statistics Chapter Goals To understand the methods for displaing
More informationUsing R for Linear Regression
Using R for Linear Regression In the following handout words and symbols in bold are R functions and words and symbols in italics are entries supplied by the user; underlined words and symbols are optional
More informationStatistics 104 Final Project A Culture of Debt: A Study of Credit Card Spending in America TF: Kevin Rader Anonymous Students: LD, MH, IW, MY
Statistics 104 Final Project A Culture of Debt: A Study of Credit Card Spending in America TF: Kevin Rader Anonymous Students: LD, MH, IW, MY ABSTRACT: This project attempted to determine the relationship
More informationMultiple Linear Regression
Multiple Linear Regression A regression with two or more explanatory variables is called a multiple regression. Rather than modeling the mean response as a straight line, as in simple regression, it is
More informationUsing Stata 11 & higher for Logistic Regression Richard Williams, University of Notre Dame, Last revised March 28, 2015
Using Stata 11 & higher for Logistic Regression Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised March 28, 2015 NOTE: The routines spost13, lrdrop1, and extremes are
More informationHandling missing data in Stata a whirlwind tour
Handling missing data in Stata a whirlwind tour 2012 Italian Stata Users Group Meeting Jonathan Bartlett www.missingdata.org.uk 20th September 2012 1/55 Outline The problem of missing data and a principled
More informationPASS Sample Size Software. Linear Regression
Chapter 855 Introduction Linear regression is a commonly used procedure in statistical analysis. One of the main objectives in linear regression analysis is to test hypotheses about the slope (sometimes
More informationQuestions and Answers on Hypothesis Testing and Confidence Intervals
Questions and Answers on Hypothesis Testing and Confidence Intervals L. Magee Fall, 2008 1. Using 25 observations and 5 regressors, including the constant term, a researcher estimates a linear regression
More informationRegression Analysis: Basic Concepts
The simple linear model Regression Analysis: Basic Concepts Allin Cottrell Represents the dependent variable, y i, as a linear function of one independent variable, x i, subject to a random disturbance
More informationFailure to take the sampling scheme into account can lead to inaccurate point estimates and/or flawed estimates of the standard errors.
Analyzing Complex Survey Data: Some key issues to be aware of Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised January 24, 2015 Rather than repeat material that is
More information121 Multiple Linear Regression Models
121.1 Introduction Many applications of regression analysis involve situations in which there are more than one regressor variable. A regression model that contains more than one regressor variable is
More information1. ε is normally distributed with a mean of 0 2. the variance, σ 2, is constant 3. All pairs of error terms are uncorrelated
STAT E150 Statistical Methods Residual Analysis; Data Transformations The validity of the inference methods (hypothesis testing, confidence intervals, and prediction intervals) depends on the error term,
More informationLab 5 Linear Regression with Withinsubject Correlation. Goals: Data: Use the pig data which is in wide format:
Lab 5 Linear Regression with Withinsubject Correlation Goals: Data: Fit linear regression models that account for withinsubject correlation using Stata. Compare weighted least square, GEE, and random
More informationThe general form of the PROC GLM statement is
Linear Regression Analysis using PROC GLM Regression analysis is a statistical method of obtaining an equation that represents a linear relationship between two variables (simple linear regression), or
More informationStatistics 112 Regression Cheatsheet Section 1B  Ryan Rosario
Statistics 112 Regression Cheatsheet Section 1B  Ryan Rosario I have found that the best way to practice regression is by brute force That is, given nothing but a dataset and your mind, compute everything
More informationLecture 16: Logistic regression diagnostics, splines and interactions. Sandy Eckel 19 May 2007
Lecture 16: Logistic regression diagnostics, splines and interactions Sandy Eckel seckel@jhsph.edu 19 May 2007 1 Logistic Regression Diagnostics Graphs to check assumptions Recall: Graphing was used to
More information