Negative Binomial Regression
|
|
- Oswald Harrell
- 6 years ago
- Views:
Transcription
1 STATGRAPHICS Rev. 9/16/2013 Negatve Bnomal Regresson Summary... 1 Data Input... 3 Statstcal Model... 3 Analyss Summary... 4 Analyss Optons... 7 Plot of Ftted Model... 8 Observed Versus Predcted Predctons Confdence Intervals Correlaton Matrx Unusual Resduals Resdual Plots Influental Ponts Save Results Calculatons Summary The Negatve Bnomal Regresson procedure s desgned to ft a regresson model n whch the dependent varable Y conssts of counts. The ftted regresson model relates Y to one or more predctor varables X, whch may be ether quanttatve or categorcal. The procedure fts a model usng ether maxmum lkelhood or weghted least squares. Stepwse selecton of varables s an opton. Lkelhood rato tests are performed to test the sgnfcance of the model coeffcents. The ftted model may be plotted and predctons generated from t. Unusual resduals are dentfed and plotted. Ths procedure s smlar to the Posson Regresson procedure, except that the condtonal varance of Y s allowed to be greater than the mean. It s thus useful for counts that are overdspersed compared to those from a Posson process. Sample StatFolo: Negbn reg.sgp 2013 by StatPont Technologes, Inc. Negatve Bnomal Regresson - 1
2 STATGRAPHICS Rev. 9/16/2013 Sample Data The fle crabs.sgd contans a set of data from a study of horseshoe crabs, reported by Agrest (2002). The data consst of nformaton on n = 173 female horseshoe crabs. A porton of the data s shown below: Satelltes Wdth It was desred to relate the number of Satelltes (male crabs resdng nearby) to the carapace Wdth of the female crabs by StatPont Technologes, Inc. Negatve Bnomal Regresson - 2
3 Data Input The data nput dalog box requests nformaton about the nput varables: STATGRAPHICS Rev. 9/16/2013 Dependent Varable: a numerc varable contanng the n values of dependent varable y. Y must consst of non-negatve nteger counts. (Sample Szes): optonal sample szes t correspondng to each count. If not specfed, all t are set equal to 1. Quanttatve Factors: numerc columns contanng the values of any quanttatve factors to be ncluded n the model. Categorcal Factors: numerc or non-numerc columns contanng the levels of any categorcal factors to be ncluded n the model. Select: subset selecton. Statstcal Model The statstcal model assumed for the data s that the values of the dependent varable Y follow a negatve bnomal dstrbuton of the form 2013 by StatPont Technologes, Inc. Negatve Bnomal Regresson - 3
4 p Y 1 1 ( Y ) Y 1 1 ( 1) ( ) 1 1 Y STATGRAPHICS Rev. 9/16/2013, > 0, 0 (1) where the mean s the product of, the rate at whch events occurs, and the samplng perod t accordng to E(Y) = = t (2) The varance of Y s gven by Var(Y) = (3) If = 0, the negatve bnomal dstrbuton reduces to the Posson dstrbuton. It s further assumed that the rate s related to the predctor varables through a log-lnear lnk functon of the form log 0 1X1 2 X 2... k X k (4) Analyss Summary The Analyss Summary dsplays a table showng the estmated model and tests of sgnfcance for the model coeffcents. Typcal output s shown below: Negatve Bnomal Regresson - Satelltes Dependent varable: Satelltes Factors: Wdth Number of observatons: 173 Estmated Regresson Model (Maxmum Lkelhood) Standard Estmated Parameter Estmate Error Rate Rato CONSTANT Wdth Alpha Analyss of Devance Source Devance Df P-Value Model Resdual Total (corr.) Percentage of devance explaned by model = Adjusted percentage = Lkelhood Rato Tests Factor Ch-Squared Df P-Value Wdth Alpha Resdual Analyss Estmaton n 173 MSE MAE MAPE ME MPE Valdaton 2013 by StatPont Technologes, Inc. Negatve Bnomal Regresson - 4
5 STATGRAPHICS Rev. 9/16/2013 The output ncludes: Data Summary: a summary of the nput data. Estmated Regresson Model: estmates of the coeffcents n the regresson model, wth standard errors and estmated rate ratos. The rate ratos are calculated from the model coeffcents ˆ j by rate rato = ˆ exp (5) j The rate rato represents the percentage ncrease n the rate of events for each unt ncrease n X. Analyss of Devance: decomposton of the devance of the data nto an explaned (Model) component and an unexplaned (Resdual) component. Devance compares the lkelhood functon for a model to the largest value that the lkelhood functon could acheve, n a manner such that a perfect model would have a devance equal to 0. There are 3 lnes n the table: 1. Total (corr.) the devance of a model contanng only a constant term, ( 0 ). 2. Resdual the devance remanng after the model has been ft. 3. Model the reducton n the devance due to the predctor varables, ( 1, 2,, k 0 ), equal to the dfference between the other two components. The P-Value for the Model tests whether the addton of the predctor varables sgnfcantly reduces the devance compared to a model contanng only a constant term. A small P-Value (less than 0.05 f operatng at the 5% sgnfcance level) ndcates that the model has sgnfcantly reduced the devance and s thus a useful for predctor for Y. The P-Value for the Resdual term tests whether there s sgnfcant lack-of-ft,.e., whether a better model may be possble. A small P-value ndcates that sgnfcant devance remans n the resduals, so that a better model mght be possble. Percentage of Devance the percentage of devance explaned by the model, calculated by 0 2 1, 2,..., k 0 R (6) It s smlar to an R-squared statstc n multple regresson, n that t can range from 0% to 100%. An adjusted devance s also computed from R 2 1, 2,..., k 0 2 adj 0 p (7) 2013 by StatPont Technologes, Inc. Negatve Bnomal Regresson - 5
6 STATGRAPHICS Rev. 9/16/2013 where p equals the number of coeffcents n the ftted model, ncludng the constant term. It s smlar to the adjusted R-squared statstc n that t compensates for the number of varables n the model. Lkelhood Rato Tests a test of sgnfcance for each effect n the ftted model, and for the negatve bnomal parameter. The tests for the effects compare the lkelhood functon of the full model to that of the model n whch only the ndcated effect has been dropped. Small P-values ndcate that the model has been mproved sgnfcantly by the correspondng effect. The test for compares the ftted model aganst a Posson regresson model, correspondng to = 0. A small P-Value for that test ndcates that the data are sgnfcantly overdspersed (the varance s greater than the mean). Resdual Analyss f a subset of the rows n the datasheet have been excluded from the analyss usng the Select feld on the data nput dalog box, the ftted model s used to make predctons of the Y values for those rows. Ths table shows statstcs on the predcton errors, defned by e ˆ (8) y Included are the mean squared error (MSE), the mean absolute error (MAE), the mean absolute percentage error (MAPE), the mean error (ME), and the mean percentage error (MPE). These valdaton statstcs can be compared to the statstcs for the ftted model to determne how well that model predcts observatons outsde of the data used to ft t. The ftted model for the sample data s ˆ exp Wdth (9) The regresson explans a lttle more than 8% of the devance of a model wth only a constant. The P-value for Wdth s very small, ndcatng that t s a sgnfcant predctor for Satelltes. The mean and varance of Satelltes are gven by: E( Satelltes) ˆ exp Wdth (10) Var ( Satelltes) ˆ ˆ (11) In addton, the P-value for Alpha s very small, ndcatng that there s sgnfcant overdsperson, so that a Posson model would not be approprate for ths data by StatPont Technologes, Inc. Negatve Bnomal Regresson - 6
7 STATGRAPHICS Rev. 9/16/2013 Analyss Optons Model: order of the model to be ft. Frst order models nclude only man effects. Second order models nclude quadratc effects for quanttatve factors and two-factor nteractons amongst all varables. Include Constant: If ths opton s not checked, the constant term 0 wll be omtted from the model. Ft: specfes whether all ndependent varables specfed on the data nput dalog box should be ncluded n the fnal model, or whether a stepwse selecton of varables should be appled. Stepwse selecton attempts to fnd a parsmonous model that contans only statstcally sgnfcant varables. A Forward Stepwse ft begns wth no varables n the model. A Backward Stepwse ft begns wth all varables n the model. P-to-Enter - In a stepwse ft, varables wll be entered nto the model at a gven step f ther P-values are less than or equal to the P-to-Enter value specfed. P-to-remove - In a stepwse ft, varables wll be removed from the model at a gven step f ther P-values are greater than the P-to-Remove value specfed. Max Steps: maxmum number of steps permtted when dong a stepwse ft. Dsplay: whether to dsplay the results at each step when dong a stepwse ft. Exclude: Press ths button to exclude effects from the model. A dalog box wll be dsplayed: 2013 by StatPont Technologes, Inc. Negatve Bnomal Regresson - 7
8 Satelltes STATGRAPHICS Rev. 9/16/2013 Double clck on an effect to move t from the Include feld to the Exclude feld or back agan. Plot of Ftted Model The Plot of Ftted Model dsplays the estmated mean rate ˆ ( X ) versus any sngle predctor varable, wth the other varables held constant. 15 Plot of Ftted Model wth 95.0% confdence lmts Wdth Confdence lmts for X) are ncluded on the plot. The estmated mean number of satelltes ncreases from a low of approxmately 1 at small wdths to over a dozen at large wdths by StatPont Technologes, Inc. Negatve Bnomal Regresson - 8
9 Pane Optons STATGRAPHICS Rev. 9/16/2013 Factor: select the factor to plot on the horzontal axs. Low and Hgh: specfy the range of values for the selected factor. Hold: values to hold the unselected factors at. Confdence Level: percentage used for the confdence lmts. Set to 0 to suppress the lmts by StatPont Technologes, Inc. Negatve Bnomal Regresson - 9
10 observed STATGRAPHICS Rev. 9/16/2013 Observed Versus Predcted The Observed versus Predcted plot shows the observed values of Y on the vertcal axs and the predcted mean values ˆ on the horzontal axs Plot of Satelltes predcted If the model fts well, the ponts should be randomly scattered around the dagonal lne. Predctons The ftted regresson model may be used to predct the outcome of new samples whose predctor varables are gven. For example, suppose a predcton s desred for a crab wth Wdth = A new row could be added to the datasheet wth 30.3 n the Wdth column, but the entry for Satelltes would be left blank. The Predctons pane would then dsplay: Predctons for Satelltes Observed Ftted Lower 95.0% CL Upper 95.0% CL Row Value Value for Predcton for Predcton The table shows the ftted value ˆ, together wth approxmate 95% confdence ntervals. Pane Optons 2013 by StatPont Technologes, Inc. Negatve Bnomal Regresson - 10
11 STATGRAPHICS Rev. 9/16/2013 Dsplay: dsplay All Values (predctons for all rows n the datasheet), or Forecasts Only (predctons for rows wth mssng values for Y). Confdence Level: percentage used by the confdence ntervals. Confdence Intervals The Confdence Intervals pane shows the potental estmaton error assocated wth each coeffcent n the model, as well as for the rate ratos. 95.0% confdence ntervals for coeffcent estmates Standard Parameter Estmate Error Lower Lmt Upper Lmt CONSTANT Wdth % confdence ntervals for rate ratos Parameter Estmate Lower Lmt Upper Lmt Wdth Pane Optons Confdence Level: percentage level for the confdence ntervals. Correlaton Matrx The Correlaton Matrx dsplays estmates of the correlaton between the estmated coeffcents. Correlaton matrx for coeffcent estmates CONSTANT Wdth CONSTANT Wdth Ths table can be helpful n determnng how well the effects of dfferent ndependent varables have been separated from each other by StatPont Technologes, Inc. Negatve Bnomal Regresson - 11
12 STATGRAPHICS Rev. 9/16/2013 Unusual Resduals Once the model has been ft, t s useful to study the resduals to determne whether any outlers exst that should be removed from the data. The Unusual Resduals pane lsts all observatons that have unusually large resduals. Unusual Resduals for Satelltes Predcted Pearson Devance Row Y Y Resdual Resdual Resdual The table dsplays: Row the row number n the datasheet. Y the observed value of Y. Predcted Y the ftted value ˆ. Resdual the dfference between the observed and predcted values, defned by e ˆ (12) y Pearson Resdual a standardzed resdual n whch each resdual s dvded by an estmate of ts standard error: r (13) e ˆ 1 ˆ ˆ Devance Resdual a resdual that measures each observaton s contrbuton to the resdual devance: y ˆ ln y ˆ / ˆ ˆ y d sgn( r ) 2 y ln (14) ˆ The sum of squared devance resduals equals the devance on the Resduals lne of the analyss of devance table. The table ncludes all rows for whch the absolute value of the Pearson resdual s greater than 2.0. The current example shows 9 resduals that exceed 2.5, 2 of whch exceed by StatPont Technologes, Inc. Negatve Bnomal Regresson - 12
13 autocorrelaton devance resdual STATGRAPHICS Rev. 9/16/2013 Resdual Plots As wth all statstcal models, t s good practce to examne the resduals. The Negatve Bnomal Regresson procedure ncludes varous type of resdual plots, dependng on Pane Optons. Scatterplot versus Predcted Value Ths plot s helpful n examnng very large resduals. 5.1 Resdual Plot predcted Satelltes Resdual Autocorrelatons Ths plot calculates the autocorrelaton between resduals as a functon of the number of rows between them n the datasheet. 1 Resdual Autocorrelatons for Satelltes lag It s only relevant f the data have been collected sequentally. Any bars extendng beyond the probablty lmts would ndcate sgnfcant dependence between resduals separated by the ndcated lag by StatPont Technologes, Inc. Negatve Bnomal Regresson - 13
14 Pane Optons STATGRAPHICS Rev. 9/16/2013 Plot: the type of resduals to plot: 1. Resduals the observed values mnus the ftted values. 2. Studentzed resduals the resduals dvded by ther estmated standard errors. 3. Devance Resduals resduals scaled so that ther sum of squares equals the resdual devance. Type: the type of plot to be created. A Scatterplot s used to test for curvature. A Normal Probablty Plot s used to determne whether the model resduals come from a normal dstrbuton (normalty s not expected n ths procedure). An Autocorrelaton Functon s used to test for dependence between consecutve resduals. Plot Versus: for a Scatterplot, the quantty to plot on the horzontal axs. Number of Lags: for an Autocorrelaton Functon, the maxmum number of lags. For small data sets, the number of lags plotted may be less than ths value. Confdence Level: for an Autocorrelaton Functon, the level used to create the probablty lmts. Influental Ponts In fttng a regresson model, all observatons do not have an equal nfluence on the parameter estmates n the ftted model. Those wth unusual values of the ndependent varables tend to have more nfluence than the others. The Influental Ponts pane dsplays any observatons that have hgh nfluence on the ftted model: 2013 by StatPont Technologes, Inc. Negatve Bnomal Regresson - 14
15 STATGRAPHICS Rev. 9/16/2013 Influental Ponts for Satelltes Row Leverage Average leverage of sngle data pont = The table dsplays all ponts wth hgh leverage. Leverage s a statstc that measures how dstant an observaton s from the mean of all n observatons n the space of the ndependent varables. The hgher the leverage, the greater the mpact of the pont on the ftted values ŷ. Ponts are placed on the lst f ther leverage s more than 3 tmes that of an average data pont. The observaton wth the hghest leverage n the sample data s row #141. It s over 30 tmes the average leverage, whch means t has a large nfluence on the ft by StatPont Technologes, Inc. Negatve Bnomal Regresson - 15
16 STATGRAPHICS Rev. 9/16/2013 Save Results The followng results may be saved to the datasheet: 1. Predcted Values the ftted values ˆ t correspondng to each row of the datasheet. 2. Lower Lmts the lower confdence lmts for ˆ t. 3. Upper Lmts the upper confdence lmts for ˆ t. 4. Resduals the ordnary resduals. 5. Pearson Resduals the standardzed Pearson resduals. 6. Devance Resduals the devance resduals. 7. Leverages the leverages for each row. Calculatons Let = the estmated mean at the settngs of the predctor varables n row. Lkelhood Functon L n 1 1 y 1 y y for 0, 0 (15) Devance n 1 1 ( ˆ ) y ln y ln 1 (16) 1 ˆ ˆ y y Leverage h w 1 dag X X WX X (17) p h (18) n 2013 by StatPont Technologes, Inc. Negatve Bnomal Regresson - 16
Comparison of Regression Lines
STATGRAPHICS Rev. 9/13/2013 Comparson of Regresson Lnes Summary... 1 Data Input... 3 Analyss Summary... 4 Plot of Ftted Model... 6 Condtonal Sums of Squares... 6 Analyss Optons... 7 Forecasts... 8 Confdence
More informationChapter 13: Multiple Regression
Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to
More informationGeneral Linear Models
General Lnear Models Revsed: 10/10/2017 Summary... 2 Analyss Summary... 6 Analyss Optons... 10 Model Coeffcents... 11 Scatterplot... 14 Table of Means... 15 Means Plot... 16 Interacton Plot... 19 Multple
More informationStatistics for Economics & Business
Statstcs for Economcs & Busness Smple Lnear Regresson Learnng Objectves In ths chapter, you learn: How to use regresson analyss to predct the value of a dependent varable based on an ndependent varable
More informationChapter 11: Simple Linear Regression and Correlation
Chapter 11: Smple Lnear Regresson and Correlaton 11-1 Emprcal Models 11-2 Smple Lnear Regresson 11-3 Propertes of the Least Squares Estmators 11-4 Hypothess Test n Smple Lnear Regresson 11-4.1 Use of t-tests
More informationStatistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation
Statstcs for Managers Usng Mcrosoft Excel/SPSS Chapter 13 The Smple Lnear Regresson Model and Correlaton 1999 Prentce-Hall, Inc. Chap. 13-1 Chapter Topcs Types of Regresson Models Determnng the Smple Lnear
More information[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students.
PPOL 59-3 Problem Set Exercses n Smple Regresson Due n class /8/7 In ths problem set, you are asked to compute varous statstcs by hand to gve you a better sense of the mechancs of the Pearson correlaton
More informationDepartment of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6
Department of Quanttatve Methods & Informaton Systems Tme Seres and Ther Components QMIS 30 Chapter 6 Fall 00 Dr. Mohammad Zanal These sldes were modfed from ther orgnal source for educatonal purpose only.
More informationStatistics MINITAB - Lab 2
Statstcs 20080 MINITAB - Lab 2 1. Smple Lnear Regresson In smple lnear regresson we attempt to model a lnear relatonshp between two varables wth a straght lne and make statstcal nferences concernng that
More informationChapter 14 Simple Linear Regression
Chapter 4 Smple Lnear Regresson Chapter 4 - Smple Lnear Regresson Manageral decsons often are based on the relatonshp between two or more varables. Regresson analss can be used to develop an equaton showng
More informationChapter 9: Statistical Inference and the Relationship between Two Variables
Chapter 9: Statstcal Inference and the Relatonshp between Two Varables Key Words The Regresson Model The Sample Regresson Equaton The Pearson Correlaton Coeffcent Learnng Outcomes After studyng ths chapter,
More informationBasic Business Statistics, 10/e
Chapter 13 13-1 Basc Busness Statstcs 11 th Edton Chapter 13 Smple Lnear Regresson Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc. Chap 13-1 Learnng Objectves In ths chapter, you learn: How to use regresson
More informationDiagnostics in Poisson Regression. Models - Residual Analysis
Dagnostcs n Posson Regresson Models - Resdual Analyss 1 Outlne Dagnostcs n Posson Regresson Models - Resdual Analyss Example 3: Recall of Stressful Events contnued 2 Resdual Analyss Resduals represent
More informationSTAT 511 FINAL EXAM NAME Spring 2001
STAT 5 FINAL EXAM NAME Sprng Instructons: Ths s a closed book exam. No notes or books are allowed. ou may use a calculator but you are not allowed to store notes or formulas n the calculator. Please wrte
More informationStatistics for Managers Using Microsoft Excel/SPSS Chapter 14 Multiple Regression Models
Statstcs for Managers Usng Mcrosoft Excel/SPSS Chapter 14 Multple Regresson Models 1999 Prentce-Hall, Inc. Chap. 14-1 Chapter Topcs The Multple Regresson Model Contrbuton of Indvdual Independent Varables
More informationChap 10: Diagnostics, p384
Chap 10: Dagnostcs, p384 Multcollnearty 10.5 p406 Defnton Multcollnearty exsts when two or more ndependent varables used n regresson are moderately or hghly correlated. - when multcollnearty exsts, regresson
More informationPsychology 282 Lecture #24 Outline Regression Diagnostics: Outliers
Psychology 282 Lecture #24 Outlne Regresson Dagnostcs: Outlers In an earler lecture we studed the statstcal assumptons underlyng the regresson model, ncludng the followng ponts: Formal statement of assumptons.
More informationis the calculated value of the dependent variable at point i. The best parameters have values that minimize the squares of the errors
Multple Lnear and Polynomal Regresson wth Statstcal Analyss Gven a set of data of measured (or observed) values of a dependent varable: y versus n ndependent varables x 1, x, x n, multple lnear regresson
More informationSPANC -- SPlitpole ANalysis Code User Manual
Functonal Descrpton of Code SPANC -- SPltpole ANalyss Code User Manual Author: Dale Vsser Date: 14 January 00 Spanc s a code created by Dale Vsser for easer calbratons of poston spectra from magnetc spectrometer
More informationY = β 0 + β 1 X 1 + β 2 X β k X k + ε
Chapter 3 Secton 3.1 Model Assumptons: Multple Regresson Model Predcton Equaton Std. Devaton of Error Correlaton Matrx Smple Lnear Regresson: 1.) Lnearty.) Constant Varance 3.) Independent Errors 4.) Normalty
More informationSee Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition)
Count Data Models See Book Chapter 11 2 nd Edton (Chapter 10 1 st Edton) Count data consst of non-negatve nteger values Examples: number of drver route changes per week, the number of trp departure changes
More informationStatistics for Business and Economics
Statstcs for Busness and Economcs Chapter 11 Smple Regresson Copyrght 010 Pearson Educaton, Inc. Publshng as Prentce Hall Ch. 11-1 11.1 Overvew of Lnear Models n An equaton can be ft to show the best lnear
More informationANSWERS CHAPTER 9. TIO 9.2: If the values are the same, the difference is 0, therefore the null hypothesis cannot be rejected.
ANSWERS CHAPTER 9 THINK IT OVER thnk t over TIO 9.: χ 2 k = ( f e ) = 0 e Breakng the equaton down: the test statstc for the ch-squared dstrbuton s equal to the sum over all categores of the expected frequency
More informationwhere I = (n x n) diagonal identity matrix with diagonal elements = 1 and off-diagonal elements = 0; and σ 2 e = variance of (Y X).
11.4.1 Estmaton of Multple Regresson Coeffcents In multple lnear regresson, we essentally solve n equatons for the p unnown parameters. hus n must e equal to or greater than p and n practce n should e
More informationChapter 15 - Multiple Regression
Chapter - Multple Regresson Chapter - Multple Regresson Multple Regresson Model The equaton that descrbes how the dependent varable y s related to the ndependent varables x, x,... x p and an error term
More informationSTAT 3008 Applied Regression Analysis
STAT 3008 Appled Regresson Analyss Tutoral : Smple Lnear Regresson LAI Chun He Department of Statstcs, The Chnese Unversty of Hong Kong 1 Model Assumpton To quantfy the relatonshp between two factors,
More informationSTATISTICS QUESTIONS. Step by Step Solutions.
STATISTICS QUESTIONS Step by Step Solutons www.mathcracker.com 9//016 Problem 1: A researcher s nterested n the effects of famly sze on delnquency for a group of offenders and examnes famles wth one to
More informationJanuary Examinations 2015
24/5 Canddates Only January Examnatons 25 DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR STUDENT CANDIDATE NO.. Department Module Code Module Ttle Exam Duraton (n words)
More informationPolynomial Regression Models
LINEAR REGRESSION ANALYSIS MODULE XII Lecture - 6 Polynomal Regresson Models Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Test of sgnfcance To test the sgnfcance
More informationChapter 14 Simple Linear Regression Page 1. Introduction to regression analysis 14-2
Chapter 4 Smple Lnear Regresson Page. Introducton to regresson analyss 4- The Regresson Equaton. Lnear Functons 4-4 3. Estmaton and nterpretaton of model parameters 4-6 4. Inference on the model parameters
More informationx yi In chapter 14, we want to perform inference (i.e. calculate confidence intervals and perform tests of significance) in this setting.
The Practce of Statstcs, nd ed. Chapter 14 Inference for Regresson Introducton In chapter 3 we used a least-squares regresson lne (LSRL) to represent a lnear relatonshp etween two quanttatve explanator
More informationLecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 212. Chapters 14, 15 & 16. Professor Ahmadi, Ph.D. Department of Management
Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 1 Chapters 14, 15 & 16 Professor Ahmad, Ph.D. Department of Management Revsed August 005 Chapter 14 Formulas Smple Lnear Regresson Model: y =
More informationChapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.
Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where y + = β + β e for =,..., y and are observable varables e s a random error How can an estmaton rule be constructed for the
More information/ n ) are compared. The logic is: if the two
STAT C141, Sprng 2005 Lecture 13 Two sample tests One sample tests: examples of goodness of ft tests, where we are testng whether our data supports predctons. Two sample tests: called as tests of ndependence
More informationNANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION MTH352/MH3510 Regression Analysis
NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION 014-015 MTH35/MH3510 Regresson Analyss December 014 TIME ALLOWED: HOURS INSTRUCTIONS TO CANDIDATES 1. Ths examnaton paper contans FOUR (4) questons
More informationLecture 6: Introduction to Linear Regression
Lecture 6: Introducton to Lnear Regresson An Manchakul amancha@jhsph.edu 24 Aprl 27 Lnear regresson: man dea Lnear regresson can be used to study an outcome as a lnear functon of a predctor Example: 6
More informationLearning Objectives for Chapter 11
Chapter : Lnear Regresson and Correlaton Methods Hldebrand, Ott and Gray Basc Statstcal Ideas for Managers Second Edton Learnng Objectves for Chapter Usng the scatterplot n regresson analyss Usng the method
More informationIntroduction to Regression
Introducton to Regresson Dr Tom Ilvento Department of Food and Resource Economcs Overvew The last part of the course wll focus on Regresson Analyss Ths s one of the more powerful statstcal technques Provdes
More informationChapter 15 Student Lecture Notes 15-1
Chapter 15 Student Lecture Notes 15-1 Basc Busness Statstcs (9 th Edton) Chapter 15 Multple Regresson Model Buldng 004 Prentce-Hall, Inc. Chap 15-1 Chapter Topcs The Quadratc Regresson Model Usng Transformatons
More informationComposite Hypotheses testing
Composte ypotheses testng In many hypothess testng problems there are many possble dstrbutons that can occur under each of the hypotheses. The output of the source s a set of parameters (ponts n a parameter
More informationResource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis
Resource Allocaton and Decson Analss (ECON 800) Sprng 04 Foundatons of Regresson Analss Readng: Regresson Analss (ECON 800 Coursepak, Page 3) Defntons and Concepts: Regresson Analss statstcal technques
More informationUnit 10: Simple Linear Regression and Correlation
Unt 10: Smple Lnear Regresson and Correlaton Statstcs 571: Statstcal Methods Ramón V. León 6/28/2004 Unt 10 - Stat 571 - Ramón V. León 1 Introductory Remarks Regresson analyss s a method for studyng the
More informationPredictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore
Sesson Outlne Introducton to classfcaton problems and dscrete choce models. Introducton to Logstcs Regresson. Logstc functon and Logt functon. Maxmum Lkelhood Estmator (MLE) for estmaton of LR parameters.
More informationLecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding
Recall: man dea of lnear regresson Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 8 Lnear regresson can be used to study an
More informationLecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding
Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 008 Recall: man dea of lnear regresson Lnear regresson can be used to study
More informationx i1 =1 for all i (the constant ).
Chapter 5 The Multple Regresson Model Consder an economc model where the dependent varable s a functon of K explanatory varables. The economc model has the form: y = f ( x,x,..., ) xk Approxmate ths by
More information28. SIMPLE LINEAR REGRESSION III
8. SIMPLE LINEAR REGRESSION III Ftted Values and Resduals US Domestc Beers: Calores vs. % Alcohol To each observed x, there corresponds a y-value on the ftted lne, y ˆ = βˆ + βˆ x. The are called ftted
More informationEcon107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)
I. Classcal Assumptons Econ7 Appled Econometrcs Topc 3: Classcal Model (Studenmund, Chapter 4) We have defned OLS and studed some algebrac propertes of OLS. In ths topc we wll study statstcal propertes
More informatione i is a random error
Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where + β + β e for,..., and are observable varables e s a random error How can an estmaton rule be constructed for the unknown
More informationLinear Regression Analysis: Terminology and Notation
ECON 35* -- Secton : Basc Concepts of Regresson Analyss (Page ) Lnear Regresson Analyss: Termnology and Notaton Consder the generc verson of the smple (two-varable) lnear regresson model. It s represented
More informationSTAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression
STAT 45 BIOSTATISTICS (Fall 26) Handout 5 Introducton to Logstc Regresson Ths handout covers materal found n Secton 3.7 of your text. You may also want to revew regresson technques n Chapter. In ths handout,
More informationANOVA. The Observations y ij
ANOVA Stands for ANalyss Of VArance But t s a test of dfferences n means The dea: The Observatons y j Treatment group = 1 = 2 = k y 11 y 21 y k,1 y 12 y 22 y k,2 y 1, n1 y 2, n2 y k, nk means: m 1 m 2
More informationDO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes
25/6 Canddates Only January Examnatons 26 Student Number: Desk Number:...... DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR Department Module Code Module Ttle Exam Duraton
More informationCorrelation and Regression. Correlation 9.1. Correlation. Chapter 9
Chapter 9 Correlaton and Regresson 9. Correlaton Correlaton A correlaton s a relatonshp between two varables. The data can be represented b the ordered pars (, ) where s the ndependent (or eplanator) varable,
More informationReminder: Nested models. Lecture 9: Interactions, Quadratic terms and Splines. Effect Modification. Model 1
Lecture 9: Interactons, Quadratc terms and Splnes An Manchakul amancha@jhsph.edu 3 Aprl 7 Remnder: Nested models Parent model contans one set of varables Extended model adds one or more new varables to
More informationLecture 2: Prelude to the big shrink
Lecture 2: Prelude to the bg shrnk Last tme A slght detour wth vsualzaton tools (hey, t was the frst day... why not start out wth somethng pretty to look at?) Then, we consdered a smple 120a-style regresson
More informationJAB Chain. Long-tail claims development. ASTIN - September 2005 B.Verdier A. Klinger
JAB Chan Long-tal clams development ASTIN - September 2005 B.Verder A. Klnger Outlne Chan Ladder : comments A frst soluton: Munch Chan Ladder JAB Chan Chan Ladder: Comments Black lne: average pad to ncurred
More informationx = , so that calculated
Stat 4, secton Sngle Factor ANOVA notes by Tm Plachowsk n chapter 8 we conducted hypothess tests n whch we compared a sngle sample s mean or proporton to some hypotheszed value Chapter 9 expanded ths to
More informationInterval Estimation in the Classical Normal Linear Regression Model. 1. Introduction
ECONOMICS 35* -- NOTE 7 ECON 35* -- NOTE 7 Interval Estmaton n the Classcal Normal Lnear Regresson Model Ths note outlnes the basc elements of nterval estmaton n the Classcal Normal Lnear Regresson Model
More informationa. (All your answers should be in the letter!
Econ 301 Blkent Unversty Taskn Econometrcs Department of Economcs Md Term Exam I November 8, 015 Name For each hypothess testng n the exam complete the followng steps: Indcate the test statstc, ts crtcal
More informationLINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity
LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 30 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 2 Remedes for multcollnearty Varous technques have
More informationECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics
ECOOMICS 35*-A Md-Term Exam -- Fall Term 000 Page of 3 pages QUEE'S UIVERSITY AT KIGSTO Department of Economcs ECOOMICS 35* - Secton A Introductory Econometrcs Fall Term 000 MID-TERM EAM ASWERS MG Abbott
More informationRegression Analysis. Regression Analysis
Regresson Analyss Smple Regresson Multvarate Regresson Stepwse Regresson Replcaton and Predcton Error 1 Regresson Analyss In general, we "ft" a model by mnmzng a metrc that represents the error. n mn (y
More information17 - LINEAR REGRESSION II
Topc 7 Lnear Regresson II 7- Topc 7 - LINEAR REGRESSION II Testng and Estmaton Inferences about β Recall that we estmate Yˆ ˆ β + ˆ βx. 0 μ Y X x β0 + βx usng To estmate σ σ squared error Y X x ε s ε we
More information18. SIMPLE LINEAR REGRESSION III
8. SIMPLE LINEAR REGRESSION III US Domestc Beers: Calores vs. % Alcohol Ftted Values and Resduals To each observed x, there corresponds a y-value on the ftted lne, y ˆ ˆ = α + x. The are called ftted values.
More informationβ0 + β1xi. You are interested in estimating the unknown parameters β
Ordnary Least Squares (OLS): Smple Lnear Regresson (SLR) Analytcs The SLR Setup Sample Statstcs Ordnary Least Squares (OLS): FOCs and SOCs Back to OLS and Sample Statstcs Predctons (and Resduals) wth OLS
More informationEconomics 130. Lecture 4 Simple Linear Regression Continued
Economcs 130 Lecture 4 Contnued Readngs for Week 4 Text, Chapter and 3. We contnue wth addressng our second ssue + add n how we evaluate these relatonshps: Where do we get data to do ths analyss? How do
More informationHydrological statistics. Hydrological statistics and extremes
5--0 Stochastc Hydrology Hydrologcal statstcs and extremes Marc F.P. Berkens Professor of Hydrology Faculty of Geoscences Hydrologcal statstcs Mostly concernes wth the statstcal analyss of hydrologcal
More informationFirst Year Examination Department of Statistics, University of Florida
Frst Year Examnaton Department of Statstcs, Unversty of Florda May 7, 010, 8:00 am - 1:00 noon Instructons: 1. You have four hours to answer questons n ths examnaton.. You must show your work to receve
More informationDepartment of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution
Department of Statstcs Unversty of Toronto STA35HS / HS Desgn and Analyss of Experments Term Test - Wnter - Soluton February, Last Name: Frst Name: Student Number: Instructons: Tme: hours. Ads: a non-programmable
More information1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands
Content. Inference on Regresson Parameters a. Fndng Mean, s.d and covarance amongst estmates.. Confdence Intervals and Workng Hotellng Bands 3. Cochran s Theorem 4. General Lnear Testng 5. Measures of
More information2016 Wiley. Study Session 2: Ethical and Professional Standards Application
6 Wley Study Sesson : Ethcal and Professonal Standards Applcaton LESSON : CORRECTION ANALYSIS Readng 9: Correlaton and Regresson LOS 9a: Calculate and nterpret a sample covarance and a sample correlaton
More informationLecture 4 Hypothesis Testing
Lecture 4 Hypothess Testng We may wsh to test pror hypotheses about the coeffcents we estmate. We can use the estmates to test whether the data rejects our hypothess. An example mght be that we wsh to
More informationMeta-Analysis of Correlated Proportions
NCSS Statstcal Softare Chapter 457 Meta-Analyss of Correlated Proportons Introducton Ths module performs a meta-analyss of a set of correlated, bnary-event studes. These studes usually come from a desgn
More informationIntroduction to Generalized Linear Models
INTRODUCTION TO STATISTICAL MODELLING TRINITY 00 Introducton to Generalzed Lnear Models I. Motvaton In ths lecture we extend the deas of lnear regresson to the more general dea of a generalzed lnear model
More informationBiostatistics 360 F&t Tests and Intervals in Regression 1
Bostatstcs 360 F&t Tests and Intervals n Regresson ORIGIN Model: Y = X + Corrected Sums of Squares: X X bar where: s the y ntercept of the regresson lne (translaton) s the slope of the regresson lne (scalng
More informationPubH 7405: REGRESSION ANALYSIS INTRODUCTION TO POISSON REGRESSION
PubH 7405: REGRESSION ANALYSIS INTRODUCTION TO POISSON REGRESSION PROTOTYPE EXAMPLE #1 We have data for 44 physcans workng n emergency medcne at a major hosptal system. The concern s about the number of
More informationChapter 14: Logit and Probit Models for Categorical Response Variables
Chapter 4: Logt and Probt Models for Categorcal Response Varables Sect 4. Models for Dchotomous Data We wll dscuss only ths secton of Chap 4, whch s manly about Logstc Regresson, a specal case of the famly
More informationBasically, if you have a dummy dependent variable you will be estimating a probability.
ECON 497: Lecture Notes 13 Page 1 of 1 Metropoltan State Unversty ECON 497: Research and Forecastng Lecture Notes 13 Dummy Dependent Varable Technques Studenmund Chapter 13 Bascally, f you have a dummy
More informationLecture 3 Stat102, Spring 2007
Lecture 3 Stat0, Sprng 007 Chapter 3. 3.: Introducton to regresson analyss Lnear regresson as a descrptve technque The least-squares equatons Chapter 3.3 Samplng dstrbuton of b 0, b. Contnued n net lecture
More informationANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)
Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of
More informationNUMERICAL DIFFERENTIATION
NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the
More information4.3 Poisson Regression
of teratvely reweghted least squares regressons (the IRLS algorthm). We do wthout gvng further detals, but nstead focus on the practcal applcaton. > glm(survval~log(weght)+age, famly="bnomal", data=baby)
More informationQuestion 1 carries a weight of 25%; question 2 carries 20%; question 3 carries 25%; and question 4 carries 30%.
UNIVERSITY OF EAST ANGLIA School of Economcs Man Seres PGT Examnaton 017-18 FINANCIAL ECONOMETRICS ECO-7009A Tme allowed: HOURS Answer ALL FOUR questons. Queston 1 carres a weght of 5%; queston carres
More informationStatistical analysis using matlab. HY 439 Presented by: George Fortetsanakis
Statstcal analyss usng matlab HY 439 Presented by: George Fortetsanaks Roadmap Probablty dstrbutons Statstcal estmaton Fttng data to probablty dstrbutons Contnuous dstrbutons Contnuous random varable X
More informationsince [1-( 0+ 1x1i+ 2x2 i)] [ 0+ 1x1i+ assumed to be a reasonable approximation
Econ 388 R. Butler 204 revsons Lecture 4 Dummy Dependent Varables I. Lnear Probablty Model: the Regresson model wth a dummy varables as the dependent varable assumpton, mplcaton regular multple regresson
More informationISQS 6348 Final Open notes, no books. Points out of 100 in parentheses. Y 1 ε 2
ISQS 6348 Fnal Open notes, no books. Ponts out of 100 n parentheses. 1. The followng path dagram s gven: ε 1 Y 1 ε F Y 1.A. (10) Wrte down the usual model and assumptons that are mpled by ths dagram. Soluton:
More informationStatistics II Final Exam 26/6/18
Statstcs II Fnal Exam 26/6/18 Academc Year 2017/18 Solutons Exam duraton: 2 h 30 mn 1. (3 ponts) A town hall s conductng a study to determne the amount of leftover food produced by the restaurants n the
More informationNumber of cases Number of factors Number of covariates Number of levels of factor i. Value of the dependent variable for case k
ANOVA Model and Matrx Computatons Notaton The followng notaton s used throughout ths chapter unless otherwse stated: N F CN Y Z j w W Number of cases Number of factors Number of covarates Number of levels
More informationDr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur
Analyss of Varance and Desgn of Exerments-I MODULE III LECTURE - 2 EXPERIMENTAL DESIGN MODELS Dr. Shalabh Deartment of Mathematcs and Statstcs Indan Insttute of Technology Kanur 2 We consder the models
More informationCathy Walker March 5, 2010
Cathy Walker March 5, 010 Part : Problem Set 1. What s the level of measurement for the followng varables? a) SAT scores b) Number of tests or quzzes n statstcal course c) Acres of land devoted to corn
More informationChapter 3 Describing Data Using Numerical Measures
Chapter 3 Student Lecture Notes 3-1 Chapter 3 Descrbng Data Usng Numercal Measures Fall 2006 Fundamentals of Busness Statstcs 1 Chapter Goals To establsh the usefulness of summary measures of data. The
More informationSIMPLE LINEAR REGRESSION
Smple Lnear Regresson and Correlaton Introducton Prevousl, our attenton has been focused on one varable whch we desgnated b x. Frequentl, t s desrable to learn somethng about the relatonshp between two
More informationβ0 + β1xi. You are interested in estimating the unknown parameters β
Revsed: v3 Ordnar Least Squares (OLS): Smple Lnear Regresson (SLR) Analtcs The SLR Setup Sample Statstcs Ordnar Least Squares (OLS): FOCs and SOCs Back to OLS and Sample Statstcs Predctons (and Resduals)
More informationDr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur
Analyss of Varance and Desgn of Experment-I MODULE VII LECTURE - 3 ANALYSIS OF COVARIANCE Dr Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Any scentfc experment s performed
More informationThe Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction
ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also
More informationexperimenteel en correlationeel onderzoek
expermenteel en correlatoneel onderzoek lecture 6: one-way analyss of varance Leary. Introducton to Behavoral Research Methods. pages 246 271 (chapters 10 and 11): conceptual statstcs Moore, McCabe, and
More informationCorrelation and Regression
Correlaton and Regresson otes prepared by Pamela Peterson Drake Index Basc terms and concepts... Smple regresson...5 Multple Regresson...3 Regresson termnology...0 Regresson formulas... Basc terms and
More informationStatistical Evaluation of WATFLOOD
tatstcal Evaluaton of WATFLD By: Angela MacLean, Dept. of Cvl & Envronmental Engneerng, Unversty of Waterloo, n. ctober, 005 The statstcs program assocated wth WATFLD uses spl.csv fle that s produced wth
More informationLINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity
LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 31 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 6. Rdge regresson The OLSE s the best lnear unbased
More information