Linear Model. Formal Definition General Linear Model.

Slides:



Advertisements
Similar presentations
Workshop in R & GLMs: #3 Diane Srivastava University of British Columbia
Advertisements

© Department of Statistics 2012 STATS 330 Lecture 32: Slide 1 Stats 330: Lecture 32.
- Word counts - Speech error counts - Metaphor counts - Active construction counts Moving further Categorical count data.
Exponential Distribution. = mean interval between consequent events = rate = mean number of counts in the unit interval > 0 X = distance between events.
1. Analyzing Non-Normal Data with Generalized Linear Models 2010 LISA Short Course Series Sai Wang, Dept. of Statistics.
Part V The Generalized Linear Model Chapter 16 Introduction.
Count Data Harry R. Erwin, PhD School of Computing and Technology University of Sunderland.
Linear statistical models 2009 Models for continuous, binary and binomial responses  Simple linear models regarded as special cases of GLMs  Simple linear.

Confidence intervals. Population mean Assumption: sample from normal distribution.
CSE 3504: Probabilistic Analysis of Computer Systems Topics covered: Moments and transforms of special distributions (Sec ,4.5.3,4.5.4,4.5.5,4.5.6)
Log-linear and logistic models
Regression Model Building Setting: Possibly a large set of predictor variables (including interactions). Goal: Fit a parsimonious model that explains variation.
Severity Distributions for GLMs: Gamma or Lognormal? Presented by Luyang Fu, Grange Mutual Richard Moncher, Bristol West 2004 CAS Spring Meeting Colorado.
Generalized Linear Models
Logistic Regression with “Grouped” Data Lobster Survival by Size in a Tethering Experiment Source: E.B. Wilkinson, J.H. Grabowski, G.D. Sherwood, P.O.
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
Review of Lecture Two Linear Regression Normal Equation
Logistic Regression and Generalized Linear Models:
Baburao Kamble (Ph.D) University of Nebraska-Lincoln Data Analysis Using R Week 8: Advanced Regression and Probability Distribution.
Lecture 6 Generalized Linear Models Olivier MISSA, Advanced Research Skills.
Chapter 3: Generalized Linear Models 3.1 The Generalization 3.2 Logistic Regression Revisited 3.3 Poisson Regression 1.
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
Moment Generating Functions
Poisson Random Variable Provides model for data that represent the number of occurrences of a specified event in a given unit of time X represents the.
Generalized Linear Models II Distributions, link functions, diagnostics (linearity, homoscedasticity, leverage)
Today: Lab 9ab due after lecture: CEQ Monday: Quizz 11: review Wednesday: Guest lecture – Multivariate Analysis Friday: last lecture: review – Bring questions.
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:
General Linear Models; Generalized Linear Models Hal Whitehead BIOL4062/5062.
The Triangle of Statistical Inference: Likelihoood Data Scientific Model Probability Model Inference.
Forecasting Choices. Types of Variable Variable Quantitative Qualitative Continuous Discrete (counting) Ordinal Nominal.
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
一般化線形モデル( GLM ) generalized linear Models データ解析のための統計モデリング入門 久保拓也(2012) 岩波書店.
1 GLM I: Introduction to Generalized Linear Models By Curtis Gary Dean Distinguished Professor of Actuarial Science Ball State University By Curtis Gary.
Examples of Designed Experiments With Nonnormal Responses
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 5-5 Poisson Probability Distributions.
Starting point for generating other distributions.
IE 300, Fall 2012 Richard Sowers IESE. 8/30/2012 Goals: Rules of Probability Counting Equally likely Some examples.
Statistics 2: generalized linear models. General linear model: Y ~ a + b 1 * x 1 + … + b n * x n + ε There are many cases when general linear models are.
Things gone bye.. How to Predict The Future Either the world is driven completely by random chance events (and your best bet for predicting the future.
Remembering way back: Generalized Linear Models Ordinary linear regression What if we want to model a response that is not Gaussian?? We may have experiments.
Dependent Variable Discrete  2 values – binomial  3 or more discrete values – multinomial  Skewed – e.g. Poisson Continuous  Non-normal.
1 Fighting for fame, scrambling for fortune, where is the end? Great wealth and glorious honor, no more than a night dream. Lasting pleasure, worry-free.
Variance Stabilizing Transformations. Variance is Related to Mean Usual Assumption in ANOVA and Regression is that the variance of each observation is.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Logistic Regression and Odds Ratios Psych DeShon.
Week 7: General linear models Overview Questions from last week What are general linear models? Discussion of the 3 articles.
Statistics -Continuous probability distribution 2013/11/18.
 Naïve Bayes  Data import – Delimited, Fixed, SAS, SPSS, OBDC  Variable creation & transformation  Recode variables  Factor variables  Missing.
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
WiFi password:
Statistical Modelling
A priori violations In the following cases, your data violates the normality and homoskedasticity assumption on a priori grounds: (1) count data  Poisson.
The Exponential and Gamma Distributions
Negative Binomial Regression
. . .
Discrete Probability Distributions
Generalized Linear Models
Generalized Linear Models
Correct statistics in ecological research
Introduction to logistic regression a.k.a. Varbrul
Quantitative Methods What lies beyond?.
Chapter 12 Inference on the Least-squares Regression Line; ANOVA
DCAL Stats Workshop Bodo Winter.
Quantitative Methods What lies beyond?.
Logistic Regression with “Grouped” Data
Chapter 3 : Random Variables
Generalized Linear Models
Generalized Additive Model
Moments of Random Variables
Presentation transcript:

Linear Model

Formal Definition

General Linear Model

General Linear Model Can transform the predictor values to linearize the relationship between the predictors and the response Also changes the variance so it only should be done if the variance is not uniform and is made uniform by the transform

Polynomial Regression

Need More Not all phenomenon follow linear response Not all residuals are normally distributed This leads: –GLMs: Single function, specified regression distribution –GAMs: Multiple functions –“Non-parametric” approaches: function is determined by the computer

GLM

Generalized Linear Models

Common Functions in R Probability Distribution (Link Function) Binomial (link = "logit") –True/false, alive/dead Gaussian (link = "identity") –Continuous, normal Gamma (link = "inverse") –Seed distribution, distance from… Poisson (link = "log") –Counts

Normal Distribution WikipediaAKA “Gaussian” Distribution

Binomial Number of successes of yes/no experimentsWikipedia

Poisson Number of events in time T, k=number of occurrences Wikipedia

Gamma Distribution Wait times, seed distribution, etc. Wikipedia

Deviance

Degrees of Freedom