Morten Frydenberg Wednesday, 12 May 2004

Size: px
Start display at page:

Download "Morten Frydenberg Wednesday, 12 May 2004"

Transcription

1 " $% " * +, " --. / ",, 2 ", $, % $ 4 %78 % / "92:8/- 788;<= obese >?5"= "8= < "A57 57 "χ 2 = -value=. 5 OR =, OR = = = + OR B " B Linear ang Logistic Regression: Note.

2 = + OR 2 women - % β β = + woman = β, % = β + β. C β = β = OR β β = + woman OR β = OR vs % logor ORD? < 2 " % = = =.5 = = 2 logit logit = 7 robability logit= 8 β β $ logit logit = + woman β β = + woman E = + ex β β woman = + + ex β + β woman 9 / 2,, logit β β char sex[omit] xi: logit obese i.sex = = + woman i.sex _Isex_ naturally coded; _Isex_ omitted Iteration : log lielihood = Iteration : log lielihood = Logit estimates Number of obs = 49 LR chi2 =.5 Prob > chi2 =. Log lielihood = Pseudo R2 = _Isex_ _cons Linear ang Logistic Regression: Note. 2

3 logit ˆ β = OR β β = = + woman 75= OR _Isex_ _cons OR = ex =. 75= ;.59. OR= OR= " ;ex.8= ;47. 75= :.8;.425. logit β β = = + woman, xi: logit obese i.sex,or i.sex _Isex_ naturally coded; _Isex_ omitted Iteration : log lielihood = Iteration : log lielihood = Logit estimates Number of obs = 49 LR chi2 =.5 Prob > chi2 =. Log lielihood = Pseudo R2 = 9 obese Odds Ratio Std. Err. z P> z [95% Conf. Interval] _Isex_ % D 2 2 F logit β β = = + age,age β "age;8 age;5 = = β + β age logit 45 5 = = β + β age logit 45 β 5 β % exβ % % % D *,, gene age45=age-45 logit obese age45 = = β + β age logit 45 Iteration : log lielihood = Iteration : log lielihood = Logit estimates Number of obs = 49 LR chi2 = 4 Prob > chi2 =. Log lielihood = Pseudo R2 = age _cons = = β + β age logit 45 β ;.895 +,.7 5;.5 +, 7.4;.7 age? < Linear ang Logistic Regression: Note.

4 logit = = β + β age 45 β.48 47; ;.459 % 2 +", ; =.7 ;2 2,, logit obese obese Odds Ratio Std. Err. z P> z [95% Conf. Interval] age log = age ex 45 revalence = + ex + 45 revalence age age - = β + β age 45, 4 / egen agegr7=cutage, at,5,4,45,5,55,,2 label table agegr7,cmin age max age count obese sum obeserow agegr7 minage maxage Nobese sumobese Total 4, , ds α od = + α agei i= agei i i - = α + αi agei i= α ; α i % i ; char agegr7[omit] xi: logit obese i.agegr _Iagegr7_ _Iagegr7_ _Iagegr7_ _Iagegr7_ _Iagegr7_ _Iagegr7_ _cons Linear ang Logistic Regression: Note. 4

5 - = α + β agei 5 i= xi: logit obese i.agegr7,or -- obese Odds Ratio Std. Err. z P> z [95% Conf. Interval] _Iagegr7_ _Iagegr7_ _Iagegr7_ _Iagegr7_ _Iagegr7_ _Iagegr7_ ; , D - ds α od = + α agei * /H " testarm _Iagegr*. / _Iagegr7_ = 2 _Iagegr7_2 = _Iagegr7_ = 4 _Iagegr7_4 = 5 _Iagegr7_5 = _Iagegr7_ = chi2 = 55 Prob > chi2 =. I i= i char agegr7[omit] J 57 xi: logit obese i.agegr7,or -- obese Odds Ratio Std. Err. z P> z [95% Conf. Interval] _Iagegr7_ _Iagegr7_ _Iagegr7_ _Iagegr7_ _Iagegr7_ _Iagegr7_ , $+..; ", D? ˆ α ˆ α4.5 αˆ log < revalence log - - model model revalence 5 model model * / / = β + β woman + β age Linear ang Logistic Regression: Note. 5

6 * = β + β woman + β age 45 2 β 5 β % β 2 % % β 2 K age % % age * 45 = β + β woman + β age 2,, xi:logit obese i.sex age45 i.sex _Isex_ naturally coded; _Isex_ omitted Iteration : log lielihood = Iteration : log lielihood = Logit estimates Number of obs = 49 LR chi22 = 55.8 Prob > chi2 =. Log lielihood = Pseudo R2 = _Isex_ age _cons sex age $58= 5 * 45 = β + β woman + β age 2 xi:logit obese i.sex age45, or obese Odds Ratio Std. Err. z P> z [95% Conf. Interval] _Isex_ age % L.; L.4 ; ;.5 D log * = β + β woman + β age 45 - men women revalence men women * -, = α + α age = γ + γ age L " = β + β woman + β age + β woman age α = β α = β 2 γ = β + β γ = β + β 2 β = γ α β = γ α 5 * = β + β woman + β2 age 45 + β woman age 45 xi: logit obese i.sex*age _Isex_ age _IsexXage4~ _cons > obese Odds Ratio Std. Err z P> z [95% Conf. Interval] _Isex_ age _IsexXage4~ Linear ang Logistic Regression: Note.

