Linear models in Epidemiology

Slides:



Advertisements
Similar presentations
Apr-15H.S.1 Stata: Linear Regression Stata 3, linear regression Hein Stigum Presentation, data and programs at: courses.
Advertisements

Exploring the Shape of the Dose-Response Function.
Lecture Data Mining in R 732A44 Programming in R.
Logistic Regression I Outline Introduction to maximum likelihood estimation (MLE) Introduction to Generalized Linear Models The simplest logistic regression.
What is Interaction for A Binary Outcome? Chun Li Department of Biostatistics Center for Human Genetics Research September 19, 2007.
Statistics for Business and Economics
1 PH 240A: Chapter 12 Mark van der Laan University of California Berkeley (Slides by Nick Jewell)
Jul-15H.S.1 Stata 3, Regression Hein Stigum Presentation, data and programs at:
Jul-15H.S.1 Short overview of statistical methods Hein Stigum Presentation, data and programs at: courses.
Jul-15H.S.1 Linear Regression Hein Stigum Presentation, data and programs at:
Ch. 14: The Multiple Regression Model building
Generalized Linear Models
SAS Lecture 5 – Some regression procedures Aidan McDermott, April 25, 2005.
Simple Linear Regression
Chapter 3: Generalized Linear Models 3.1 The Generalization 3.2 Logistic Regression Revisited 3.3 Poisson Regression 1.
POTH 612A Quantitative Analysis Dr. Nancy Mayo. © Nancy E. Mayo A Framework for Asking Questions Population Exposure (Level 1) Comparison Level 2 OutcomeTimePECOT.
ALISON BOWLING THE GENERAL LINEAR MODEL. ALTERNATIVE EXPRESSION OF THE MODEL.
Excepted from HSRP 734: Advanced Statistical Methods June 5, 2008.
© 2001 Prentice-Hall, Inc. Statistics for Business and Economics Simple Linear Regression Chapter 10.
2 December 2004PubH8420: Parametric Regression Models Slide 1 Applications - SAS Parametric Regression in SAS –PROC LIFEREG –PROC GENMOD –PROC LOGISTIC.
Generalized Linear Models All the regression models treated so far have common structure. This structure can be split up into two parts: The random part:
1 GLM I: Introduction to Generalized Linear Models By Curtis Gary Dean Distinguished Professor of Actuarial Science Ball State University By Curtis Gary.
Multiple Regression  Similar to simple regression, but with more than one independent variable R 2 has same interpretation R 2 has same interpretation.
Log-linear Models HRP /03/04 Log-Linear Models for Multi-way Contingency Tables 1. GLM for Poisson-distributed data with log-link (see Agresti.
Introduction to Multiple Regression Lecture 11. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (Y) & 2 or more.
1 Introduction to Modeling Beyond the Basics (Chapter 7)
1 G Lect 3M Regression line review Estimating regression coefficients from moments Marginal variance Two predictors: Example 1 Multiple regression.
Topics, Summer 2008 Day 1. Introduction Day 2. Samples and populations Day 3. Evaluating relationships Scatterplots and correlation Day 4. Regression and.
Measures of disease frequency Simon Thornley. Measures of Effect and Disease Frequency Aims – To define and describe the uses of common epidemiological.
 Naïve Bayes  Data import – Delimited, Fixed, SAS, SPSS, OBDC  Variable creation & transformation  Recode variables  Factor variables  Missing.
Chapter 14 Introduction to Multiple Regression
Curvilinear Relationships
Intervention Study: Kenya PRIMR Case Regression Analysis
Discussion: Week 4 Phillip Keung.
Sec 9C – Logistic Regression and Propensity scores
Basics of Group Analysis
Microeconometric Modeling
Generalized Linear Models
Validity Generalization
POSC 202A: Lecture Lecture: Substantive Significance, Relationship between Variables 1.
A statistical package for epidemiologists
Generalized Linear Models (GLM) in R
Determining Levels, Understanding Constructs
Medical Statistics Dr. Gholamreza Khalili
Constantly forgotten Hein Stigum Presentation, data and programs at:
Getting to the Research Question
SAME THING?.
The Science of Predicting Outcome
Exam 4/19 40 – 50 questions 1.5 hours long
What is Regression Analysis?
Stata 9, Summing up.
Standard Statistical analysis Linear-, logistic- and Cox-regression
Regression diagnostics
Kanguk Samsung Hospital, Sungkyunkwan University
Optimal scaling for a logistic regression model with ordinal covariates Sanne JW Willems, Marta Fiocco, and Jacqueline J Meulman Leiden University & Stanford.
Scale, Causal Pies and Interaction 1h
Soc 3306a Lecture 11: Multivariate 4
Review of Chapter 3 Examining Relationships
Evaluating Effect Measure Modification
Multivariate Analysis: Analysis of Variance
4.2 Cautions about Correlation and Regression
Basic measurements in Demography
New Techniques and Technologies for Statistics 2017  Estimation of Response Propensities and Indicators of Representative Response Using Population-Level.
E3 Measures A tale of risks, rates and odds
Summary of Measures and Design 3h
Nazmus Saquib, PhD Head of Research Sulaiman AlRajhi Colleges
Confounders.
Effect Modifiers.
Review of Chapter 3 Examining Relationships
Summary of Measures and Design
Presentation transcript:

Linear models in Epidemiology Hein Stigum Presentation, data and programs at: http://folk.uio.no/heins/ Confounding and interaction, Kleinbaum and Kupper, Jægtvolden Feb-19 H.S.

Agenda Concepts Methods Examples Additive and multiplicative scale Regression models Ordinary linear regression Logistic Linear binomial model Examples Feb-19 H.S.

Scale Feb-19 H.S.

The importance of scale Additive scale Absolute increase Females: 30-20=10 Males: 20-10=10 Conclusion: Same increase for males and females RD Multiplicative scale Relative increase Females: 30/20=1.5 Males: 20/10=2.0 Conclusion: More increase for males RR Feb-19 H.S.

Examples for discussion Smoking and CHD More CHD among men RR smoking same for males and females Det er like farlig å røke for menn som for kvinner Feb-19 H.S.

Depression and death RR from depression decreases with age RR=2.0 Start with additive description At what age does depression affect death most? Feb-19 H.S.

Biologic interaction Biologic interaction two component causes acting together in a sufficient cause preferably additive Feb-19 H.S.

Regression models Feb-19 H.S.

Generalized Linear Models, GLM Linear regression Logistic regression Less different if low prevalence/weak covariate Must specify distribution and link function Linear binomial Feb-19 H.S.

GLM: Distribution and link Distribution family Given by data Influence p-values and confidence intervals Link function May chose Determines prediction shape (=link-1) Determines scale (additive/multiplicative) Determines association measure (OR, RR, RD) Feb-19 H.S.

Distribution and link examples OBS: not for traditional case control data Link: Identity  linear model  additive scale Feb-19 H.S.

Being bullied, 3 models glm bullied Island Norway Finland Denmark sex age, family(binomial) link(logit) glm bullied Island Norway Finland Denmark sex age, family(binomial) link(log) glm bullied Island Norway Finland Denmark sex age, family(binomial) link(identity) After OR/RR, what is the prevalence of bullying? After RD, what is the risk of being bullied if girls from Finland? Feb-19 H.S.

Smoke and snuff use Feb-19 H.S.

The linear binomial model Pro Easy to interpret Absolute risk and risk difference Absolute risk for any covariate combination Con May predict risk outside (0 , 1) May not converge In sum + Benefit for listener/reader - Possible problem for analyst Feb-19 H.S.

Work around problems Binreg tricks Restrict range Use robust linear regression Feb-19 H.S.

Binreg (Stata) tricks If binreg does not converge, try (one of): binreg y x1 …, rd ml search difficult IRLS= interative reweighed least squares Feb-19 H.S.

Restrict range Linear binomial on age 20-60 years Feb-19 H.S.

Linear robust regression Feb-19 H.S.

Linear robust vs linear binomial Linear robust will always give an answer Feb-19 H.S.

Summing up Linear models Better description of reality? + Easy to interpret + Interactions on additive scale Numerical problems on risk outcome Better description of reality? Should de used more! Feb-19 H.S.