ECON Introductory Econometrics Seminar 7

Size: px
Start display at page:

Download "ECON Introductory Econometrics Seminar 7"

Transcription

1 ECON Introductory Econometrics Seminar 7 Stock and Watson EE11.2 April 28, 2015 Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

2 E b clear set more off clear all cd M:\pc\Desktop\courses\introductory_econometrics\seminar_7 // E b and E b set obs 19 gen edu=0 replace edu=_n-1 gen pred_log= 1/(1+exp( *edu)) gen pred_prob= normal( *edu) gen pred_lin= 0.035*edu twoway (line pred_prob edu) (line pred_log edu) Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

3 E b The shape of the regression functions are similar Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

4 E b In this case the LPM model produces nonsensical results (probabilities smaller than 0) Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

5 Empirical exercise E11.2: Data Smoking.dta is a cross-sectional data set with observations on 10,000 indoor workers. Smoking.dta is a cross-sectional data set with observations on 10,000 indoor workers. The data set contains information on whether individuals were, or were not, subject to a workplace smoking ban, whether or not the individuals smoked and other individual characteristics. We are going to investigate the effect of smoking bans on smoking behavior. Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

6 Empirical exercise E11.2: Data Variable smoker smkban age hsdrop hsgrad colsome colgrad black hispanic female description =1 if current smoker, =0 otherwise =1 if there is a work area smoking ban, =0 otherwise age in years =1 if high school dropout, =0 otherwise =1 if high school graduate, =0 otherwise =1 if some college, =0 otherwise =1 if college graduate, =0 otherwise =1 if black, =0 otherwise =1 if Hispanic =0 otherwise =1 if female, =0 otherwise Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

7 Empirical exercise E11.2: Data use "Smoking.dta",clear summ Variable Obs Mean Std. Dev. Min Max smoker smkban age hsdrop hsgrad colsome colgrad black hispanic female Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

8 a) //a //estimated probability of smoking summarize smoker for all workers is the proportion of smoker in the sample Variable Obs Mean Std. Dev. Min Max smoker //estimated probability for all workers affected by smoking ban summarize smoker if smkban==1 Variable Obs Mean Std. Dev. Min Max smoker //estimated probability for all workers not affected by smoking ban summarize smoker if smkban==0 Variable Obs Mean Std. Dev. Min Max smoker Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

9 b) One way is to compute the diff between the means computed in part a): = We can estimate linear probability model to check whether difference is significant reg smoker smkban, robust Linear regression Number of obs = F( 1, 9998) = Prob > F = R-squared = Root MSE = Robust smoker Coef. Std. Err. t P> t [95% Conf. Interval] smkban _cons Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

10 c gen age2=age^2 regress smoker smkban female age age2 hsdrop hsgrad colsome colgrad black hispanic, robust Linear regression Number of obs = F( 10, 9989) = Prob > F = R-squared = Root MSE = Robust smoker Coef. Std. Err. t P> t [95% Conf. Interval] smkban female age age hsdrop hsgrad colsome colgrad black hispanic _cons Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

11 c Coefficient in multiple regression model is quite a bit smaller in absolute value, this indicates that the first coefficient suffers from omitted variable bias. Characteristics of workers that work in an office with a smoking ban differ from the characteristics of workers that work in an office without a smoking ban. For example, workers with a college degree are more likely to work in an office with a smoking ban than high-school dropouts, and college graduates are less likely to smoke than high-school dropouts Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

12 d We can compute the t-statistic: H 0 : β smkban = 0 H 1 : β smkban 0 t = = 5.27 t = 5.27 > 1.96 so the null hypothesis that the coefficient on smkban is equal to zero is rejected at a 5% significance level. Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

13 e To test the hypothesis that the probability of smoking does not depend on education we have to test the following joint null hypothesis: H 0 : β hsdrop = β hsgrad = β colsome = β colgrad = 0 H 1 : at least one among β hsdrop, β hsgrad, β colsome, β colgrad is not equal to 0 test hsdrop=hsgrad=colsome=colgrad=0 ( 1) hsdrop - hsgrad = 0 ( 2) hsdrop - colsome = 0 ( 3) hsdrop - colgrad = 0 ( 4) hsdrop = 0 F( 4, 9989) = Prob > F = The pvalue = so the null hypothesis is rejected at a 1% significance level. Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

14 e The omitted education category is Masters degree or higher Thus the coefficients show the increase in probability of smoking relative to someone with a masters degree or higher For example, the coefficient on colgrad is 0.045, so the probability of smoking for a college graduate is (4.5%) higher than for someone with a masters degree or higher. Similarly, the coefficient on hsdrop is 0.323, so the probability of smoking for a high school dropout is (32.3%) higher than for someone with a masters degree or higher. Because the coefficients are all positive and get smaller as educational attainment increases, the probability of smoking falls as educational attainment increases. Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

15 f probit probit smoker smkban female age age2 hsdrop hsgrad colsome colgrad black hispanic, robust Iteration 0: log pseudolikelihood = Iteration 1: log pseudolikelihood = Iteration 2: log pseudolikelihood = Iteration 3: log pseudolikelihood = Probit regression Number of obs = Wald chi2(10) = Prob > chi2 = Log pseudolikelihood = Pseudo R2 = Robust smoker Coef. Std. Err. z P> z [95% Conf. Interval] smkban female age age hsdrop hsgrad colsome colgrad black hispanic _cons Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

16 f We can compute the t-statistic: H 0 : β smkban = 0 H 1 : β smkban 0 t = = 5.45 t = 5.45 > 1.96 so the null hypothesis that the coefficient on smkban is equal to zero is rejected at a 5% significance level. Very similar t-statistic as in the linear probability model. Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