7 * = β + β woman + β age 45 + β woman age 45 log men men women ? revalence.. women * tab cancer age - age cases controls [95% Conf. Interval] >= ; + tab cancer age, or - age Odds Ratio chi2 P>chi2 [95% Conf. Interval] >= < * tab cancer age - age cases controls [95% Conf. Interval] >= * +; + tab cancer age, or base -- age Odds Ratio chi2 P>chi2 [95% Conf. Interval] >= * char age [omit] xi:logit cancer i.smoer i.age,or i.smoer _Ismoer_- naturally coded; _Ismoer_ omitted i.age _Iage_- naturally coded; _Iage_ omitted Iteration : log lielihood = Iteration : log lielihood = Iteration 2: log lielihood = Iteration : log lielihood = Iteration 4: log lielihood = Iteration 5: log lielihood = Iteration : log lielihood = Logit estimates Number of obs = 977 LR chi2 = 5 Prob > chi2 =. Log lielihood = Pseudo R2 = -- cancer Odds Ratio Std. Err. z P> z [95% Conf. Interval] _Ismoer_ _Iage_ _Iage_ _Iage_ _Iage_ _Iage_ * char age [omit] xi:logit cancer i.smoer i.age,or i.smoer _Ismoer_- naturally coded; _Ismoer_ omitted i.age _Iage_- naturally coded; _Iage_ omitted Iteration : log lielihood = Iteration : log lielihood = Iteration 2: log lielihood = Iteration : log lielihood = Iteration 4: log lielihood = Iteration 5: log lielihood = Logit estimates Number of obs = 977 LR chi2 = 5 Prob > chi2 =. Log lielihood = Pseudo R2 = -- cancer Odds Ratio Std. Err. z P> z [95% Conf. Interval] _Ismoer_ _Iage_ _Iage_ _Iage_ _Iage_ _Iage_ % D Linear ang Logistic Regression: Note. 7

8 % 4, 2,, / LR chi2 = 5 Prob > chi2 =. / % %/ % / B B % 4 2,, xi:logit cancer i.smoer i.age estimates store model xi:logit cancer i.smoer estimates store model2 lrtest model model2 lielihood-ratio test LR chi25 = 2.82 Assumtion: model2 nested in model Prob > chi2 =. /D = + β x = β " $ " " β " " x x2 x = OR OR OR 2 5 β 2 x x % x 2 x 2 M x x = β x, % " = + β x = = + β x = β 2 x x % x 2 x 2 M x x x x2 OR = OR OR OR 2? x exβ + β x = = Pr[ Y = ] = + exβ + β x = Y =/ x %x 2 Mx - / N + %% / / $ 5. %" = + β x = β < Linear ang Logistic Regression: Note. 8

9 % % * % % * H 7 Linear ang Logistic Regression: Note. 9

sociology SO5032 Quantitative Research Methods Brendan Halpin, Sociology, University of Limerick Spring 2018 SO5032 Quantitative Research Methods

sociology SO5032 Quantitative Research Methods Brendan Halpin, Sociology, University of Limerick Spring 2018 SO5032 Quantitative Research Methods 1 SO5032 Quantitative Research Methods Brendan Halpin, Sociology, University of Limerick Spring 2018 Lecture 10: Multinomial regression baseline category extension of binary What if we have multiple possible

More information

Categorical Outcomes. Statistical Modelling in Stata: Categorical Outcomes. R by C Table: Example. Nominal Outcomes. Mark Lunt.

Categorical Outcomes. Statistical Modelling in Stata: Categorical Outcomes. R by C Table: Example. Nominal Outcomes. Mark Lunt. Categorical Outcomes Statistical Modelling in Stata: Categorical Outcomes Mark Lunt Arthritis Research UK Epidemiology Unit University of Manchester Nominal Ordinal 28/11/2017 R by C Table: Example Categorical,

More information

Logistic Regression Analysis

