# LOGISTIC REGRESSION. Nitin R Patel. where the dependent variable, y, is binary (for convenience we often code these values as

Save this PDF as:

Size: px
Start display at page:

Download "LOGISTIC REGRESSION. Nitin R Patel. where the dependent variable, y, is binary (for convenience we often code these values as"

## Transcription

1 LOGISTIC REGRESSION Nitin R Patel Logistic regression extends the ideas of multiple linear regression to the situation where the dependent variable, y, is binary (for convenience we often code these values as 0 and 1).As with multiple linear regression the independent variables x 1,x 2 x k may be categorical or continuous variables or a mixture of these two types. Let us take some examples to illustrate [1]: Example 1: Market Research The data in Table 1 were obtained in a survey conducted by AT & T in the US from a national sample of co-operating households.interest was centered on the adoption of a new telecommunications service as it related to education, residential stability and income. Table 1: Adoption ofnew Telephone Service High School or below Some College or above No Change in Change in No change in Change in Residence during Residence during Residence during Residence during Last five years Last five years Last five years Last five years Low 153/2160 = /1137 = /886 = /1091 = Income High 147/1363 = / 547 = /1925 = /1415 = Income (For fractions in cells above, the numerator is the number of adopters out of the number in the denominator). Note that the overall probability of adoption in the sample is 1628/10524 = However, the adoption probability varies depending on the categorical independent variables education, residential stability and income.the lowest value is for low- income no-residence-change households with some college education while the highest is for 1

2 high-income residence changers with some college education. The standard multiple linear regression model is inappropriate to model this data for the following reasons: 1.The model s predicted probabilities could fall outside the range 0 to 1. 2.The dependent variable is not normally distributed.in fact a binomial model would be more appropriate.for example, if a cell total is 11 then this variable can take on only 12 distinct values 0, 1, 2 11.Think of the response of the households in a cell being determined by independent flips of a coin with, say, heads representing adoption with the probability of heads varying between cells. 3.If we consider the normal distribution as an approximation for the binomial model, the variance of the dependent variable is not constant across all cells: it will be higher for cells where the probability of adoption, p, is near 0.5 than where it is near 0 or 1.It will also increase with the total number of households, n, falling in the cell.the variance equals n(p(1 p)). The logistic regression model was developed to account for all these difficulties.it has become very popular in describing choice behavior in econometrics and in modeling risk factors in epidemiology.in the context of choice behavior it can be shown to follow from the random utility theory developed by Manski [2] as an extension of the standard economic theory of consumer behavior. In essence the consumer theory states that when faced with a set of choices a consumer makes a choice which has the highest utility (anumeric measure of worth with arbitrary zero and scale).it assumes that the consumer has a preference order on the list of choices that satisfies reasonable criteria such as transitivity.the preference order can depend on the individual (e.g. socioeconomic characteristics as in the Example 1 above) as well as 2