17 f test hsdrop=hsgrad=colsome=colgrad=0 ( 1) [smoker]hsdrop - [smoker]hsgrad = 0 ( 2) [smoker]hsdrop - [smoker]colsome = 0 ( 3) [smoker]hsdrop - [smoker]colgrad = 0 ( 4) [smoker]hsdrop = 0 chi2( 4) = Prob > chi2 = The pvalue = so the null hypothesis is rejected at a 1% significance level Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

18 g logit smoker smkban female age age2 hsdrop hsgrad colsome colgrad black hispanic, robust Iteration 0: log pseudolikelihood = Iteration 1: log pseudolikelihood = Iteration 2: log pseudolikelihood = Iteration 3: log pseudolikelihood = Iteration 4: log pseudolikelihood = Logistic regression Number of obs = Wald chi2(10) = Prob > chi2 = Log pseudolikelihood = Pseudo R2 = Robust smoker Coef. Std. Err. z P> z [95% Conf. Interval] smkban female age age hsdrop hsgrad colsome colgrad black hispanic _cons Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

19 g We can compute the t-statistic: H 0 : β smkban = 0 H 1 : β smkban 0 t = = t = > 1.96 so the null hypothesis that the coefficient on smkban is equal to zero is rejected at a 5% significance level. Very similar t-statistic as in the linear probability model. Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

20 g test hsdrop=hsgrad=colsome=colgrad=0 ( 1) [smoker]hsdrop - [smoker]hsgrad = 0 ( 2) [smoker]hsdrop - [smoker]colsome = 0 ( 3) [smoker]hsdrop - [smoker]colgrad = 0 ( 4) [smoker]hsdrop = 0 chi2( 4) = Prob > chi2 = log close Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

21 h, i. Mr.A (male, white, no hispanic, 20 years old, high school dropout) probability of smoking with no ban based on the probit results: Pr(smok = 1/smkban = 0) A = Φ( ) = Mr.A probability of smoking with smoking ban based on the probit results: Pr(smok = 1/smkban = 1) A = Φ( ) = effect of the smoking bans in the probabiliyt of smoking of mister A is a decrease of 6.2 % Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

22 h, ii. Ms. B (female, black, 40 years old, college graduate) probability of smoking with no ban based on the probit results: Pr(smok = 1/ban = 0) B = Φ( ) = Ms. B probability of smoking with smoking ban based on the probit results: Pr(smok = 1/ban = 1) B = Φ( ) = effect of the smoking bans in the probabiliyt of smoking of mister B is a decrease of 3.3 %. The effect of introducing the ban is different for different individuals Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

23 h, iii. linear probability model: Pr(smok = 1/smkban = 0) A = = Pr(smok = 1/smkban = 1) A = = Pr(smok = 1/ban = 0) B = = Pr(smok = 1/ban = 1) B = = the marginal impact of workplace smoking bans on the probability of an individual smoking is not dependent on the other characteristics of the individual. In both cases the bans reduces the probability of smoking by Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

24 h, iv. Logit model: 1 Pr(smok = 1/smkban = 0) A = = e ( ) Pr(smok = 1/smkban = 1) A = difference is Pr(smok = 1/ban = 0) B = Pr(smok = 1/ban = 1) B = difference is Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

25 h,v linear probability model assumes that the marginal impact indipendent of other characteristics. probit and logit predicted marginal impact of workplace smoking bans on the probability of smoking depends on individual characteristics In this sense the probit and logit model are likely more appropriate, and they give very similar answers we can think of large impacts. For example, for people with characteristics like Mr. A the reduction on the probability is great than 6% (from the probit and logit models) Stock and Watson EE11.2 ECON Introductory Econometrics Seminar 7 April 28, / 25

Chapter 11 Regression with a Binary Dependent Variable

Chapter 11 Regression with a Binary Dependent Variable Chapter 11 Regression with a Binary Dependent Variable Solutions to Empirical Exercises 1. Smkban (1) (2) (3) Linear Probability 0.078** Linear Probability 0.047** Age 0.0097** (0.0018) Age 2 0.00013**

More information

Age (continuous) Gender (0=Male, 1=Female) SES (1=Low, 2=Medium, 3=High) Prior Victimization (0= Not Victimized, 1=Victimized)

Age (continuous) Gender (0=Male, 1=Female) SES (1=Low, 2=Medium, 3=High) Prior Victimization (0= Not Victimized, 1=Victimized) Criminal Justice Doctoral Comprehensive Exam Statistics August 2016 There are two questions on this exam. Be sure to answer both questions in the 3 and half hours to complete this exam. Read the instructions

More information

Final Exam - section 2. Thursday, December hours, 30 minutes

Final Exam - section 2. Thursday, December hours, 30 minutes Econometrics, ECON312 San Francisco State University Michael Bar Fall 2011 Final Exam - section 2 Thursday, December 15 2 hours, 30 minutes Name: Instructions 1. This is closed book, closed notes exam.

More information

Notes for laboratory session 2

Notes for laboratory session 2 Notes for laboratory session 2 Preliminaries Consider the ordinary least-squares (OLS) regression of alcohol (alcohol) and plasma retinol (retplasm). We do this with STATA as follows:. reg retplasm alcohol

More information

Modeling unobserved heterogeneity in Stata

Modeling unobserved heterogeneity in Stata Modeling unobserved heterogeneity in Stata Rafal Raciborski StataCorp LLC November 27, 2017 Rafal Raciborski (StataCorp) Modeling unobserved heterogeneity November 27, 2017 1 / 59 Plan of the talk Concepts

More information

Regression Output: Table 5 (Random Effects OLS) Random-effects GLS regression Number of obs = 1806 Group variable (i): subject Number of groups = 70