Logistic Regression Analysis Revised July 2018 Logistic Regression Analysis This set of notes shows how to use Stata to estimate a logistic regression equation. It assumes that you have set Stata up on your computer (see the Getting

More information

Module 4 Bivariate Regressions

Module 4 Bivariate Regressions AGRODEP Stata Training April 2013 Module 4 Bivariate Regressions Manuel Barron 1 and Pia Basurto 2 1 University of California, Berkeley, Department of Agricultural and Resource Economics 2 University of

More information

[BINARY DEPENDENT VARIABLE ESTIMATION WITH STATA]

[BINARY DEPENDENT VARIABLE ESTIMATION WITH STATA] Tutorial #3 This example uses data in the file 16.09.2011.dta under Tutorial folder. It contains 753 observations from a sample PSID data on the labor force status of married women in the U.S in 1975.

More information

ECON Introductory Econometrics. Seminar 4. Stock and Watson Chapter 8

ECON Introductory Econometrics. Seminar 4. Stock and Watson Chapter 8 ECON4150 - Introductory Econometrics Seminar 4 Stock and Watson Chapter 8 empirical exercise E8.2: Data 2 In this exercise we use the data set CPS12.dta Each month the Bureau of Labor Statistics in the

More information

West Coast Stata Users Group Meeting, October 25, 2007

West Coast Stata Users Group Meeting, October 25, 2007 Estimating Heterogeneous Choice Models with Stata Richard Williams, Notre Dame Sociology, rwilliam@nd.edu oglm support page: http://www.nd.edu/~rwilliam/oglm/index.html West Coast Stata Users Group Meeting,

More information

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

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

More information

Module 9: Single-level and Multilevel Models for Ordinal Responses. Stata Practical 1

Module 9: Single-level and Multilevel Models for Ordinal Responses. Stata Practical 1 Module 9: Single-level and Multilevel Models for Ordinal Responses Pre-requisites Modules 5, 6 and 7 Stata Practical 1 George Leckie, Tim Morris & Fiona Steele Centre for Multilevel Modelling If you find

More information

EC327: Limited Dependent Variables and Sample Selection Binomial probit: probit

EC327: Limited Dependent Variables and Sample Selection Binomial probit: probit EC327: Limited Dependent Variables and Sample Selection Binomial probit: probit. summarize work age married children education Variable Obs Mean Std. Dev. Min Max work 2000.6715.4697852 0 1 age 2000 36.208

More information

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 10, 2017

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 10, 2017 Maximum Likelihood Estimation Richard Williams, University of otre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 0, 207 [This handout draws very heavily from Regression Models for Categorical

More information

Catherine De Vries, Spyros Kosmidis & Andreas Murr

Catherine De Vries, Spyros Kosmidis & Andreas Murr APPLIED STATISTICS FOR POLITICAL SCIENTISTS WEEK 8: DEPENDENT CATEGORICAL VARIABLES II Catherine De Vries, Spyros Kosmidis & Andreas Murr Topic: Logistic regression. Predicted probabilities. STATA commands

More information

Getting Started in Logit and Ordered Logit Regression (ver. 3.1 beta)

Getting Started in Logit and Ordered Logit Regression (ver. 3.1 beta) Getting Started in Logit and Ordered Logit Regression (ver. 3. beta Oscar Torres-Reyna Data Consultant otorres@princeton.edu http://dss.princeton.edu/training/ Logit model Use logit models whenever your

More information

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 13, 2018

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 13, 2018 Maximum Likelihood Estimation Richard Williams, University of otre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 3, 208 [This handout draws very heavily from Regression Models for Categorical

More information

tm / / / / / / / / / / / / Statistics/Data Analysis User: Klick Project: Limited Dependent Variables{space -6}

tm / / / / / / / / / / / / Statistics/Data Analysis User: Klick Project: Limited Dependent Variables{space -6} PS 4 Monday August 16 01:00:42 2010 Page 1 tm / / / / / / / / / / / / Statistics/Data Analysis User: Klick Project: Limited Dependent Variables{space -6} log: C:\web\PS4log.smcl log type: smcl opened on:

More information

Model fit assessment via marginal model plots

Model fit assessment via marginal model plots The Stata Journal (2010) 10, Number 2, pp. 215 225 Model fit assessment via marginal model plots Charles Lindsey Texas A & M University Department of Statistics College Station, TX lindseyc@stat.tamu.edu

More information

3. Multinomial response models

3. Multinomial response models 3. Multinomial response models 3.1 General model approaches Multinomial dependent variables in a microeconometric analysis: These qualitative variables have more than two possible mutually exclusive categories

More information

Multinomial Logit Models - Overview Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised February 13, 2017

Multinomial Logit Models - Overview Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised February 13, 2017 Multinomial Logit Models - Overview Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised February 13, 2017 This is adapted heavily from Menard s Applied Logistic Regression

More information

South African Dataset for MAMS

South African Dataset for MAMS South African Dataset for MAMS AYODELE ODUSOLA MARNA KEARNEY SAM Used 2005 Quantec SAM as base for MAMS SAM 46 Commodities and activities Government activities disaggregated Trade margins 4 Production

More information

Nonlinear Econometric Analysis (ECO 722) Answers to Homework 4

Nonlinear Econometric Analysis (ECO 722) Answers to Homework 4 Nonlinear Econometric Analysis (ECO 722) Answers to Homework 4 1 Greene and Hensher (1997) report estimates of a model of travel mode choice for travel between Sydney and Melbourne, Australia The dataset

More information

Sociology Exam 3 Answer Key - DRAFT May 8, 2007

Sociology Exam 3 Answer Key - DRAFT May 8, 2007 Sociology 63993 Exam 3 Answer Key - DRAFT May 8, 2007 I. True-False. (20 points) Indicate whether the following statements are true or false. If false, briefly explain why. 1. The odds of an event occurring

More information

Sociology 704: Topics in Multivariate Statistics Instructor: Natasha Sarkisian. Binary Logit

Sociology 704: Topics in Multivariate Statistics Instructor: Natasha Sarkisian. Binary Logit Sociology 704: Topics in Multivariate Statistics Instructor: Natasha Sarkisian Binary Logit Binary models deal with binary (0/1, yes/no) dependent variables. OLS is inappropriate for this kind of dependent

More information

Getting Started in Logit and Ordered Logit Regression (ver. 3.1 beta)

Getting Started in Logit and Ordered Logit Regression (ver. 3.1 beta) Getting Started in Logit and Ordered Logit Regression (ver. 3. beta Oscar Torres-Reyna Data Consultant otorres@princeton.edu http://dss.princeton.edu/training/ Logit model Use logit models whenever your

More information

Econometric Methods for Valuation Analysis

Econometric Methods for Valuation Analysis Econometric Methods for Valuation Analysis Margarita Genius Dept of Economics M. Genius (Univ. of Crete) Econometric Methods for Valuation Analysis Cagliari, 2017 1 / 25 Outline We will consider econometric

More information

İnsan TUNALI 8 November 2018 Econ 511: Econometrics I. ASSIGNMENT 7 STATA Supplement

İnsan TUNALI 8 November 2018 Econ 511: Econometrics I. ASSIGNMENT 7 STATA Supplement İnsan TUNALI 8 November 2018 Econ 511: Econometrics I ASSIGNMENT 7 STATA Supplement. use "F:\COURSES\GRADS\ECON511\SHARE\wages1.dta", clear. generate =ln(wage). scatter sch Q. Do you see a relationship

More information

*1A. Basic Descriptive Statistics sum housereg drive elecbill affidavit witness adddoc income male age literacy educ occup cityyears if control==1

*1A. Basic Descriptive Statistics sum housereg drive elecbill affidavit witness adddoc income male age literacy educ occup cityyears if control==1 *1A Basic Descriptive Statistics sum housereg drive elecbill affidavit witness adddoc income male age literacy educ occup cityyears if control==1 Variable Obs Mean Std Dev Min Max --- housereg 21 2380952

More information

u panel_lecture . sum

u panel_lecture . sum u panel_lecture sum Variable Obs Mean Std Dev Min Max datastre 639 9039644 6369418 900228 926665 year 639 1980 2584012 1976 1984 total_sa 639 9377839 3212313 682 441e+07 tot_fixe 639 5214385 1988422 642

More information

STATA Program for OLS cps87_or.do

STATA Program for OLS cps87_or.do STATA Program for OLS cps87_or.do * the data for this project is a small subsample; * of full time (30 or more hours) male workers; * aged 21-64 from the out going rotation; * samples of the 1987 current

More information

Longitudinal Logistic Regression: Breastfeeding of Nepalese Children

Longitudinal Logistic Regression: Breastfeeding of Nepalese Children Longitudinal Logistic Regression: Breastfeeding of Nepalese Children Scientific Question Determine whether the breastfeeding of Nepalese children varies with child age and/or sex of child. Data: Nepal

More information

Limited Dependent Variables

Limited Dependent Variables Limited Dependent Variables Christopher F Baum Boston College and DIW Berlin Birmingham Business School, March 2013 Christopher F Baum (BC / DIW) Limited Dependent Variables BBS 2013 1 / 47 Limited dependent

More information

Allison notes there are two conditions for using fixed effects methods.

Allison notes there are two conditions for using fixed effects methods. Panel Data 3: Conditional Logit/ Fixed Effects Logit Models Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised April 2, 2017 These notes borrow very heavily, sometimes

More information

1 Financial work incentives and the long-term unemployed. 2 The effect of tax-benefit policy changes on the trilemma of welfare reform

1 Financial work incentives and the long-term unemployed. 2 The effect of tax-benefit policy changes on the trilemma of welfare reform 1 Financial work incentives and the long-term unemployed 2 The effect of tax-benefit policy changes on the trilemma of welfare reform Diego Collado May, 2018 1 Financial work incentives and the longterm

More information

Didacticiel - Études de cas. In this tutorial, we show how to implement a multinomial logistic regression with TANAGRA.

Didacticiel - Études de cas. In this tutorial, we show how to implement a multinomial logistic regression with TANAGRA. Subject In this tutorial, we show how to implement a multinomial logistic regression with TANAGRA. Logistic regression is a technique for maing predictions when the dependent variable is a dichotomy, and

More information

Day 3C Simulation: Maximum Simulated Likelihood

Day 3C Simulation: Maximum Simulated Likelihood Day 3C Simulation: Maximum Simulated Likelihood c A. Colin Cameron Univ. of Calif. - Davis... for Center of Labor Economics Norwegian School of Economics Advanced Microeconometrics Aug 28 - Sep 1, 2017

More information

The Multivariate Regression Model

The Multivariate Regression Model The Multivariate Regression Model Example Determinants of College GPA Sample of 4 Freshman Collect data on College GPA (4.0 scale) Look at importance of ACT Consider the following model CGPA ACT i 0 i

More information

Dummy variables 9/22/2015. Are wages different across union/nonunion jobs. Treatment Control Y X X i identifies treatment

Dummy variables 9/22/2015. Are wages different across union/nonunion jobs. Treatment Control Y X X i identifies treatment Dummy variables Treatment 22 1 1 Control 3 2 Y Y1 0 1 2 Y X X i identifies treatment 1 1 1 1 1 1 0 0 0 X i =1 if in treatment group X i =0 if in control H o : u n =u u Are wages different across union/nonunion

More information

STATA log file for Time-Varying Covariates (TVC) Duration Model Estimations.

STATA log file for Time-Varying Covariates (TVC) Duration Model Estimations. STATA log file for Time-Varying Covariates (TVC) Duration Model Estimations. This STATA 8.0 log file reports estimations in which CDER Staff Aggregates and PDUFA variable are assigned to drug-months of

More information

An Introduction to Event History Analysis

An Introduction to Event History Analysis An Introduction to Event History Analysis Oxford Spring School June 18-20, 2007 Day Three: Diagnostics, Extensions, and Other Miscellanea Data Redux: Supreme Court Vacancies, 1789-1992. stset service,

More information

Econ 371 Problem Set #4 Answer Sheet. 6.2 This question asks you to use the results from column (1) in the table on page 213.

Econ 371 Problem Set #4 Answer Sheet. 6.2 This question asks you to use the results from column (1) in the table on page 213. Econ 371 Problem Set #4 Answer Sheet 6.2 This question asks you to use the results from column (1) in the table on page 213. a. The first part of this question asks whether workers with college degrees

More information

Sean Howard Econometrics Final Project Paper. An Analysis of the Determinants and Factors of Physical Education Attendance in the Fourth Quarter

Sean Howard Econometrics Final Project Paper. An Analysis of the Determinants and Factors of Physical Education Attendance in the Fourth Quarter Sean Howard Econometrics Final Project Paper An Analysis of the Determinants and Factors of Physical Education Attendance in the Fourth Quarter Introduction This project attempted to gain a more complete

More information

proc genmod; model malform/total = alcohol / dist=bin link=identity obstats; title 'Table 2.7'; title2 'Identity Link';

proc genmod; model malform/total = alcohol / dist=bin link=identity obstats; title 'Table 2.7'; title2 'Identity Link'; BIOS 6244 Analysis of Categorical Data Assignment 5 s 1. Consider Exercise 4.4, p. 98. (i) Write the SAS code, including the DATA step, to fit the linear probability model and the logit model to the data

More information

Estimating Ordered Categorical Variables Using Panel Data: A Generalised Ordered Probit Model with an Autofit Procedure

Estimating Ordered Categorical Variables Using Panel Data: A Generalised Ordered Probit Model with an Autofit Procedure Journal of Economics and Econometrics Vol. 54, No.1, 2011 pp. 7-23 ISSN 2032-9652 E-ISSN 2032-9660 Estimating Ordered Categorical Variables Using Panel Data: A Generalised Ordered Probit Model with an

More information

COMPLEMENTARITY ANALYSIS IN MULTINOMIAL

COMPLEMENTARITY ANALYSIS IN MULTINOMIAL 1 / 25 COMPLEMENTARITY ANALYSIS IN MULTINOMIAL MODELS: THE GENTZKOW COMMAND Yunrong Li & Ricardo Mora SWUFE & UC3M Madrid, Oct 2017 2 / 25 Outline 1 Getzkow (2007) 2 Case Study: social vs. internet interactions

More information

Example 1 of econometric analysis: the Market Model

Example 1 of econometric analysis: the Market Model Example 1 of econometric analysis: the Market Model IGIDR, Bombay 14 November, 2008 The Market Model Investors want an equation predicting the return from investing in alternative securities. Return is

More information

Introduction to fractional outcome regression models using the fracreg and betareg commands

Introduction to fractional outcome regression models using the fracreg and betareg commands Introduction to fractional outcome regression models using the fracreg and betareg commands Miguel Dorta Staff Statistician StataCorp LP Aguascalientes, Mexico (StataCorp LP) fracreg - betareg May 18,

More information

Generalized Multilevel Regression Example for a Binary Outcome

Generalized Multilevel Regression Example for a Binary Outcome Psy 510/610 Multilevel Regression, Spring 2017 1 HLM Generalized Multilevel Regression Example for a Binary Outcome Specifications for this Bernoulli HLM2 run Problem Title: no title The data source for

More information

CHAPTER 4 ESTIMATES OF RETIREMENT, SOCIAL SECURITY BENEFIT TAKE-UP, AND EARNINGS AFTER AGE 50

CHAPTER 4 ESTIMATES OF RETIREMENT, SOCIAL SECURITY BENEFIT TAKE-UP, AND EARNINGS AFTER AGE 50 CHAPTER 4 ESTIMATES OF RETIREMENT, SOCIAL SECURITY BENEFIT TAKE-UP, AND EARNINGS AFTER AGE 5 I. INTRODUCTION This chapter describes the models that MINT uses to simulate earnings from age 5 to death, retirement

More information

Heteroskedasticity. . reg wage black exper educ married tenure

Heteroskedasticity. . reg wage black exper educ married tenure Heteroskedasticity. reg Source SS df MS Number of obs = 2,380 -------------+---------------------------------- F(2, 2377) = 72.38 Model 14.4018246 2 7.20091231 Prob > F = 0.0000 Residual 236.470024 2,377.099482551

More information

Duration Models: Parametric Models

Duration Models: Parametric Models Duration Models: Parametric Models Brad 1 1 Department of Political Science University of California, Davis January 28, 2011 Parametric Models Some Motivation for Parametrics Consider the hazard rate:

More information

Logit Models for Binary Data

Logit Models for Binary Data Chapter 3 Logit Models for Binary Data We now turn our attention to regression models for dichotomous data, including logistic regression and probit analysis These models are appropriate when the response

More information

Why do the youth in Jamaica neither study nor work? Evidence from JSLC 2001

Why do the youth in Jamaica neither study nor work? Evidence from JSLC 2001 VERY PRELIMINARY, PLEASE DO NOT QUOTE Why do the youth in Jamaica neither study nor work? Evidence from JSLC 2001 Abstract Abbi Kedir 1 University of Leicester, UK E-mail: ak138@le.ac.uk and Michael Henry

More information

Your Name (Please print) Did you agree to take the optional portion of the final exam Yes No. Directions

Your Name (Please print) Did you agree to take the optional portion of the final exam Yes No. Directions Your Name (Please print) Did you agree to take the optional portion of the final exam Yes No (Your online answer will be used to verify your response.) Directions There are two parts to the final exam.

More information

Duration Models: Modeling Strategies

Duration Models: Modeling Strategies Bradford S., UC-Davis, Dept. of Political Science Duration Models: Modeling Strategies Brad 1 1 Department of Political Science University of California, Davis February 28, 2007 Bradford S., UC-Davis,

More information

Problem Set 9 Heteroskedasticty Answers

Problem Set 9 Heteroskedasticty Answers Problem Set 9 Heteroskedasticty Answers /* INVESTIGATION OF HETEROSKEDASTICITY */ First graph data. u hetdat2. gra manuf gdp, s([country].) xlab ylab 300000 manufacturing output (US$ miilio 200000 100000

More information

Time series data: Part 2

Time series data: Part 2 Plot of Epsilon over Time -- Case 1 1 Time series data: Part Epsilon - 1 - - - -1 1 51 7 11 1 151 17 Time period Plot of Epsilon over Time -- Case Plot of Epsilon over Time -- Case 3 1 3 1 Epsilon - Epsilon

More information

Review questions for Multinomial Logit/Probit, Tobit, Heckit, Quantile Regressions

Review questions for Multinomial Logit/Probit, Tobit, Heckit, Quantile Regressions 1. I estimated a multinomial logit model of employment behavior using data from the 2006 Current Population Survey. The three possible outcomes for a person are employed (outcome=1), unemployed (outcome=2)

More information

Stat 328, Summer 2005

Stat 328, Summer 2005 Stat 328, Summer 2005 Exam #2, 6/18/05 Name (print) UnivID I have neither given nor received any unauthorized aid in completing this exam. Signed Answer each question completely showing your work where

More information

Assesing the Impact of Public Research Funding on Scientific Production the Case Study from Slovakia

Assesing the Impact of Public Research Funding on Scientific Production the Case Study from Slovakia Assesing the Impact of Public Research Funding on Scientific Production the Case Study from Slovakia Alexandra Lešková Ph.D. Candidate Department of Public Administration and Regional Development Faculty

More information

gologit2 documentation Richard Williams, Department of Sociology, University of Notre Dame Last revised February 1, 2007

gologit2 documentation Richard Williams, Department of Sociology, University of Notre Dame Last revised February 1, 2007 gologit2 documentation Richard Williams, Department of Sociology, University of Notre Dame Richard.A.Williams.5@ND.Edu Last revised February 1, 2007 Attached is a pre-publication version of an article

More information

. ********** OUTPUT FILE: CARD & KRUEGER (1994)***********.. * STATA 10.0 CODE. * copyright C 2008 by Tito Boeri & Jan van Ours. * "THE ECONOMICS OF

. ********** OUTPUT FILE: CARD & KRUEGER (1994)***********.. * STATA 10.0 CODE. * copyright C 2008 by Tito Boeri & Jan van Ours. * THE ECONOMICS OF ********** OUTPUT FILE: CARD & KRUEGER (1994)*********** * STATA 100 CODE * copyright C 2008 by Tito Boeri & Jan van Ours * "THE ECONOMICS OF IMPERFECT LABOR MARKETS" * by Tito Boeri & Jan van Ours (2008)

More information

Logistic Regression. Logistic Regression Theory

Logistic Regression. Logistic Regression Theory Logistic Regression Dr. J. Kyle Roberts Southern Methodist University Simmons School of Education and Human Development Department of Teaching and Learning Logistic Regression The linear probability model.

More information

Labor Force Participation and the Wage Gap Detailed Notes and Code Econometrics 113 Spring 2014

Labor Force Participation and the Wage Gap Detailed Notes and Code Econometrics 113 Spring 2014 Labor Force Participation and the Wage Gap Detailed Notes and Code Econometrics 113 Spring 2014 In class, Lecture 11, we used a new dataset to examine labor force participation and wages across groups.

More information

Development, Democracy, and. Corruption - Online Appendix

Development, Democracy, and. Corruption - Online Appendix Development,, and Corruption - Online Appendix Natascha S. Neudorfer, Ph.D. July 1, 2014 1 Variables (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) ICRG_TT O NMA SA WCE ESE CA SoA NA A AO GDP per Capita -0.0539***

More information

The data definition file provided by the authors is reproduced below: Obs: 1500 home sales in Stockton, CA from Oct 1, 1996 to Nov 30, 1998

The data definition file provided by the authors is reproduced below: Obs: 1500 home sales in Stockton, CA from Oct 1, 1996 to Nov 30, 1998 Economics 312 Sample Project Report Jeffrey Parker Introduction This project is based on Exercise 2.12 on page 81 of the Hill, Griffiths, and Lim text. It examines how the sale price of houses in Stockton,

More information

Introduction to POL 217

Introduction to POL 217 Introduction to POL 217 Brad Jones 1 1 Department of Political Science University of California, Davis January 9, 2007 Topics of Course Outline Models for Categorical Data. Topics of Course Models for

More information

Modeling wages of females in the UK

Modeling wages of females in the UK International Journal of Business and Social Science Vol. 2 No. 11 [Special Issue - June 2011] Modeling wages of females in the UK Saadia Irfan NUST Business School National University of Sciences and

More information

Religion and Volunteerism

Religion and Volunteerism Religion and Volunteerism Abstract This paper uses a standard Tobit to explore the effects of religion on volunteerism. It analyzes cross-sectional data from a representative sample of about 3,000 American

More information

Discrete-time Event History Analysis PRACTICAL EXERCISES

Discrete-time Event History Analysis PRACTICAL EXERCISES Discrete-time Event History Analysis PRACTICAL EXERCISES Fiona Steele and Elizabeth Washbrook Centre for Multilevel Modelling University of Bristol 16-17 July 2013 Discrete-time Event History Analysis

More information

Addiction - Multinomial Model

Addiction - Multinomial Model Addiction - Multinomial Model February 8, 2012 First the addiction data are loaded and attached. > library(catdata) > data(addiction) > attach(addiction) For the multinomial logit model the function multinom

More information

Problem Set 6 ANSWERS

Problem Set 6 ANSWERS Economics 20 Part I. Problem Set 6 ANSWERS Prof. Patricia M. Anderson The first 5 questions are based on the following information: Suppose a researcher is interested in the effect of class attendance

More information

Example 2.3: CEO Salary and Return on Equity. Salary for ROE = 0. Salary for ROE = 30. Example 2.4: Wage and Education

Example 2.3: CEO Salary and Return on Equity. Salary for ROE = 0. Salary for ROE = 30. Example 2.4: Wage and Education 1 Stata Textbook Examples Introductory Econometrics: A Modern Approach by Jeffrey M. Wooldridge (1st & 2d eds.) Chapter 2 - The Simple Regression Model Example 2.3: CEO Salary and Return on Equity summ

More information

Case Study: Applying Generalized Linear Models

Case Study: Applying Generalized Linear Models Case Study: Applying Generalized Linear Models Dr. Kempthorne May 12, 2016 Contents 1 Generalized Linear Models of Semi-Quantal Biological Assay Data 2 1.1 Coal miners Pneumoconiosis Data.................

More information

F^3: F tests, Functional Forms and Favorite Coefficient Models

F^3: F tests, Functional Forms and Favorite Coefficient Models F^3: F tests, Functional Forms and Favorite Coefficient Models Favorite coefficient model: otherteams use "nflpricedata Bdta", clear *Favorite coefficient model: otherteams reg rprice pop pop2 rpci wprcnt1

More information

Itasca County Wellness Court Evaluation

Itasca County Wellness Court Evaluation Itasca County A U G U S T 2 0 1 5 Prepared by: Laura Schauben 451 Lexington Parkway North Saint Paul, Minnesota 55104 651-280-2700 www.wilderresearch.org Wilder Research Information. Insight. Impact. Contents

More information

Quantitative Techniques Term 2

Quantitative Techniques Term 2 Quantitative Techniques Term 2 Laboratory 7 2 March 2006 Overview The objective of this lab is to: Estimate a cost function for a panel of firms; Calculate returns to scale; Introduce the command cluster

More information

Handout seminar 6, ECON4150

Handout seminar 6, ECON4150 Handout seminar 6, ECON4150 Herman Kruse March 17, 2013 Introduction - list of commands This week, we need a couple of new commands in order to solve all the problems. hist var1 if var2, options - creates

More information

Uncertainty of Fertility Expectations

Uncertainty of Fertility Expectations Petra Buhr & Anne-Kristin Kuhnt Uncertainty of Fertility Expectations Longitudinal Analyses with the German Family Panel Presentation at the International User Conference of the German Family Panel in

More information

Description Remarks and examples References Also see

Description Remarks and examples References Also see Title stata.com example 41g Two-level multinomial logistic regression (multilevel) Description Remarks and examples References Also see Description We demonstrate two-level multinomial logistic regression

More information

Two-stage least squares examples. Angrist: Vietnam Draft Lottery Men, Cohorts. Vietnam era service

Two-stage least squares examples. Angrist: Vietnam Draft Lottery Men, Cohorts. Vietnam era service Two-stage least squares examples Angrist: Vietnam Draft Lottery 1 2 Vietnam era service 1980 Men, 1940-1952 Cohorts Defined as 1964-1975 Estimated 8.7 million served during era 3.4 million were in SE Asia

More information

ECON Introductory Econometrics Seminar 2, 2015

ECON Introductory Econometrics Seminar 2, 2015 ECON4150 - Introductory Econometrics Seminar 2, 2015 Stock and Watson EE4.1, EE5.2 Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 1 / 14 Seminar 2 Author: Andrea University

More information

List of figures. I General information 1

List of figures. I General information 1 List of figures Preface xix xxi I General information 1 1 Introduction 7 1.1 What is this book about?........................ 7 1.2 Which models are considered?...................... 8 1.3 Whom is this

More information

SHARE and SHARELIFE The collection of longitudinal data on older adults in Europe

SHARE and SHARELIFE The collection of longitudinal data on older adults in Europe SHARE and SHARELIFE The collection of longitudinal data on older adults in Europe Axel Börsch-Supan WHO Conference: Aging and Health: From Evidence to Policy Geneva, 02 June 2010 Two ways of longitudinality!

More information

Econometrics is. The estimation of relationships suggested by economic theory

Econometrics is. The estimation of relationships suggested by economic theory Econometrics is Econometrics is The estimation of relationships suggested by economic theory Econometrics is The estimation of relationships suggested by economic theory The application of mathematical

More information

The relationship between GDP, labor force and health expenditure in European countries

The relationship between GDP, labor force and health expenditure in European countries Econometrics-Term paper The relationship between GDP, labor force and health expenditure in European countries Student: Nguyen Thu Ha Contents 1. Background:... 2 2. Discussion:... 2 3. Regression equation

More information

Creation of Synthetic Discrete Response Regression Models

Creation of Synthetic Discrete Response Regression Models Arizona State University From the SelectedWorks of Joseph M Hilbe 2010 Creation of Synthetic Discrete Response Regression Models Joseph Hilbe, Arizona State University Available at: https://works.bepress.com/joseph_hilbe/2/

More information

Advanced Econometrics

Advanced Econometrics Advanced Econometrics Instructor: Takashi Yamano 11/14/2003 Due: 11/21/2003 Homework 5 (30 points) Sample Answers 1. (16 points) Read Example 13.4 and an AER paper by Meyer, Viscusi, and Durbin (1995).

More information

a. Explain why the coefficients change in the observed direction when switching from OLS to Tobit estimation.

a. Explain why the coefficients change in the observed direction when switching from OLS to Tobit estimation. 1. Using data from IRS Form 5500 filings by U.S. pension plans, I estimated a model of contributions to pension plans as ln(1 + c i ) = α 0 + U i α 1 + PD i α 2 + e i Where the subscript i indicates the

More information

Multiple Regression and Logistic Regression II. Dajiang 525 Apr

Multiple Regression and Logistic Regression II. Dajiang 525 Apr Multiple Regression and Logistic Regression II Dajiang Liu @PHS 525 Apr-19-2016 Materials from Last Time Multiple regression model: Include multiple predictors in the model = + + + + How to interpret the

More information

Business Cycle. Measures of the business cycle include. All of these require leading indicators of the business cycle

Business Cycle. Measures of the business cycle include. All of these require leading indicators of the business cycle Leading Indicators Good forecasting is often determined by finding leading indicators variables which reduce the MSE of multi-step forecast errors Leading indicators move in advance of the forecast variable

More information

2 H PLH L PLH visit trt group rel N 1 H PHL L PHL P PLH P PHL 5 16

2 H PLH L PLH visit trt group rel N 1 H PHL L PHL P PLH P PHL 5 16 Biostatistics 140.655 ongitudinal Data Analysis Tom Travison ongitudinal GM with GEE - Example ain Crossover Trial Data (Text page 13) Binomial Outcome: % atients Experiencing Relief on Different Drug

More information

############################ ### toxo.r ### ############################

############################ ### toxo.r ### ############################ ############################ ### toxo.r ### ############################ toxo < read.table(file="n:\\courses\\stat8620\\fall 08\\toxo.dat",header=T) #toxo < read.table(file="c:\\documents and Settings\\dhall\\My

More information

Lecture 21: Logit Models for Multinomial Responses Continued

Lecture 21: Logit Models for Multinomial Responses Continued Lecture 21: Logit Models for Multinomial Responses Continued Dipankar Bandyopadhyay, Ph.D. BMTRY 711: Analysis of Categorical Data Spring 2011 Division of Biostatistics and Epidemiology Medical University

More information

This notes lists some statistical estimates on which the analysis and discussion in the Health Affairs article was based.

This notes lists some statistical estimates on which the analysis and discussion in the Health Affairs article was based. Commands and Estimates for D. Carpenter, M. Chernew, D. G. Smith, and A. M. Fendrick, Approval Times For New Drugs: Does The Source Of Funding For FDA Staff Matter? Health Affairs (Web Exclusive) December

More information

The Impact of Health Insurance on

The Impact of Health Insurance on EIP/HSF/DP.06.8 The Impact of Health Insurance on Financial Protection and Access to Care: Simulation Analysis for Kenya DISCUSSION PAPER NUMBER 8-2006 Department "Health System Financing" (HSF) Cluster

More information

CHAPTER 2 ESTIMATION AND PROJECTION OF LIFETIME EARNINGS

CHAPTER 2 ESTIMATION AND PROJECTION OF LIFETIME EARNINGS CHAPTER 2 ESTIMATION AND PROJECTION OF LIFETIME EARNINGS ABSTRACT This chapter describes the estimation and prediction of age-earnings profiles for American men and women born between 1931 and 1960. The

More information

The Impact of Conservatism Policy on Reporting Quality in Jordanian Banks Sector

The Impact of Conservatism Policy on Reporting Quality in Jordanian Banks Sector Journal of Finance and Accounting 2018; 6(3): 91-95 http://www.sciencepublishinggroup.com/j/jfa doi: 10.11648/j.jfa.20180603.12 ISSN: 2330-7331 (Print); ISSN: 2330-7323 (Online) The Impact of Conservatism

More information

Labor supply responses to health shocks in Senegal

Labor supply responses to health shocks in Senegal Labor supply responses to health shocks in Senegal Virginie Comblon (PSL, Université Paris-Dauphine, LEDa, UMR DIAL) and Karine Marazyan (Université Paris 1, IEDES, UMR D&S) UNU WIDER Conference - Human

More information

Effect of Education on Wage Earning

Effect of Education on Wage Earning Effect of Education on Wage Earning Group Members: Quentin Talley, Thomas Wang, Geoff Zaski Abstract The scope of this project includes individuals aged 18-65 who finished their education and do not have

More information

Econometrics II Multinomial Choice Models

Econometrics II Multinomial Choice Models LV MNC MRM MNLC IIA Int Est Tests End Econometrics II Multinomial Choice Models Paul Kattuman Cambridge Judge Business School February 9, 2018 LV MNC MRM MNLC IIA Int Est Tests End LW LW2 LV LV3 Last Week:

More information

You created this PDF from an application that is not licensed to print to novapdf printer (http://www.novapdf.com)

You created this PDF from an application that is not licensed to print to novapdf printer (http://www.novapdf.com) Monday October 3 10:11:57 2011 Page 1 (R) / / / / / / / / / / / / Statistics/Data Analysis Education Box and save these files in a local folder. name:

More information