Biostatistics-Lecture 14 Generalized Additive Models Ruibin Xi Peking University School of Mathematical Sciences.

Slides:



Advertisements
Similar presentations
Mark Trew CT Halfway Down Halfway down the stairs Is a stair Where I sit. There isn't any Other stair Quite like It. I'm not at the bottom, I'm.
Advertisements

A Tale of Two GAMs Generalized additive models as a tool for data exploration Mariah Silkey, Actelion Pharmacueticals Ltd. 1.
Lecture 9: Smoothing and filtering data
Generalized Additive Models Keith D. Holler September 19, 2005 Keith D. Holler September 19, 2005.
CS 445 / 645 Introduction to Computer Graphics Lecture 23 Bézier Curves Lecture 23 Bézier Curves.
March 1, 2009Dr. Muhammed Al-Mulhem1 ICS 415 Computer Graphics Hermite Splines Dr. Muhammed Al-Mulhem March 1, 2009 Dr. Muhammed Al-Mulhem March 1, 2009.
Flexible smoothing with B-splines and Penalties or P-splines P-splines = B-splines + Penalization Applications : Generalized Linear and non linear Modelling.
Introduction to Smoothing Splines
Model assessment and cross-validation - overview
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
Data mining and statistical learning - lecture 6
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Vector Generalized Additive Models and applications to extreme value analysis Olivier Mestre (1,2) (1) Météo-France, Ecole Nationale de la Météorologie,
1 Curve-Fitting Spline Interpolation. 2 Curve Fitting Regression Linear Regression Polynomial Regression Multiple Linear Regression Non-linear Regression.
EARS1160 – Numerical Methods notes by G. Houseman
Curve Fitting Variations and Neural Data Julie Michelman – Carleton College Jiaqi Li – Lafayette College Micah Pearce – Texas Tech University Advisor:
Biostatistics-Lecture 10 Linear Mixed Model Ruibin Xi Peking University School of Mathematical Sciences.
Coefficient Path Algorithms Karl Sjöstrand Informatics and Mathematical Modelling, DTU.
統計計算與模擬 政治大學統計系余清祥 2003 年 6 月 9 日 ~ 6 月 10 日 第十六週:估計密度函數
Rational Bezier Curves
Curve-Fitting Interpolation
Engineering Computation Curve Fitting: Interpolation 1
Basis Expansions and Regularization Based on Chapter 5 of Hastie, Tibshirani and Friedman.
Bezier and Spline Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
2008 Chingchun 1 Bootstrap Chingchun Huang ( 黃敬群 ) Vision Lab, NCTU.
Lecture 11 Multivariate Regression A Case Study. Other topics: Multicollinearity  Assuming that all the regression assumptions hold how good are our.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
RASTER CONVERSION ALGORITHMS FOR CURVES: 2D SPLINES 2D Splines - Bézier curves - Spline curves.
Basic Mathematics for Portfolio Management. Statistics Variables x, y, z Constants a, b Observations {x n, y n |n=1,…N} Mean.
Linear Regression/Correlation
Example 16.3 Estimating Total Cost for Several Products.
Spline and Kernel method Gaussian Processes
Relations in Categorical Data 1. When a researcher is studying the relationship between two variables, if both variables are numerical then scatterplots,
Nonparametric Regression
Regression analysis Control of built engineering objects, comparing to the plan Surveying observations – position of points Linear regression Regression.
Today: Lab 9ab due after lecture: CEQ Monday: Quizz 11: review Wednesday: Guest lecture – Multivariate Analysis Friday: last lecture: review – Bring questions.
Model Comparison for Tree Resin Dose Effect On Termites Lianfen Qian Florida Atlantic University Co-author: Soyoung Ryu, University of Washington.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
Time series Decomposition Farideh Dehkordi-Vakil.
Essentials of Business Statistics: Communicating with Numbers By Sanjiv Jaggia and Alison Kelly Copyright © 2014 by McGraw-Hill Higher Education. All rights.
Table of Contents Polynomials: Synthetic Division If a polynomial is divided by a linear factor of the form x – c, then a process know as synthetic division.
Gaussian Process and Prediction. (C) 2001 SNU CSE Artificial Intelligence Lab (SCAI)2 Outline Gaussian Process and Bayesian Regression  Bayesian regression.
Scikit-Learn Intro to Data Science Presented by: Vishnu Karnam A
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Chapter 17 and 18 Interpolation.
Basis Expansions and Generalized Additive Models Basis expansion Piecewise polynomials Splines Generalized Additive Model MARS.
Model Selection and the Bias–Variance Tradeoff All models described have a smoothing or complexity parameter that has to be considered: multiplier of the.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
Exploring Relationships Between Numerical Variables Correlation.
Estimating standard error using bootstrap
Short-Term Forecasting
Piecewise Polynomials and Splines
Chapter 7. Classification and Prediction
ECE3340 Numerical Fitting, Interpolation and Approximation
EEE 244-7: Curve Fitting.
Curve-Fitting Spline Interpolation
Linear Regression/Correlation
Spline Interpolation Class XVII.
Simple Linear Regression
Least Squares Fitting A mathematical procedure for finding the best-fitting curve to a given set of points by minimizing the sum of the squares of the.
M248: Analyzing data Block D UNIT D2 Regression.
Multiple Linear Regression
Performing a regression analysis
Linear Regression and Correlation
Basis Expansions and Generalized Additive Models (2)
Linear Regression and Correlation
SKTN 2393 Numerical Methods for Nuclear Engineers
政治大學統計系余清祥 2004年5月26日~ 6月7日 第十六、十七週:估計密度函數
Cases. Simple Regression Linear Multiple Regression.
Presentation transcript:

Biostatistics-Lecture 14 Generalized Additive Models Ruibin Xi Peking University School of Mathematical Sciences

Generalized Additive models Gillibrand et al. (2007) studied the bioluminescence-depth relationship

Generalized Additive models Gillibrand et al. (2007) studied the bioluminescence-depth relationship We may first consider the model

Generalized Additive models Gillibrand et al. (2007) studied the bioluminescence-depth relationship We may first consider the model

Generalized Additive models Gillibrand et al. (2007) studied the bioluminescence-depth relationship We may first consider the model

Generalized Additive models LOESS (locally weighted scatterplot smoothing)-based

Generalized Additive models LOESS (locally weighted scatterplot smoothing)-based

Generalized Additive models LOESS (locally weighted scatterplot smoothing)-based

Generalized Additive models LOESS (locally weighted scatterplot smoothing)-based

Generalized Additive models LOESS (locally weighted scatterplot smoothing)-based Spline-based

Generalized Additive models LOESS (locally weighted scatterplot smoothing)-based Spline-based

Generalized Additive models Suppose that the model is As discussed before, we may approximate the unknown function f with polynomials But the problem is this representation is not very flexible

Generalized Additive models

What if the data looks like

Generalized Additive models One way to overcome this difficulty is to divide the range of the x variable to a few segment and perform regression on each of the segments

Generalized Additive models One way to overcome this difficulty is to divide the range of the x variable to a few segment and perform regression on each of the segments

Generalized Additive models One way to overcome this difficulty is to divide the range of the x variable to a few segment and perform regression on each of the segments The cubic spline ensures the line looks smooth

Generalized Additive models Cubic spline bases (assuming 0<x<1) With this bases, the model may be approximated by knots

Generalized Additive models Cubic spline bases (assuming 0<x<1) With this bases, the model may be approximated by knots

Generalized Additive models How to determine the number of knots? – Use model selection methods? – But this is problematic Instead we may use the penalized regression spline – Rather than minimizing – We could minimize

Generalized Additive models Because f is linear in the parameters, the penalty can be written as – – The first two rows and columns are 0 The penalized regression spline can be written as

Generalized Additive models Because f is linear in the parameters, the penalty can be written as – – The first two rows and columns are 0 The penalized regression spline can be written as

Generalized Additive models How to choose λ? Ordinary cross-validation (OCV) – We my try to minimize – Instead, we may minimize

Generalized Additive models It is inefficient to use the OCV by leaving out one datum at a time But, it can be shown that Generalized cross-validation (GCV)

Generalized Additive models It is inefficient to use the OCV by leaving out one datum at a time But, it can be shown that Generalized cross-validation (GCV)

Generalized Additive models Additive models with multiple explanatory variables We may also consider the model like