3 attributes of the choice.the random utility model considers the utility of a choice to incorporate a random element.when we model the random element as coming from a reasonable distribution, we can logically derive the logistic model for predicting choice behavior. If we let y = 1 represent choosing an option versus y = 0 for not choosing it, the logistic regression model stipulates: Probability(Y =1 x 1,x 2 x k )= exp(β O + β 1 x 1 + β k x k ) 1 + exp(β O + β 1 x 1 + β k x k ) where β 0,β 1,β 2 β k are unknown constants analogous to the multiple linear regression model. The independent variables for our model would be: x 1 ( Education: High School or below = 0, Some College or above = 1 x 2 (Residential Stability: No change over past five years = 0, Change over past five years = 1 x 3 Income: Low = 0 High = 1 The data in Table 1 is shown below in the format typically required by regression programs. x 1 x 2 x 3 # in sample #adopters # Non-adopters Fraction adopters The logistic model for this example is: 3

5 95% Conf.Intvl.for odds Variable Coeff. Std.Error p-value Odds Lower Limit Upper Limit Constant x x x From the estimated values of the coefficients, we see that the estimated probability of adoption for a household with values x 1,x 2 and x 3 for the independent variables is: Prob(Y =1 x 1,x 2,x 3 )= exp( x x x 3 ) 1 + exp( x x x 3 ). The estimated number of adopters from this model will be the total number of households with values x 1,x 2 and x 3 for the independent variables multiplied by the above probability. The table below shows the estimated number of adopters for the various combinations of the independent variables. x 1 x 2 x 3 #in # adopters Estimated Fraction Estimated sample (# adopters) Adopters Prob(Y = l x 1,x 2,x 3 ) In data mining applications we will have validation data that is a hold-out sample not used in fitting the model. Let us suppose we have the following validation data consisting of 598 households: 5

6 x 1 x 2 x 3 #in # adopters Estimated Error Absolute validation in validation (# adopters) (Estimate Value sample sample -Actal) of Error Totals The total error is -2.8 adopters or a percentage error in estimating adopters of -2.8/119 = 2.3%. The average percentage absolute error is =.249 = 24.9% adopters. The confusion matrix for households in the validation data for set is given below: Observed Adopters Non-adopters Total Predicted: Adopters Non-adopters Total As with multiple linear regression we can build more complex models that reflect interactions between independent variables by including factors that are calculated from the interacting factors.for example if we felt that there is an interactive effect b etween x 1 and x 2 we would add an interaction term x 4 = x 1 x 2. 6

7 Example 2: Financial Conditions ofbanks [2] Table 2 gives data on a sample of banks.the second column records the judgment of an expert on the financial condition of each bank.the last two columns give the values of two commonly ratios commonly used in financial analysis of banks. Table 2: Financial Conditions ofbanks Financial Total Loans & Leases/ Total Expenses / Obs Condition Total Assets Total Assets (y) (x 1 ) (x 2 ) Financial Condition = 1 for financially weak banks; = 0 for financially strong banks. Let us first consider a simple logistic regression model with just one independent variable.this is analogous to the simple linear regression model in which we fit a straight line to relate the dependent variable, y, to a single independent variable, x. 7

8 Let us construct a simple logistic regression model for classification of banks using the Total Loans & Leases to Total Assets ratio as the independent variable in our model. This model would have the following variables: Dependent variable: Y = 1, if financially distressed, = 0, otherwise. Independent (or Explanatory) variable: x 1 = Total Loans & Leases/Total Assets Ratio The equation relating the dependent variable with the explanatory variable is: Prob(Y =1 x 1 )= exp(β 0 + β 1 x l ) 1 + exp(β 0 + β 1 x l ) or, equivalently, Odds (Y = 1 versus Y =0)=(β 0 + β 1 x l ). The Maximum Likelihood Estimates of the coefficients for the model are: ˆβ 0 = 6.926, ˆβ 1 = So that the fitted model is: Prob(Y =1 x 1 )= exp( x 1) (1 + exp( x 1 ). 8

9 Figure 1 displays the data points and the fitted logistic regression model. 9

10 We can think of the model as a multiplicative model of odds ratios as we did for Example 1.The odds that a bank with a Loan & Leases/Assets Ratio that is zero will be in financial distress = exp( 6.926) = These are the base case odds.the odds of distress for a bank with a ratio of 0.6 will increase by a multiplicative factor of exp( ) = 730 over the base case, so the odds that such a bank will be in financial distress = Notice that there is a small difference in interpretation of the multiplicative factors for this example compared to Example 1.While the interpretation of the sign of β i remains as before, its magnitude gives the amount by which the odds of Y = 1 against Y =0 are changed for a unit change in x i.if we construct a simple logistic regression model for classification of banks using the Total Expenses/ Total Assets ratio as the independent variable we would have the following variables: Dependent variable: Y = 1, if financially distressed, = 0, otherwise. Independent (or Explanatory) variables: x 2 = Total Expenses/ Total Assets Ratio The equation relating the dependent variable with the explanatory variable is: or, equivalently, Prob(Y = l x 1 )= exp(β 0 + β 2 x 2 ) 1 + exp(β 0 + β 2 x 2 ) Odds (Y = 1 versus Y =0)=(β 0 + β 2 x 2 ). The Maximum Likelihood Estimates of the coefficients for the model are: β 0 = 9.587, β 2 =

11 Figure 2 displays the data points and the fitted logistic regression model. Computation ofestimates As illustrated in Examples 1 and 2, estimation of coefficients is usually carried out based on the principle of maximum likelihood which ensures good asymptotic (large sample) properties for the estimates.under very general conditions maximum likelihood estimators are: Consistent : the probability of the estimator differing from the true value approaches zero with increasing sample size; Asymptotically Efficient : the variance is the smallest possible among consistent estimators Asymptotically Normally Distributed: This allows us to compute confidence intervals and perform statistical tests in a manner analogous to the analysis of linear multiple regression models, provided the sample size is large. 11

12 Algorithms to compute the coefficient estimates and confidence intervals are iterative and less robust than algorithms for linear regression.computed estimates are generally reliable for well-behaved datasets where the number of observations with depende nt variable values of both 0 and 1 are large ; their ratio is not too close to either zero or one; and when the number of coefficients in the logistic regression model is small relative to the sample size (say, no more than 10%).As with linear regression collinearity (strong correlation amongst the independent variables) can lead to computational difficulties. Computationally intensive algorithms have been developed recently that circumvent some of these difficulties [3]. 12

13 Appendix A Computing Maximum Likelihood Estimates and Confidence Intervals for Regression Coefficients We denote the coefficients by the p 1 column vector β with the row element i equal to β i, The n observed values of the dependent variable will be denoted by the n 1 column vector y with the row element j equal to y j ; and the corresponding values of the independent variable i by x ij for i =1 p; j =1 n. Data : y j,x 1j,x 2j,,x pj, Likelihood Function: j =1, 2,,n. The likelihood function, L, is the probability of the observed data viewed as a function of the parameters (β 2i in a logistic regression). n j=1 n = e y i(β 0 +β 1 x 1j +β 2 x 2j +β px pj ) 1+e β 0+β 1 x 1j +β 2 x 2j +β i x pj ) j=1 e Σ iy j β i x ij 1+e Σ iβ i x ij where = eσ i(σ j y j x ij )β i n [1 + e Σ iβ i x ij] j=1 e Σ iβ i t i = n [1 + e Σ iβ i x ij] j=1 t i =Σ j y j x ij These are the sufficient statistics for a logistic regression model analogous to ŷ and S in linear regression. Loglikelihood Function: This is the logarithm of the likelihood function, l =Σ i β i t i Σ j log[1 + e Σ iβ i x ij ]. 13

14 We find the maximum likelihood estimates, ˆβ i,ofβ i by maximizing the loglikelihood function for the observed values of y j and x ij in our data.since maximizing the log of a function is equivalent to maximizing the function, we often work with the loglikelihood because it is generally less cumbersome to use for mathematical operations such as differentiation. Since the likelihood function can be shown to be concave, we will find the global maximum of the function (if it exists) by equating the partial derivatives of the loglikelihood to zero and solving the resulting nonlinear equations for ˆβ i. l x ij e Σiβixij = t i Σ j β i [1 + e Σ iβ i x ij] = t i Σ j x ij ˆπ j =0,i=1, 2,,p or Σ i x ij ˆπ j = t i where ˆπ j = eσ i bb i x ij = E(Y [1+e Σ i β i xij ] j) An intuitive way to understand these equations is to note that Σ j x ij E(Y j )=Σ j x ij y j In words, the maximum likelihood estimates are such that the expected value of the sufficient statistics are equal to their observed values. Note : If the model includes the constant term x ij = 1 for all j then Σ j E(Y j )=Σ j y j, i.e. the expected number of successes (responses of one) using MLE estimates of β i equals the observed number of successes.the ˆβ i s are consistent, asymptotically efficient and follow a multivariate Normal distribution (subject to mild regularity conditions). Algorithm : A popular algorithm for computing ˆβ i uses the Newton-Raphson method for maximizing twice differentiable functions of several variables (see Appendix B). 14

15 The Newton-Raphson method involves computing the following successive approximations to find ˆβ i, the likelihood function β t+1 = β t +[I(β t )] 1 I(β t ) where I ij = 2 l β i j β j On convergence, the diagonal elements of I(β t ) 1 give squared standard errors (approximate variance) for ˆβ i. Confidence intervals and hypothesis tests are based on asymptotic normal distribution of ˆβ i. The loglikelihood function is always negative and does not have a maximum when it can be made arbitrary close to zero.in that case the likelihood function can be made arbitrarily close to one and the first term of the loglikelihood function given above approaches infinity.in this situation the predicted probabilities for observations with y j = 0 can be made arbitrarily close to 0 and those for y j = 1 can be made arbitrarily close to 1 by choosing suitable very large absolute values of some β i.this is the situation when we have a perfect model (at least in terms of the training data set)! This phenomenon is more likely to occur when the number of parameters is a large fraction (say > 20%) of the number of observations. 15

16 Appendix B The Newton-Raphson Method This method finds the values of β i that maximize a twice differentiable concave function, g(β).if the function is not concave, it finds a local maximum.the method uses successive quadratic approximations to g based on Taylor series.it converges rapidly if the starting value, β 0, is reasonably close to the maximizing value, ˆβ, ofβ. The gradient vector and the Hessian matrix, H, as defined below, are used to update an estimate β t to β t+1. g(β t )=. g β i. β t H(β t )=. 2 g β i β k. β t. The Taylor series expansion around β t gives us: g(β) g(β t )+ g(β t )(β β t )+1/2(β β t ) H(β t )(β β t ) Provided H(β t ) is positive definite, the maximum of this approximation occurs when its derivative is zero. g(β t ) H(β t )(β β t )=0 or β = β t [H(β t )] 1 g(β t ). This gives us a way to compute β t+1, the next value in our iterations. β t+1 = β t [H(β t ] 1 g(β t ). To use this equation H should be non-singular.this is generally not a problem although sometimes numerical difficulties can arise due to collinearity. 16

17 Near the maximum the rate of convergence is quadratic as it can be shown that β t+1 i ˆβ i c β t i ˆβ i 2 for some c 0 when β t i is near ˆβ i for all i. 17

### Poisson Models for Count Data

Chapter 4 Poisson Models for Count Data In this chapter we study log-linear models for count data under the assumption of a Poisson error structure. These models have many applications, not only to the

### Lecture 3: Linear methods for classification

Lecture 3: Linear methods for classification Rafael A. Irizarry and Hector Corrada Bravo February, 2010 Today we describe four specific algorithms useful for classification problems: linear regression,

### Logistic Regression. Jia Li. Department of Statistics The Pennsylvania State University. Logistic Regression

Logistic Regression Department of Statistics The Pennsylvania State University Email: jiali@stat.psu.edu Logistic Regression Preserve linear classification boundaries. By the Bayes rule: Ĝ(x) = arg max

### Example: Credit card default, we may be more interested in predicting the probabilty of a default than classifying individuals as default or not.

Statistical Learning: Chapter 4 Classification 4.1 Introduction Supervised learning with a categorical (Qualitative) response Notation: - Feature vector X, - qualitative response Y, taking values in C

### Statistical Machine Learning

Statistical Machine Learning UoC Stats 37700, Winter quarter Lecture 4: classical linear and quadratic discriminants. 1 / 25 Linear separation For two classes in R d : simple idea: separate the classes

: Table of Contents... 1 Overview of Model... 1 Dispersion... 2 Parameterization... 3 Sigma-Restricted Model... 3 Overparameterized Model... 4 Reference Coding... 4 Model Summary (Summary Tab)... 5 Summary

### Least Squares Estimation

Least Squares Estimation SARA A VAN DE GEER Volume 2, pp 1041 1045 in Encyclopedia of Statistics in Behavioral Science ISBN-13: 978-0-470-86080-9 ISBN-10: 0-470-86080-4 Editors Brian S Everitt & David

### Logistic Regression (1/24/13)

STA63/CBB540: Statistical methods in computational biology Logistic Regression (/24/3) Lecturer: Barbara Engelhardt Scribe: Dinesh Manandhar Introduction Logistic regression is model for regression used

### 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

### Linear Threshold Units

Linear Threshold Units w x hx (... w n x n w We assume that each feature x j and each weight w j is a real number (we will relax this later) We will study three different algorithms for learning linear

### CS 688 Pattern Recognition Lecture 4. Linear Models for Classification

CS 688 Pattern Recognition Lecture 4 Linear Models for Classification Probabilistic generative models Probabilistic discriminative models 1 Generative Approach ( x ) p C k p( C k ) Ck p ( ) ( x Ck ) p(

### NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

Chapter 340 Principal Components Regression Introduction is a technique for analyzing multiple regression data that suffer from multicollinearity. When multicollinearity occurs, least squares estimates

### Generalized Linear Models. Today: definition of GLM, maximum likelihood estimation. Involves choice of a link function (systematic component)

Generalized Linear Models Last time: definition of exponential family, derivation of mean and variance (memorize) Today: definition of GLM, maximum likelihood estimation Include predictors x i through

### 11. Analysis of Case-control Studies Logistic Regression

Research methods II 113 11. Analysis of Case-control Studies Logistic Regression This chapter builds upon and further develops the concepts and strategies described in Ch.6 of Mother and Child Health:

### Statistics in Retail Finance. Chapter 2: Statistical models of default

Statistics in Retail Finance 1 Overview > We consider how to build statistical models of default, or delinquency, and how such models are traditionally used for credit application scoring and decision

### Wes, Delaram, and Emily MA751. Exercise 4.5. 1 p(x; β) = [1 p(xi ; β)] = 1 p(x. y i [βx i ] log [1 + exp {βx i }].

Wes, Delaram, and Emily MA75 Exercise 4.5 Consider a two-class logistic regression problem with x R. Characterize the maximum-likelihood estimates of the slope and intercept parameter if the sample for

### SAS Software to Fit the Generalized Linear Model

SAS Software to Fit the Generalized Linear Model Gordon Johnston, SAS Institute Inc., Cary, NC Abstract In recent years, the class of generalized linear models has gained popularity as a statistical modeling

### Linear Classification. Volker Tresp Summer 2015

Linear Classification Volker Tresp Summer 2015 1 Classification Classification is the central task of pattern recognition Sensors supply information about an object: to which class do the object belong

### PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 4: LINEAR MODELS FOR CLASSIFICATION

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 4: LINEAR MODELS FOR CLASSIFICATION Introduction In the previous chapter, we explored a class of regression models having particularly simple analytical

### Generalized Linear Models

Generalized Linear Models We have previously worked with regression models where the response variable is quantitative and normally distributed. Now we turn our attention to two types of models where the

### Chapter 13 Introduction to Nonlinear Regression( 非 線 性 迴 歸 )

Chapter 13 Introduction to Nonlinear Regression( 非 線 性 迴 歸 ) and Neural Networks( 類 神 經 網 路 ) 許 湘 伶 Applied Linear Regression Models (Kutner, Nachtsheim, Neter, Li) hsuhl (NUK) LR Chap 10 1 / 35 13 Examples

### The Probit Link Function in Generalized Linear Models for Data Mining Applications

Journal of Modern Applied Statistical Methods Copyright 2013 JMASM, Inc. May 2013, Vol. 12, No. 1, 164-169 1538 9472/13/\$95.00 The Probit Link Function in Generalized Linear Models for Data Mining Applications

### Multiple Linear Regression in Data Mining

Multiple Linear Regression in Data Mining Contents 2.1. A Review of Multiple Linear Regression 2.2. Illustration of the Regression Process 2.3. Subset Selection in Linear Regression 1 2 Chap. 2 Multiple

### Multivariate Logistic Regression

1 Multivariate Logistic Regression As in univariate logistic regression, let π(x) represent the probability of an event that depends on p covariates or independent variables. Then, using an inv.logit formulation

### Notes on Factoring. MA 206 Kurt Bryan

The General Approach Notes on Factoring MA 26 Kurt Bryan Suppose I hand you n, a 2 digit integer and tell you that n is composite, with smallest prime factor around 5 digits. Finding a nontrivial factor

### , then the form of the model is given by: which comprises a deterministic component involving the three regression coefficients (

Multiple regression Introduction Multiple regression is a logical extension of the principles of simple linear regression to situations in which there are several predictor variables. For instance if we

### Multivariate Normal Distribution

Multivariate Normal Distribution Lecture 4 July 21, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2 Lecture #4-7/21/2011 Slide 1 of 41 Last Time Matrices and vectors Eigenvalues

### Senior Secondary Australian Curriculum

Senior Secondary Australian Curriculum Mathematical Methods Glossary Unit 1 Functions and graphs Asymptote A line is an asymptote to a curve if the distance between the line and the curve approaches zero

### Spatial Statistics Chapter 3 Basics of areal data and areal data modeling

Spatial Statistics Chapter 3 Basics of areal data and areal data modeling Recall areal data also known as lattice data are data Y (s), s D where D is a discrete index set. This usually corresponds to data

### Logistic Regression. Vibhav Gogate The University of Texas at Dallas. Some Slides from Carlos Guestrin, Luke Zettlemoyer and Dan Weld.

Logistic Regression Vibhav Gogate The University of Texas at Dallas Some Slides from Carlos Guestrin, Luke Zettlemoyer and Dan Weld. Generative vs. Discriminative Classifiers Want to Learn: h:x Y X features

### Standard errors of marginal effects in the heteroskedastic probit model

Standard errors of marginal effects in the heteroskedastic probit model Thomas Cornelißen Discussion Paper No. 320 August 2005 ISSN: 0949 9962 Abstract In non-linear regression models, such as the heteroskedastic

### Nominal and ordinal logistic regression

Nominal and ordinal logistic regression April 26 Nominal and ordinal logistic regression Our goal for today is to briefly go over ways to extend the logistic regression model to the case where the outcome

### Using the Delta Method to Construct Confidence Intervals for Predicted Probabilities, Rates, and Discrete Changes

Using the Delta Method to Construct Confidence Intervals for Predicted Probabilities, Rates, Discrete Changes JunXuJ.ScottLong Indiana University August 22, 2005 The paper provides technical details on

### Ordinary Least Squares and Poisson Regression Models by Luc Anselin University of Illinois Champaign-Urbana, IL

Appendix C Ordinary Least Squares and Poisson Regression Models by Luc Anselin University of Illinois Champaign-Urbana, IL This note provides a brief description of the statistical background, estimators

### Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written

### VI. Introduction to Logistic Regression

VI. Introduction to Logistic Regression We turn our attention now to the topic of modeling a categorical outcome as a function of (possibly) several factors. The framework of generalized linear models

### It is important to bear in mind that one of the first three subscripts is redundant since k = i -j +3.

IDENTIFICATION AND ESTIMATION OF AGE, PERIOD AND COHORT EFFECTS IN THE ANALYSIS OF DISCRETE ARCHIVAL DATA Stephen E. Fienberg, University of Minnesota William M. Mason, University of Michigan 1. INTRODUCTION

### CSCI567 Machine Learning (Fall 2014)

CSCI567 Machine Learning (Fall 2014) Drs. Sha & Liu {feisha,yanliu.cs}@usc.edu September 22, 2014 Drs. Sha & Liu ({feisha,yanliu.cs}@usc.edu) CSCI567 Machine Learning (Fall 2014) September 22, 2014 1 /

### Multinomial and Ordinal Logistic Regression

Multinomial and Ordinal Logistic Regression ME104: Linear Regression Analysis Kenneth Benoit August 22, 2012 Regression with categorical dependent variables When the dependent variable is categorical,

### CHAPTER 2 Estimating Probabilities

CHAPTER 2 Estimating Probabilities Machine Learning Copyright c 2016. Tom M. Mitchell. All rights reserved. *DRAFT OF January 24, 2016* *PLEASE DO NOT DISTRIBUTE WITHOUT AUTHOR S PERMISSION* This is a

### Lecture 14: GLM Estimation and Logistic Regression

Lecture 14: GLM Estimation and Logistic Regression Dipankar Bandyopadhyay, Ph.D. BMTRY 711: Analysis of Categorical Data Spring 2011 Division of Biostatistics and Epidemiology Medical University of South

### Package EstCRM. July 13, 2015

Version 1.4 Date 2015-7-11 Package EstCRM July 13, 2015 Title Calibrating Parameters for the Samejima's Continuous IRT Model Author Cengiz Zopluoglu Maintainer Cengiz Zopluoglu

### CCNY. BME I5100: Biomedical Signal Processing. Linear Discrimination. Lucas C. Parra Biomedical Engineering Department City College of New York

BME I5100: Biomedical Signal Processing Linear Discrimination Lucas C. Parra Biomedical Engineering Department CCNY 1 Schedule Week 1: Introduction Linear, stationary, normal - the stuff biology is not

### Reject Inference in Credit Scoring. Jie-Men Mok

Reject Inference in Credit Scoring Jie-Men Mok BMI paper January 2009 ii Preface In the Master programme of Business Mathematics and Informatics (BMI), it is required to perform research on a business

### Appendix G STATISTICAL METHODS INFECTIOUS METHODS STATISTICAL ROADMAP. Prepared in Support of: CDC/NCEH Cross Sectional Assessment Study.

Appendix G STATISTICAL METHODS INFECTIOUS METHODS STATISTICAL ROADMAP Prepared in Support of: CDC/NCEH Cross Sectional Assessment Study Prepared by: Centers for Disease Control and Prevention National

### Maximum Likelihood Estimation

Math 541: Statistical Theory II Lecturer: Songfeng Zheng Maximum Likelihood Estimation 1 Maximum Likelihood Estimation Maximum likelihood is a relatively simple method of constructing an estimator for

### Chapter 6: Multivariate Cointegration Analysis

Chapter 6: Multivariate Cointegration Analysis 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie VI. Multivariate Cointegration

### Computer exercise 4 Poisson Regression

Chalmers-University of Gothenburg Department of Mathematical Sciences Probability, Statistics and Risk MVE300 Computer exercise 4 Poisson Regression When dealing with two or more variables, the functional

### Penalized Logistic Regression and Classification of Microarray Data

Penalized Logistic Regression and Classification of Microarray Data Milan, May 2003 Anestis Antoniadis Laboratoire IMAG-LMC University Joseph Fourier Grenoble, France Penalized Logistic Regression andclassification

### Auxiliary Variables in Mixture Modeling: 3-Step Approaches Using Mplus

Auxiliary Variables in Mixture Modeling: 3-Step Approaches Using Mplus Tihomir Asparouhov and Bengt Muthén Mplus Web Notes: No. 15 Version 8, August 5, 2014 1 Abstract This paper discusses alternatives

### D-optimal plans in observational studies

D-optimal plans in observational studies Constanze Pumplün Stefan Rüping Katharina Morik Claus Weihs October 11, 2005 Abstract This paper investigates the use of Design of Experiments in observational

### GLM, insurance pricing & big data: paying attention to convergence issues.

GLM, insurance pricing & big data: paying attention to convergence issues. Michaël NOACK - michael.noack@addactis.com Senior consultant & Manager of ADDACTIS Pricing Copyright 2014 ADDACTIS Worldwide.

### Machine Learning and Pattern Recognition Logistic Regression

Machine Learning and Pattern Recognition Logistic Regression Course Lecturer:Amos J Storkey Institute for Adaptive and Neural Computation School of Informatics University of Edinburgh Crichton Street,

### Econometrics Simple Linear Regression

Econometrics Simple Linear Regression Burcu Eke UC3M Linear equations with one variable Recall what a linear equation is: y = b 0 + b 1 x is a linear equation with one variable, or equivalently, a straight

### Models for Count Data With Overdispersion

Models for Count Data With Overdispersion Germán Rodríguez November 6, 2013 Abstract This addendum to the WWS 509 notes covers extra-poisson variation and the negative binomial model, with brief appearances

### Regression 3: Logistic Regression

Regression 3: Logistic Regression Marco Baroni Practical Statistics in R Outline Logistic regression Logistic regression in R Outline Logistic regression Introduction The model Looking at and comparing

### Overview Classes. 12-3 Logistic regression (5) 19-3 Building and applying logistic regression (6) 26-3 Generalizations of logistic regression (7)

Overview Classes 12-3 Logistic regression (5) 19-3 Building and applying logistic regression (6) 26-3 Generalizations of logistic regression (7) 2-4 Loglinear models (8) 5-4 15-17 hrs; 5B02 Building and

### Logistic Regression. Introduction. The Purpose Of Logistic Regression

Logistic Regression...1 Introduction...1 The Purpose Of Logistic Regression...1 Assumptions Of Logistic Regression...2 The Logistic Regression Equation...3 Interpreting Log Odds And The Odds Ratio...4

### Pattern Analysis. Logistic Regression. 12. Mai 2009. Joachim Hornegger. Chair of Pattern Recognition Erlangen University

Pattern Analysis Logistic Regression 12. Mai 2009 Joachim Hornegger Chair of Pattern Recognition Erlangen University Pattern Analysis 2 / 43 1 Logistic Regression Posteriors and the Logistic Function Decision

### Introduction to General and Generalized Linear Models

Introduction to General and Generalized Linear Models General Linear Models - part I Henrik Madsen Poul Thyregod Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby

### 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

### Notes for STA 437/1005 Methods for Multivariate Data

Notes for STA 437/1005 Methods for Multivariate Data Radford M. Neal, 26 November 2010 Random Vectors Notation: Let X be a random vector with p elements, so that X = [X 1,..., X p ], where denotes transpose.

### MATH4427 Notebook 2 Spring 2016. 2 MATH4427 Notebook 2 3. 2.1 Definitions and Examples... 3. 2.2 Performance Measures for Estimators...

MATH4427 Notebook 2 Spring 2016 prepared by Professor Jenny Baglivo c Copyright 2009-2016 by Jenny A. Baglivo. All Rights Reserved. Contents 2 MATH4427 Notebook 2 3 2.1 Definitions and Examples...................................

### Logistic Regression for Data Mining and High-Dimensional Classification

Logistic Regression for Data Mining and High-Dimensional Classification Paul Komarek Dept. of Math Sciences Carnegie Mellon University komarek@cmu.edu Advised by Andrew Moore School of Computer Science

### Statistics in Retail Finance. Chapter 6: Behavioural models

Statistics in Retail Finance 1 Overview > So far we have focussed mainly on application scorecards. In this chapter we shall look at behavioural models. We shall cover the following topics:- Behavioural

### NON-LIFE INSURANCE PRICING USING THE GENERALIZED ADDITIVE MODEL, SMOOTHING SPLINES AND L-CURVES

NON-LIFE INSURANCE PRICING USING THE GENERALIZED ADDITIVE MODEL, SMOOTHING SPLINES AND L-CURVES Kivan Kaivanipour A thesis submitted for the degree of Master of Science in Engineering Physics Department

### Credit Risk Analysis Using Logistic Regression Modeling

Credit Risk Analysis Using Logistic Regression Modeling Introduction A loan officer at a bank wants to be able to identify characteristics that are indicative of people who are likely to default on loans,

### Categorical Data Analysis

Richard L. Scheaffer University of Florida The reference material and many examples for this section are based on Chapter 8, Analyzing Association Between Categorical Variables, from Statistical Methods

### STA 4273H: Statistical Machine Learning

STA 4273H: Statistical Machine Learning Russ Salakhutdinov Department of Statistics! rsalakhu@utstat.toronto.edu! http://www.cs.toronto.edu/~rsalakhu/ Lecture 6 Three Approaches to Classification Construct

### Gamma Distribution Fitting

Chapter 552 Gamma Distribution Fitting Introduction This module fits the gamma probability distributions to a complete or censored set of individual or grouped data values. It outputs various statistics

### CREDIT SCORING MODEL APPLICATIONS:

Örebro University Örebro University School of Business Master in Applied Statistics Thomas Laitila Sune Karlsson May, 2014 CREDIT SCORING MODEL APPLICATIONS: TESTING MULTINOMIAL TARGETS Gabriela De Rossi

### From the help desk: Bootstrapped standard errors

The Stata Journal (2003) 3, Number 1, pp. 71 80 From the help desk: Bootstrapped standard errors Weihua Guan Stata Corporation Abstract. Bootstrapping is a nonparametric approach for evaluating the distribution

### The Exponential Family

The Exponential Family David M. Blei Columbia University November 3, 2015 Definition A probability density in the exponential family has this form where p.x j / D h.x/ expf > t.x/ a./g; (1) is the natural

### 5. Linear Regression

5. Linear Regression Outline.................................................................... 2 Simple linear regression 3 Linear model............................................................. 4

### Simple Predictive Analytics Curtis Seare

Using Excel to Solve Business Problems: Simple Predictive Analytics Curtis Seare Copyright: Vault Analytics July 2010 Contents Section I: Background Information Why use Predictive Analytics? How to use

### Factors affecting online sales

Factors affecting online sales Table of contents Summary... 1 Research questions... 1 The dataset... 2 Descriptive statistics: The exploratory stage... 3 Confidence intervals... 4 Hypothesis tests... 4

### Module 10: Mixed model theory II: Tests and confidence intervals

St@tmaster 02429/MIXED LINEAR MODELS PREPARED BY THE STATISTICS GROUPS AT IMM, DTU AND KU-LIFE Module 10: Mixed model theory II: Tests and confidence intervals 10.1 Notes..................................

### Lecture 19: Conditional Logistic Regression

Lecture 19: Conditional Logistic Regression Dipankar Bandyopadhyay, Ph.D. BMTRY 711: Analysis of Categorical Data Spring 2011 Division of Biostatistics and Epidemiology Medical University of South Carolina

### Least-Squares Intersection of Lines

Least-Squares Intersection of Lines Johannes Traa - UIUC 2013 This write-up derives the least-squares solution for the intersection of lines. In the general case, a set of lines will not intersect at a

### Imputing Missing Data using SAS

ABSTRACT Paper 3295-2015 Imputing Missing Data using SAS Christopher Yim, California Polytechnic State University, San Luis Obispo Missing data is an unfortunate reality of statistics. However, there are

### Dimensionality Reduction: Principal Components Analysis

Dimensionality Reduction: Principal Components Analysis In data mining one often encounters situations where there are a large number of variables in the database. In such situations it is very likely

### C: LEVEL 800 {MASTERS OF ECONOMICS( ECONOMETRICS)}

C: LEVEL 800 {MASTERS OF ECONOMICS( ECONOMETRICS)} 1. EES 800: Econometrics I Simple linear regression and correlation analysis. Specification and estimation of a regression model. Interpretation of regression

### Lecture 18: Logistic Regression Continued

Lecture 18: Logistic Regression Continued Dipankar Bandyopadhyay, Ph.D. BMTRY 711: Analysis of Categorical Data Spring 2011 Division of Biostatistics and Epidemiology Medical University of South Carolina

### Statistics in Geophysics: Linear Regression II

Statistics in Geophysics: Linear Regression II Steffen Unkel Department of Statistics Ludwig-Maximilians-University Munich, Germany Winter Term 2013/14 1/28 Model definition Suppose we have the following

### GLM I An Introduction to Generalized Linear Models

GLM I An Introduction to Generalized Linear Models CAS Ratemaking and Product Management Seminar March 2009 Presented by: Tanya D. Havlicek, Actuarial Assistant 0 ANTITRUST Notice The Casualty Actuarial

### Accurately and Efficiently Measuring Individual Account Credit Risk On Existing Portfolios

Accurately and Efficiently Measuring Individual Account Credit Risk On Existing Portfolios By: Michael Banasiak & By: Daniel Tantum, Ph.D. What Are Statistical Based Behavior Scoring Models And How Are

### Regression Analysis: A Complete Example

Regression Analysis: A Complete Example This section works out an example that includes all the topics we have discussed so far in this chapter. A complete example of regression analysis. PhotoDisc, Inc./Getty

### i=1 In practice, the natural logarithm of the likelihood function, called the log-likelihood function and denoted by

Statistics 580 Maximum Likelihood Estimation Introduction Let y (y 1, y 2,..., y n be a vector of iid, random variables from one of a family of distributions on R n and indexed by a p-dimensional parameter

### 11 Linear and Quadratic Discriminant Analysis, Logistic Regression, and Partial Least Squares Regression

Frank C Porter and Ilya Narsky: Statistical Analysis Techniques in Particle Physics Chap. c11 2013/9/9 page 221 le-tex 221 11 Linear and Quadratic Discriminant Analysis, Logistic Regression, and Partial

### The Delta Method and Applications

Chapter 5 The Delta Method and Applications 5.1 Linear approximations of functions In the simplest form of the central limit theorem, Theorem 4.18, we consider a sequence X 1, X,... of independent and

### Technology Step-by-Step Using StatCrunch

Technology Step-by-Step Using StatCrunch Section 1.3 Simple Random Sampling 1. Select Data, highlight Simulate Data, then highlight Discrete Uniform. 2. Fill in the following window with the appropriate

### Robust Inferences from Random Clustered Samples: Applications Using Data from the Panel Survey of Income Dynamics

Robust Inferences from Random Clustered Samples: Applications Using Data from the Panel Survey of Income Dynamics John Pepper Assistant Professor Department of Economics University of Virginia 114 Rouss

### A Tutorial on Logistic Regression

A Tutorial on Logistic Regression Ying So, SAS Institute Inc., Cary, NC ABSTRACT Many procedures in SAS/STAT can be used to perform logistic regression analysis: CATMOD, GENMOD,LOGISTIC, and PROBIT. Each

### Elementary Statistics Sample Exam #3

Elementary Statistics Sample Exam #3 Instructions. No books or telephones. Only the supplied calculators are allowed. The exam is worth 100 points. 1. A chi square goodness of fit test is considered to

### Parametric Models Part I: Maximum Likelihood and Bayesian Density Estimation

Parametric Models Part I: Maximum Likelihood and Bayesian Density Estimation Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr CS 551, Fall 2015 CS 551, Fall 2015

### Elements of statistics (MATH0487-1)

Elements of statistics (MATH0487-1) Prof. Dr. Dr. K. Van Steen University of Liège, Belgium December 10, 2012 Introduction to Statistics Basic Probability Revisited Sampling Exploratory Data Analysis -

### 15.062 Data Mining: Algorithms and Applications Matrix Math Review

.6 Data Mining: Algorithms and Applications Matrix Math Review The purpose of this document is to give a brief review of selected linear algebra concepts that will be useful for the course and to develop

### Note on the EM Algorithm in Linear Regression Model

International Mathematical Forum 4 2009 no. 38 1883-1889 Note on the M Algorithm in Linear Regression Model Ji-Xia Wang and Yu Miao College of Mathematics and Information Science Henan Normal University

### Linear Models for Continuous Data

Chapter 2 Linear Models for Continuous Data The starting point in our exploration of statistical models in social research will be the classical linear model. Stops along the way include multiple linear

### ANALYSIS, THEORY AND DESIGN OF LOGISTIC REGRESSION CLASSIFIERS USED FOR VERY LARGE SCALE DATA MINING

ANALYSIS, THEORY AND DESIGN OF LOGISTIC REGRESSION CLASSIFIERS USED FOR VERY LARGE SCALE DATA MINING BY OMID ROUHANI-KALLEH THESIS Submitted as partial fulfillment of the requirements for the degree of