Regression Output: Table 5 (Random Effects OLS) Random-effects GLS regression Number of obs = 1806 Group variable (i): subject Number of groups = 70 Regression Output: Table 5 (Random Effects OLS) Random-effects GLS regression Number of obs = 1806 R-sq: within = 0.1498 Obs per group: min = 18 between = 0.0205 avg = 25.8 overall = 0.0935 max = 28 Random

More information

Multiple Linear Regression Analysis

Multiple Linear Regression Analysis Revised July 2018 Multiple Linear Regression Analysis This set of notes shows how to use Stata in multiple regression analysis. It assumes that you have set Stata up on your computer (see the Getting Started

More information

ECON Introductory Econometrics. Seminar 1. Stock and Watson Chapter 2 & 3

ECON Introductory Econometrics. Seminar 1. Stock and Watson Chapter 2 & 3 ECON4150 - Introductory Econometrics Seminar 1 Stock and Watson Chapter 2 & 3 Empirical exercise E3.1: Data 2 In this exercise we use the data set CPS92_12.dta Each month the Bureau of Labor Statistics

More information

m 11 m.1 > m 12 m.2 risk for smokers risk for nonsmokers

m 11 m.1 > m 12 m.2 risk for smokers risk for nonsmokers SOCY5061 RELATIVE RISKS, RELATIVE ODDS, LOGISTIC REGRESSION RELATIVE RISKS: Suppose we are interested in the association between lung cancer and smoking. Consider the following table for the whole population:

More information

4. STATA output of the analysis

4. STATA output of the analysis Biostatistics(1.55) 1. Objective: analyzing epileptic seizures data using GEE marginal model in STATA.. Scientific question: Determine whether the treatment reduces the rate of epileptic seizures. 3. Dataset:

More information

MULTIPLE REGRESSION OF CPS DATA

MULTIPLE REGRESSION OF CPS DATA MULTIPLE REGRESSION OF CPS DATA A further inspection of the relationship between hourly wages and education level can show whether other factors, such as gender and work experience, influence wages. Linear

More information

Name: emergency please discuss this with the exam proctor. 6. Vanderbilt s academic honor code applies.

Name: emergency please discuss this with the exam proctor. 6. Vanderbilt s academic honor code applies. Name: Biostatistics 1 st year Comprehensive Examination: Applied in-class exam May 28 th, 2015: 9am to 1pm Instructions: 1. There are seven questions and 12 pages. 2. Read each question carefully. Answer

More information

1. Objective: analyzing CD4 counts data using GEE marginal model and random effects model. Demonstrate the analysis using SAS and STATA.

1. Objective: analyzing CD4 counts data using GEE marginal model and random effects model. Demonstrate the analysis using SAS and STATA. LDA lab Feb, 6 th, 2002 1 1. Objective: analyzing CD4 counts data using GEE marginal model and random effects model. Demonstrate the analysis using SAS and STATA. 2. Scientific question: estimate the average

More information

Sociology 63993, Exam1 February 12, 2015 Richard Williams, University of Notre Dame,

Sociology 63993, Exam1 February 12, 2015 Richard Williams, University of Notre Dame, Sociology 63993, Exam1 February 12, 2015 Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ I. True-False. (20 points) Indicate whether the following statements are true or false.

More information

Least likely observations in regression models for categorical outcomes

Least likely observations in regression models for categorical outcomes The Stata Journal (2002) 2, Number 3, pp. 296 300 Least likely observations in regression models for categorical outcomes Jeremy Freese University of Wisconsin Madison Abstract. This article presents a

More information

MODEL I: DRINK REGRESSED ON GPA & MALE, WITHOUT CENTERING

MODEL I: DRINK REGRESSED ON GPA & MALE, WITHOUT CENTERING Interpreting Interaction Effects; Interaction Effects and Centering Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised February 20, 2015 Models with interaction effects

More information

Sociology Exam 3 Answer Key [Draft] May 9, 201 3

Sociology Exam 3 Answer Key [Draft] May 9, 201 3 Sociology 63993 Exam 3 Answer Key [Draft] May 9, 201 3 I. True-False. (20 points) Indicate whether the following statements are true or false. If false, briefly explain why. 1. Bivariate regressions are

More information

Multivariate dose-response meta-analysis: an update on glst

Multivariate dose-response meta-analysis: an update on glst Multivariate dose-response meta-analysis: an update on glst Nicola Orsini Unit of Biostatistics Unit of Nutritional Epidemiology Institute of Environmental Medicine Karolinska Institutet http://www.imm.ki.se/biostatistics/

More information

Estimating average treatment effects from observational data using teffects

Estimating average treatment effects from observational data using teffects Estimating average treatment effects from observational data using teffects David M. Drukker Director of Econometrics Stata 2013 Nordic and Baltic Stata Users Group meeting Karolinska Institutet September

More information

Generalized Mixed Linear Models Practical 2

Generalized Mixed Linear Models Practical 2 Generalized Mixed Linear Models Practical 2 Dankmar Böhning December 3, 2014 Prevalence of upper respiratory tract infection The data below are taken from a survey on the prevalence of upper respiratory

More information

Assessing Studies Based on Multiple Regression. Chapter 7. Michael Ash CPPA

Assessing Studies Based on Multiple Regression. Chapter 7. Michael Ash CPPA Assessing Studies Based on Multiple Regression Chapter 7 Michael Ash CPPA Assessing Regression Studies p.1/20 Course notes Last time External Validity Internal Validity Omitted Variable Bias Misspecified

More information

Limited dependent variable regression models

Limited dependent variable regression models 181 11 Limited dependent variable regression models In the logit and probit models we discussed previously the dependent variable assumed values of 0 and 1, 0 representing the absence of an attribute and

More information

Score Tests of Normality in Bivariate Probit Models

Score Tests of Normality in Bivariate Probit Models Score Tests of Normality in Bivariate Probit Models Anthony Murphy Nuffield College, Oxford OX1 1NF, UK Abstract: A relatively simple and convenient score test of normality in the bivariate probit model

More information

Econometric analysis and counterfactual studies in the context of IA practices

Econometric analysis and counterfactual studies in the context of IA practices Econometric analysis and counterfactual studies in the context of IA practices Giulia Santangelo http://crie.jrc.ec.europa.eu Centre for Research on Impact Evaluation DG EMPL - DG JRC CRIE Centre for Research

More information

Syntax Menu Description Options Remarks and examples Stored results Methods and formulas References Also see

Syntax Menu Description Options Remarks and examples Stored results Methods and formulas References Also see Title stata.com teffects ra Regression adjustment Syntax Syntax Menu Description Options Remarks and examples Stored results Methods and formulas References Also see teffects ra (ovar omvarlist [, omodel

More information

This tutorial presentation is prepared by. Mohammad Ehsanul Karim

This tutorial presentation is prepared by. Mohammad Ehsanul Karim STATA: The Red tutorial STATA: The Red tutorial This tutorial presentation is prepared by Mohammad Ehsanul Karim ehsan.karim@gmail.com STATA: The Red tutorial This tutorial presentation is prepared by

More information

ADVANCED STATISTICAL METHODS: PART 1: INTRODUCTION TO PROPENSITY SCORES IN STATA. Learning objectives:

ADVANCED STATISTICAL METHODS: PART 1: INTRODUCTION TO PROPENSITY SCORES IN STATA. Learning objectives: ADVANCED STATISTICAL METHODS: ACS Outcomes Research Course PART 1: INTRODUCTION TO PROPENSITY SCORES IN STATA Learning objectives: To understand the use of propensity scores as a means for controlling

More information

Regression Methods in Biostatistics: Linear, Logistic, Survival, and Repeated Measures Models, 2nd Ed.

Regression Methods in Biostatistics: Linear, Logistic, Survival, and Repeated Measures Models, 2nd Ed. Eric Vittinghoff, David V. Glidden, Stephen C. Shiboski, and Charles E. McCulloch Division of Biostatistics Department of Epidemiology and Biostatistics University of California, San Francisco Regression

More information

Sarwar Islam Mozumder 1, Mark J Rutherford 1 & Paul C Lambert 1, Stata London Users Group Meeting

Sarwar Islam Mozumder 1, Mark J Rutherford 1 & Paul C Lambert 1, Stata London Users Group Meeting 2016 Stata London Users Group Meeting stpm2cr: A Stata module for direct likelihood inference on the cause-specific cumulative incidence function within the flexible parametric modelling framework Sarwar

More information

Introduction to regression

Introduction to regression Introduction to regression Regression describes how one variable (response) depends on another variable (explanatory variable). Response variable: variable of interest, measures the outcome of a study

More information

2. Scientific question: Determine whether there is a difference between boys and girls with respect to the distance and its change over time.

2. Scientific question: Determine whether there is a difference between boys and girls with respect to the distance and its change over time. LDA lab Feb, 11 th, 2002 1 1. Objective:analyzing dental data using ordinary least square (OLS) and Generalized Least Square(GLS) in STATA. 2. Scientific question: Determine whether there is a difference

More information

Analysis of Rheumatoid Arthritis Data using Logistic Regression and Penalized Approach

Analysis of Rheumatoid Arthritis Data using Logistic Regression and Penalized Approach University of South Florida Scholar Commons Graduate Theses and Dissertations Graduate School November 2015 Analysis of Rheumatoid Arthritis Data using Logistic Regression and Penalized Approach Wei Chen

More information

Midterm Exam ANSWERS Categorical Data Analysis, CHL5407H

Midterm Exam ANSWERS Categorical Data Analysis, CHL5407H Midterm Exam ANSWERS Categorical Data Analysis, CHL5407H 1. Data from a survey of women s attitudes towards mammography are provided in Table 1. Women were classified by their experience with mammography

More information

Implementing double-robust estimators of causal effects

Implementing double-robust estimators of causal effects The Stata Journal (2008) 8, Number 3, pp. 334 353 Implementing double-robust estimators of causal effects Richard Emsley Biostatistics, Health Methodology Research Group The University of Manchester, UK

More information

Immortal Time Bias and Issues in Critical Care. Dave Glidden May 24, 2007

Immortal Time Bias and Issues in Critical Care. Dave Glidden May 24, 2007 Immortal Time Bias and Issues in Critical Care Dave Glidden May 24, 2007 Critical Care Acute Respiratory Distress Syndrome Patients on ventilator Patients may recover or die Outcome: Ventilation/Death

More information

Joseph W Hogan Brown University & AMPATH February 16, 2010

Joseph W Hogan Brown University & AMPATH February 16, 2010 Joseph W Hogan Brown University & AMPATH February 16, 2010 Drinking and lung cancer Gender bias and graduate admissions AMPATH nutrition study Stratification and regression drinking and lung cancer graduate

More information

Evaluating the Matlab Interventions Using Non-standardOctober Methods10, and2012 Outcomes 1 / 31

Evaluating the Matlab Interventions Using Non-standardOctober Methods10, and2012 Outcomes 1 / 31 Evaluating the Matlab Interventions Using Non-standard Methods and Outcomes Julia Driessen University of Pittsburgh October 10, 2012 Evaluating the Matlab Interventions Using Non-standardOctober Methods10,

More information

G , G , G MHRN

G , G , G MHRN Estimation of treatment-effects from randomized controlled trials in the presence non-compliance with randomized treatment allocation Graham Dunn University of Manchester Research funded by: MRC Methodology

More information

(a) Perform a cost-benefit analysis of diabetes screening for this group. Does it favor screening?

(a) Perform a cost-benefit analysis of diabetes screening for this group. Does it favor screening? Cameron ECON 132 (Health Economics): SECOND MIDTERM EXAM (A) Winter 18 Answer all questions in the space provided on the exam. Total of 36 points (and worth 22.5% of final grade). Read each question carefully,

More information

Generalized Linear Models of Malaria Incidence in Jubek State, South Sudan

Generalized Linear Models of Malaria Incidence in Jubek State, South Sudan Science Journal of Applied Mathematics and Statistics 2017; 5(4): 134-138 http://www.sciencepublishinggroup.com/j/sjams doi: 10.11648/j.sjams.20170504.12 ISSN: 2376-9491 (Print); ISSN: 2376-9513 (Online)

More information

HZAU MULTIVARIATE HOMEWORK #2 MULTIPLE AND STEPWISE LINEAR REGRESSION

HZAU MULTIVARIATE HOMEWORK #2 MULTIPLE AND STEPWISE LINEAR REGRESSION HZAU MULTIVARIATE HOMEWORK #2 MULTIPLE AND STEPWISE LINEAR REGRESSION Using the malt quality dataset on the class s Web page: 1. Determine the simple linear correlation of extract with the remaining variables.

More information

Econometric Game 2012: infants birthweight?

Econometric Game 2012: infants birthweight? Econometric Game 2012: How does maternal smoking during pregnancy affect infants birthweight? Case A April 18, 2012 1 Introduction Low birthweight is associated with adverse health related and economic

More information

Demystifying causal inference in randomised trials. Lecture 3: Introduction to mediation and mediation analysis using instrumental variables

Demystifying causal inference in randomised trials. Lecture 3: Introduction to mediation and mediation analysis using instrumental variables Demystifying causal inference in randomised trials Lecture 3: Introduction to mediation and mediation analysis using instrumental variables ISCB 2016 Graham Dunn and Richard Emsley Centre for Biostatistics,

More information

Editor Executive Editor Associate Editors Copyright Statement:

Editor Executive Editor Associate Editors Copyright Statement: The Stata Journal Editor H. Joseph Newton Department of Statistics Texas A & M University College Station, Texas 77843 979-845-3142 979-845-3144 FAX jnewton@stata-journal.com Associate Editors Christopher

More information

War and Relatedness Enrico Spolaore and Romain Wacziarg September 2015

War and Relatedness Enrico Spolaore and Romain Wacziarg September 2015 War and Relatedness Enrico Spolaore and Romain Wacziarg September 2015 Online Appendix Supplementary Empirical Results, described in the main text as "Available in the Online Appendix" 1 Table AUR0 Effect

More information

Bayesian Logistic Regression Modelling via Markov Chain Monte Carlo Algorithm

Bayesian Logistic Regression Modelling via Markov Chain Monte Carlo Algorithm Journal of Social and Development Sciences Vol. 4, No. 4, pp. 93-97, Apr 203 (ISSN 222-52) Bayesian Logistic Regression Modelling via Markov Chain Monte Carlo Algorithm Henry De-Graft Acquah University

More information

Health information and life-course smoking behavior: evidence from Turkey

Health information and life-course smoking behavior: evidence from Turkey The European Journal of Health Economics https://doi.org/10.1007/s10198-018-0988-9 ORIGINAL PAPER Health information and life-course smoking behavior: evidence from Turkey Dean R. Lillard 1 Zeynep Önder

More information

Analyzing binary outcomes, going beyond logistic regression

Analyzing binary outcomes, going beyond logistic regression Analyzing binary outcomes, going beyond logistic regression 2018 EHE Forum presentation James O. Uanhoro Department of Educational Studies Premise Obtaining relative risk using Poisson regression Obtaining

More information

ANOVA. Thomas Elliott. January 29, 2013

ANOVA. Thomas Elliott. January 29, 2013 ANOVA Thomas Elliott January 29, 2013 ANOVA stands for analysis of variance and is one of the basic statistical tests we can use to find relationships between two or more variables. ANOVA compares the

More information

Heidi Hardt. *** For questions about this online resource, contact Prof. Heidi Hardt at hhardt at uci dot edu ***

Heidi Hardt. *** For questions about this online resource, contact Prof. Heidi Hardt at hhardt at uci dot edu *** Online Resource for Who matters for memory: Sources of institutional memory in international organization crisis management in Review of International Organizations (2017) Heidi Hardt Table of Contents

More information

Chapter 11: Advanced Remedial Measures. Weighted Least Squares (WLS)

Chapter 11: Advanced Remedial Measures. Weighted Least Squares (WLS) Chapter : Advanced Remedial Measures Weighted Least Squares (WLS) When the error variance appears nonconstant, a transformation (of Y and/or X) is a quick remedy. But it may not solve the problem, or it

More information

Statistical reports Regression, 2010

Statistical reports Regression, 2010 Statistical reports Regression, 2010 Niels Richard Hansen June 10, 2010 This document gives some guidelines on how to write a report on a statistical analysis. The document is organized into sections that

More information

Controlling for time-dependent confounding using marginal structural models

Controlling for time-dependent confounding using marginal structural models The Stata Journal (2004) 4, Number 4, pp. 402 420 Controlling for time-dependent confounding using marginal structural models Zoe Fewell University of Bristol, UK Zoe.Fewell@bristol.ac.uk Frederick Wolfe

More information

Final Exam. Thursday the 23rd of March, Question Total Points Score Number Possible Received Total 100

Final Exam. Thursday the 23rd of March, Question Total Points Score Number Possible Received Total 100 General Comments: Final Exam Thursday the 23rd of March, 2017 Name: This exam is closed book. However, you may use four pages, front and back, of notes and formulas. Write your answers on the exam sheets.

More information

Today: Binomial response variable with an explanatory variable on an ordinal (rank) scale.

Today: Binomial response variable with an explanatory variable on an ordinal (rank) scale. Model Based Statistics in Biology. Part V. The Generalized Linear Model. Single Explanatory Variable on an Ordinal Scale ReCap. Part I (Chapters 1,2,3,4), Part II (Ch 5, 6, 7) ReCap Part III (Ch 9, 10,

More information

NORTH SOUTH UNIVERSITY TUTORIAL 2

NORTH SOUTH UNIVERSITY TUTORIAL 2 NORTH SOUTH UNIVERSITY TUTORIAL 2 AHMED HOSSAIN,PhD Data Management and Analysis AHMED HOSSAIN,PhD - Data Management and Analysis 1 Correlation Analysis INTRODUCTION In correlation analysis, we estimate

More information

Binary Diagnostic Tests Two Independent Samples

Binary Diagnostic Tests Two Independent Samples Chapter 537 Binary Diagnostic Tests Two Independent Samples Introduction An important task in diagnostic medicine is to measure the accuracy of two diagnostic tests. This can be done by comparing summary

More information

Introduction to Econometrics

Introduction to Econometrics Global edition Introduction to Econometrics Updated Third edition James H. Stock Mark W. Watson MyEconLab of Practice Provides the Power Optimize your study time with MyEconLab, the online assessment and

More information

University of Cape Town

University of Cape Town The copyright of this thesis vests in the author. No quotation from it or information derived from it is to be published without full acknowledgement of the source. The thesis is to be used for private

More information

Multiple Regression Analysis

Multiple Regression Analysis Multiple Regression Analysis Basic Concept: Extend the simple regression model to include additional explanatory variables: Y = β 0 + β1x1 + β2x2 +... + βp-1xp + ε p = (number of independent variables

More information

MEA DISCUSSION PAPERS

MEA DISCUSSION PAPERS Inference Problems under a Special Form of Heteroskedasticity Helmut Farbmacher, Heinrich Kögel 03-2015 MEA DISCUSSION PAPERS mea Amalienstr. 33_D-80799 Munich_Phone+49 89 38602-355_Fax +49 89 38602-390_www.mea.mpisoc.mpg.de

More information

Statistical questions for statistical methods

Statistical questions for statistical methods Statistical questions for statistical methods Unpaired (two-sample) t-test DECIDE: Does the numerical outcome have a relationship with the categorical explanatory variable? Is the mean of the outcome the

More information

Outline. Introduction GitHub and installation Worked example Stata wishes Discussion. mrrobust: a Stata package for MR-Egger regression type analyses

Outline. Introduction GitHub and installation Worked example Stata wishes Discussion. mrrobust: a Stata package for MR-Egger regression type analyses mrrobust: a Stata package for MR-Egger regression type analyses London Stata User Group Meeting 2017 8 th September 2017 Tom Palmer Wesley Spiller Neil Davies Outline Introduction GitHub and installation

More information

112 Statistics I OR I Econometrics A SAS macro to test the significance of differences between parameter estimates In PROC CATMOD

112 Statistics I OR I Econometrics A SAS macro to test the significance of differences between parameter estimates In PROC CATMOD 112 Statistics I OR I Econometrics A SAS macro to test the significance of differences between parameter estimates In PROC CATMOD Unda R. Ferguson, Office of Academic Computing Mel Widawski, Office of

More information

Contingency Tables Summer 2017 Summer Institutes 187

Contingency Tables Summer 2017 Summer Institutes 187 Contingency Tables 87 Overview ) Types of Variables ) Comparing () Categorical Variables Contingency (two-way) tables Tests 3) x Tables Sampling designs Testing for association Estimation of effects Paired

More information

Unhealthy consumption behaviors and their intergenerational persistence: the role of education

Unhealthy consumption behaviors and their intergenerational persistence: the role of education Unhealthy consumption behaviors and their intergenerational persistence: the role of education Dr. Yanjun REN Department of Agricultural Economics, University of Kiel, Germany IAMO Forum 2017, Halle, Germany

More information

An Analysis of the Effect of Income on Adult Body Weight in China. Ruizhi Zhang Faculty Advisor: Professor David Roland-Holst

An Analysis of the Effect of Income on Adult Body Weight in China. Ruizhi Zhang Faculty Advisor: Professor David Roland-Holst An Analysis of the Effect of Income on Adult Body Weight in China Ruizhi Zhang Faculty Advisor: Professor David Roland-Holst University of California, Berkeley Department of Economics May 2015 Abstract:

More information

Logistic regression. Department of Statistics, University of South Carolina. Stat 205: Elementary Statistics for the Biological and Life Sciences

Logistic regression. Department of Statistics, University of South Carolina. Stat 205: Elementary Statistics for the Biological and Life Sciences Logistic regression Department of Statistics, University of South Carolina Stat 205: Elementary Statistics for the Biological and Life Sciences 1 / 1 Logistic regression: pp. 538 542 Consider Y to be binary

More information

Marno Verbeek Erasmus University, the Netherlands. Cons. Pros

Marno Verbeek Erasmus University, the Netherlands. Cons. Pros Marno Verbeek Erasmus University, the Netherlands Using linear regression to establish empirical relationships Linear regression is a powerful tool for estimating the relationship between one variable

More information

Poisson regression. Dae-Jin Lee Basque Center for Applied Mathematics.

Poisson regression. Dae-Jin Lee Basque Center for Applied Mathematics. Dae-Jin Lee dlee@bcamath.org Basque Center for Applied Mathematics http://idaejin.github.io/bcam-courses/ D.-J. Lee (BCAM) Intro to GLM s with R GitHub: idaejin 1/40 Modeling count data Introduction Response

More information

A Survey of Public Opinion on Secondhand Smoke Related Issues in Bourbon County, KY

A Survey of Public Opinion on Secondhand Smoke Related Issues in Bourbon County, KY A Survey of Public Opinion on Secondhand Smoke Related Issues in Bourbon County, KY Findings Presented by Bourbon County Health Department with a grant from the Kentucky Department for Public Health Survey

More information

STATISTICAL METHODS FOR DIAGNOSTIC TESTING: AN ILLUSTRATION USING A NEW METHOD FOR CANCER DETECTION XIN SUN. PhD, Kansas State University, 2012

STATISTICAL METHODS FOR DIAGNOSTIC TESTING: AN ILLUSTRATION USING A NEW METHOD FOR CANCER DETECTION XIN SUN. PhD, Kansas State University, 2012 STATISTICAL METHODS FOR DIAGNOSTIC TESTING: AN ILLUSTRATION USING A NEW METHOD FOR CANCER DETECTION by XIN SUN PhD, Kansas State University, 2012 A THESIS Submitted in partial fulfillment of the requirements

More information

STA 3024 Spring 2013 EXAM 3 Test Form Code A UF ID #

STA 3024 Spring 2013 EXAM 3 Test Form Code A UF ID # STA 3024 Spring 2013 Name EXAM 3 Test Form Code A UF ID # Instructions: This exam contains 34 Multiple Choice questions. Each question is worth 3 points, for a total of 102 points (there are TWO bonus

More information

Web Feature: Friday, May 16, 2014 Editor: Chris Meyer, Executive Editor Author: Hank Eckardt, University of Notre Dame

Web Feature: Friday, May 16, 2014 Editor: Chris Meyer, Executive Editor Author: Hank Eckardt, University of Notre Dame Web Feature: Friday, May 16, 2014 Editor: Chris Meyer, Executive Editor Author: Hank Eckardt, University of Notre Dame The Influence of Ethnic and Cultural Diversity On Overall Life Satisfaction Hank Eckardt

More information

Discussion Paper Series No April 2009

Discussion Paper Series No April 2009 Discussion Paper Series No. 0908 April 2009 The Institute of Economic Research - Korea University Anam-dong, Sungbuk-ku, Seoul, 136-701, South Korea, Tel: (82-2) 3290-1632, Fax: (82-2) 928-4948 Copyright

More information

STP 231 Example FINAL

STP 231 Example FINAL STP 231 Example FINAL Instructor: Ela Jackiewicz Honor Statement: I have neither given nor received information regarding this exam, and I will not do so until all exams have been graded and returned.

More information

THE WAGE EFFECTS OF PERSONAL SMOKING

THE WAGE EFFECTS OF PERSONAL SMOKING THE WAGE EFFECTS OF PERSONAL SMOKING MICHELLE RIORDAN Senior Sophister It is well established that smoking is bad for both your lungs and your wallet, but could it also affect your payslip? Michelle Riordan

More information

Quarterly Evaluation Report, 4th Quarter (For Data September-December 2006) Reviewed January 27, 2007

Quarterly Evaluation Report, 4th Quarter (For Data September-December 2006) Reviewed January 27, 2007 Quarterly Evaluation Report, 4th Quarter (For Data September-December 2006) Reviewed January 27, 2007 The Healthy Home Resources AT HOME Environmental Asthma Intervention By; Conrad Daniel Volz, DrPH,

More information

Heuristics as a Proxy for Contestant Risk Aversion in Deal or No Deal

Heuristics as a Proxy for Contestant Risk Aversion in Deal or No Deal Heuristics as a Proxy for Contestant Risk Aversion in Deal or No Deal Joy Hua Northwestern University Mathematical Methods in the Social Sciences Senior Thesis 2014 Advisor: Marciano Siniscalchi Abstract

More information

The Stata Journal. Editor Nicholas J. Cox Geography Department Durham University South Road Durham City DH1 3LE UK

The Stata Journal. Editor Nicholas J. Cox Geography Department Durham University South Road Durham City DH1 3LE UK The Stata Journal Editor H. Joseph Newton Department of Statistics Texas A & M University College Station, Texas 77843 979-845-3142; FAX 979-845-3144 jnewton@stata-journal.com Associate Editors Christopher

More information

Instrumental Variables I (cont.)

Instrumental Variables I (cont.) Review Instrumental Variables Observational Studies Cross Sectional Regressions Omitted Variables, Reverse causation Randomized Control Trials Difference in Difference Time invariant omitted variables

More information

Psychology Research Process

Psychology Research Process Psychology Research Process Logical Processes Induction Observation/Association/Using Correlation Trying to assess, through observation of a large group/sample, what is associated with what? Examples:

More information

CHAPTER 9. X Coefficient(s) Std Err of Coef. Coefficient / S.E. Constant Std Err of Y Est R Squared

CHAPTER 9. X Coefficient(s) Std Err of Coef. Coefficient / S.E. Constant Std Err of Y Est R Squared CHAPTER 9 Digestive System Cancers, Males: Relation with Medical Radiation IIIIII:- -:X - X 1 I I I I I I II I I II I II ::::: : 5::::: :' ":5:: 5 :::::::: : :: ":: ::::::: ::::: :::::: : ::' ::::::::::::::::::::::::::;;::::::

More information

Daniel Boduszek University of Huddersfield

Daniel Boduszek University of Huddersfield Daniel Boduszek University of Huddersfield d.boduszek@hud.ac.uk Introduction to Multinominal Logistic Regression SPSS procedure of MLR Example based on prison data Interpretation of SPSS output Presenting

More information

Eliciting Subjective Probability Distributions. with Binary Lotteries

Eliciting Subjective Probability Distributions. with Binary Lotteries Eliciting Subjective Probability Distributions with Binary Lotteries by Glenn W. Harrison, Jimmy Martínez-Correa, J. Todd Swarthout and Eric R. Ulm June 2014 ABSTRACT. We consider the elicitation of subjective

More information

THE EFFECTS OF ALCOHOL USE ON SCHOOL ENROLLMENT

THE EFFECTS OF ALCOHOL USE ON SCHOOL ENROLLMENT THE EFFECTS OF ALCOHOL USE ON SCHOOL ENROLLMENT Wesley A. Austin, University of Louisiana at Lafayette ABSTRACT Page 13 Considerable controversy surrounds the effects youth alcohol use has on educational

More information

EC352 Econometric Methods: Week 07

EC352 Econometric Methods: Week 07 EC352 Econometric Methods: Week 07 Gordon Kemp Department of Economics, University of Essex 1 / 25 Outline Panel Data (continued) Random Eects Estimation and Clustering Dynamic Models Validity & Threats

More information

Self-assessment test of prerequisite knowledge for Biostatistics III in R

Self-assessment test of prerequisite knowledge for Biostatistics III in R Self-assessment test of prerequisite knowledge for Biostatistics III in R Mark Clements, Karolinska Institutet 2017-10-31 Participants in the course Biostatistics III are expected to have prerequisite

More information

RESEARCH NOTES AND COMMENTARIES THE USE OF LIMITED DEPENDENT VARIABLE TECHNIQUES IN STRATEGY RESEARCH: ISSUES AND METHODS

RESEARCH NOTES AND COMMENTARIES THE USE OF LIMITED DEPENDENT VARIABLE TECHNIQUES IN STRATEGY RESEARCH: ISSUES AND METHODS Strategic Management Journal Strat. Mgmt. J., 30: 679 692 (2009) Published online 12 March 2009 in Wiley InterScience (www.interscience.wiley.com).758 Received 18 January 2006; Final revision received

More information

Review: Logistic regression, Gaussian naïve Bayes, linear regression, and their connections

Review: Logistic regression, Gaussian naïve Bayes, linear regression, and their connections Review: Logistic regression, Gaussian naïve Bayes, linear regression, and their connections New: Bias-variance decomposition, biasvariance tradeoff, overfitting, regularization, and feature selection Yi

More information

An Introduction to Modern Econometrics Using Stata

An Introduction to Modern Econometrics Using Stata An Introduction to Modern Econometrics Using Stata CHRISTOPHER F. BAUM Department of Economics Boston College A Stata Press Publication StataCorp LP College Station, Texas Contents Illustrations Preface

More information

An Exercise in Bayesian Econometric Analysis Probit and Linear Probability Models

An Exercise in Bayesian Econometric Analysis Probit and Linear Probability Models Utah State University DigitalCommons@USU All Graduate Plan B and other Reports Graduate Studies 5-1-2014 An Exercise in Bayesian Econometric Analysis Probit and Linear Probability Models Brooke Jeneane

More information

Multivariable Cox regression. Day 3: multivariable Cox regression. Presentation of results. The statistical methods section

Multivariable Cox regression. Day 3: multivariable Cox regression. Presentation of results. The statistical methods section Outline: Multivariable Cox regression PhD course Survival analysis Day 3: multivariable Cox regression Thomas Alexander Gerds Presentation of results The statistical methods section Modelling The linear

More information

Cross-over trials. Martin Bland. Cross-over trials. Cross-over trials. Professor of Health Statistics University of York

Cross-over trials. Martin Bland. Cross-over trials. Cross-over trials. Professor of Health Statistics University of York Cross-over trials Martin Bland Professor of Health Statistics University of York http://martinbland.co.uk Cross-over trials Use the participant as their own control. Each participant gets more than one

More information

Testing the Predictability of Consumption Growth: Evidence from China

Testing the Predictability of Consumption Growth: Evidence from China Auburn University Department of Economics Working Paper Series Testing the Predictability of Consumption Growth: Evidence from China Liping Gao and Hyeongwoo Kim Georgia Southern University and Auburn

More information

Young Women s Marital Status and HIV Risk in Sub-Saharan Africa: Evidence from Lesotho, Swaziland and Zimbabwe

Young Women s Marital Status and HIV Risk in Sub-Saharan Africa: Evidence from Lesotho, Swaziland and Zimbabwe Young Women s Marital Status and HIV Risk in Sub-Saharan Africa: Evidence from Lesotho, Swaziland and Zimbabwe Christobel Asiedu Department of Social Sciences, Louisiana Tech University; casiedu@latech.edu

More information

The impact of workplace smoking bans: results from a national survey

The impact of workplace smoking bans: results from a national survey 272 Center for Economics Research, Research Triangle Institute, 3040 Cornwallis Rd, Research Triangle Park, North Carolina, USA M C Farrelly A E S Sfekas Department of Economics, University of Maryland,

More information

Getting started with Eviews 9 (Volume IV)

Getting started with Eviews 9 (Volume IV) Getting started with Eviews 9 (Volume IV) Afees A. Salisu 1 5.0 RESIDUAL DIAGNOSTICS Before drawing conclusions/policy inference from any of the above estimated regressions, it is important to perform

More information

Interviewer Characteristics & Interviewer Effects in PIAAC Germany

Interviewer Characteristics & Interviewer Effects in PIAAC Germany Interviewer Characteristics & Interviewer Effects in PIAAC Germany Natascha Massing 1, Daniela Ackermann 1 & Annelies Blom 2 1 GESIS Leibniz Institute for the Social Sciences 2 University of Mannheim The

More information

HOW STATISTICS IMPACT PHARMACY PRACTICE?

HOW STATISTICS IMPACT PHARMACY PRACTICE? HOW STATISTICS IMPACT PHARMACY PRACTICE? CPPD at NCCR 13 th June, 2013 Mohamed Izham M.I., PhD Professor in Social & Administrative Pharmacy Learning objective.. At the end of the presentation pharmacists

More information