Time Series Models for Event Counts, I

Total Page:16

File Type:pdf, Size:1020Kb

Time Series Models for Event Counts, I Agenda Event Count Models Event Count Time Series Time Series Models for Event Counts, I Patrick T. Brandt University of Texas, Dallas July 2010 Patrick T. Brandt Time Series Models for Event Counts, I Agenda Event Count Models Event Count Time Series Agenda Introduction to basic event count time series Examples of why we need separate models for these kind of data PEWMA and PAR(p) introduction Fitting and interpreting PEWMA and PAR(p) models using PESTS: dynamic inferences Changepoint models for count data Some recent extensions and new models Patrick T. Brandt Time Series Models for Event Counts, I Agenda Event Count Models Event Count Time Series Preface / Getting Started Get R from your favorite CRAN mirror. The mirror list is at: http://cran.r-project.org/mirrors.html Get the R source code for PESTS from http://www.utdallas.edu/~pbrandt/code/pests.r These slides, data, and R code for examples are at http://www.utdallas.edu/~pbrandt/code/count-examples Put the pests.r and the data files you are going to use in the same folder. Patrick T. Brandt Time Series Models for Event Counts, I Agenda Event Count Models Event Count Time Series 1 Event Count Models Data Examples Poisson Models Negative Binomial Models 2 Event Count Time Series Existing approaches Models for time series of counts PEWMA PAR(p) Patrick T. Brandt Time Series Models for Event Counts, I Agenda Data Examples Event Count Models Poisson Models Event Count Time Series Negative Binomial Models Example: Mayhew's Legislation Data Patrick T. Brandt Time Series Models for Event Counts, I Agenda Data Examples Event Count Models Poisson Models Event Count Time Series Negative Binomial Models Example: Militarized Interstate Disputes (MIDS) Series 1 ACF MIDS 20 40 60 80 100 120 140 0.2 0.0 0.2 0.4 0.6 0.8 1.0 ï 1850 1900 1950 0 5 10 15 20 Time Lag Patrick T. Brandt Time Series Models for Event Counts, I Chinese and Taiwanese MIDS Event Count Time Series Event Count Models Patrick T. Brandt Agenda China and Taiwan threats and actions, MIDS: 1950−2001 4 3 Negative Binomial Models Poisson Models Data Examples Time Series Models for Event Counts, I 2 1 China threats 0 5 4 3 2 1 China actions 0 3.0 2.0 1.0 Taiwan threats Taiwan 0.0 6 5 4 3 2 1 Taiwan actions Taiwan 0 1950 1960 1970 1980 1990 2000 Time Agenda Data Examples Event Count Models Poisson Models Event Count Time Series Negative Binomial Models Count data models Count data are the result of a process of measuring the number of discrete events over some period of time. Typically, these models assume that the process that generates the events is independent of time (t). This means that they are memoryless. The times between events are assumed to be independent and exponentially distributed. This is a very strong set of restrictions: most event data violate them in one or more ways. Patrick T. Brandt Time Series Models for Event Counts, I Agenda Data Examples Event Count Models Poisson Models Event Count Time Series Negative Binomial Models Event Count Models Typically, one of several models are used to fit a regression model to count data: Poisson regression Negative binomial regression Generalized event count Generalized estimating equations Patrick T. Brandt Time Series Models for Event Counts, I Agenda Data Examples Event Count Models Poisson Models Event Count Time Series Negative Binomial Models Poisson Models Standard approach to modeling event count data is to use a Poisson distribution: yt −µt µt e Pr (yt jµt ) = : yt ! Estimation of the mean parameter is accomplished via maximum likelihood methods. Note that for the Poisson model, E (yt ) = V (yt ) = µ. A Poisson regression model can be created by the parameterization µt = exp (Xt δ) : Patrick T. Brandt Time Series Models for Event Counts, I Agenda Data Examples Event Count Models Poisson Models Event Count Time Series Negative Binomial Models Negative binomial models This model allows for V (y) > E(y) which is common in count data. This is known as overdispersion. The negative binomial distribution is given by νt yt Γ(yt + νt ) νt µt Pr(yt jµt ; νt ) = yt !Γ(νt ) νt + µt νt + µt The νt parameter captures the level of overdispersion, or how much larger the variance is than the mean. We can make this a regression model by defining µt = exp (Xt δ). Patrick T. Brandt Time Series Models for Event Counts, I Agenda Data Examples Event Count Models Poisson Models Event Count Time Series Negative Binomial Models How the negative binomial captures overdispersion The conditional mean for the negative binomial (NB) regression model is E[yt jXt ] = µt = exp (Xt δ) : The conditional variance is µt exp (Xt δ) V [yt jXt ] = µt 1 + = exp (Xt δ) 1 + : νt νt This variance will be unidentified since the term νt has a t index. Patrick T. Brandt Time Series Models for Event Counts, I Agenda Data Examples Event Count Models Poisson Models Event Count Time Series Negative Binomial Models Identifying the negative binomial The common assumption is that the variance parameter νt is the same across all of the observations (this same assumption is used in the subsequent time series models). −1 If we assume that νt = α and α > 0 then µ V [y jX ] = µ 1 + t t t t α−1 2 = µt + αµt (So now you know how to interpret correctly that α parameter reported from Stata for nbreg.) Patrick T. Brandt Time Series Models for Event Counts, I Existing approaches Agenda Models for time series of counts Event Count Models PEWMA Event Count Time Series PAR(p) Standard Approaches Fail Poisson regression models are limited because they assume events are independent Alternative models assume a particular dependence: negative binomial and generalized event count (GEC) OLS / ARIMA models use the wrong (Gaussian) distribution Including a lagged endogenous count implies a growth rate model These are the motivating arguments for Brandt, Williams, Fordham and Pollins (2000: American Journal of Political Science) and Brandt and Williams (2001: Political Analysis). Patrick T. Brandt Time Series Models for Event Counts, I Existing approaches Agenda Models for time series of counts Event Count Models PEWMA Event Count Time Series PAR(p) Why does this matter? Little is known about the efficiency properties of event count models in the presence of dynamic mis-specification. If count data demonstrate serial dependence, how can we model this dependence? Further, if we fail to model this dependence, how biased / inconsistent / inefficient are the estimates we get? Can't we just fix all of this with a lagged dependent variable like we do in most other models? Patrick T. Brandt Time Series Models for Event Counts, I Existing approaches Agenda Models for time series of counts Event Count Models PEWMA Event Count Time Series PAR(p) Limits of a lagged count model Exponentiated coefficient on the lagged variable is no longer an autocorrelation coefficient. It is a growth rate. Model is only appropriate for non-stationary or trending event counts, since the mean is an exponential function of time. Patrick T. Brandt Time Series Models for Event Counts, I Existing approaches Agenda Models for time series of counts Event Count Models PEWMA Event Count Time Series PAR(p) Just say NO to the lagged count model! Let zt ∼ Po (µt ), µt = exp (Xt δ + ρzt−1) and Xt are i.i.d. The growth rate of this lagged Poisson regression model is the difference the logged mean counts: ln (µt ) − ln (µt−1) = Xt δ − Xt−1δ + ρzt−1 − ρzt−2: Taking expectations gives E [ln (µt ) − ln (µt−1)] = ρE [zt−1 − zt−2] : Unless ρ = 0 or E [zt−1 − zt−2] = 0; this model implies a non-zero growth rate for the conditional mean. The coefficient ρ is a growth rate rather than an autocorrelation or discounting coefficient. Patrick T. Brandt Time Series Models for Event Counts, I Existing approaches Agenda Models for time series of counts Event Count Models PEWMA Event Count Time Series PAR(p) Desiderata of a count time series model Need models that can deal with trends in counts (PEWMA) Need models that can deal with cycles in counts (PAR(p)) Diagnostics for model selection When are Gaussian-based models OK? Patrick T. Brandt Time Series Models for Event Counts, I Existing approaches Agenda Models for time series of counts Event Count Models PEWMA Event Count Time Series PAR(p) Models for count time series There are two frameworks for count time series models: Observation driven models: past counts predict current counts. PEWMA PAR(p) Parameter driven models: parameters change over time. Changepoint models Latent dynamic parameter or factor models This list of examples is by no means exhaustive. Count time series models fit into one of these approaches and there is a fair amount of observational equivalence across these modeling strategies. Patrick T. Brandt Time Series Models for Event Counts, I Existing approaches Agenda Models for time series of counts Event Count Models PEWMA Event Count Time Series PAR(p) Simple Diagnostics for Count Time Series We most often want to know if the count time series are serially correlated. Cameron and Trivedi (1998) show that one can use standard time series diagnostics for serial correlation to determine whether counts should be modeled with a time series. 1 Standardize the count time series: for each observation subtract off the mean and divide by the standard deviation of the series (so just like finding a z-score). 2 Compute the autocorrelation function of the standardized counts.
Recommended publications
  • An Introduction to Poisson Regression Russ Lavery, K&L Consulting Services, King of Prussia, PA, U.S.A
    NESUG 2010 Statistics and Analysis An Animated Guide: An Introduction To Poisson Regression Russ Lavery, K&L Consulting Services, King of Prussia, PA, U.S.A. ABSTRACT: This paper will be a brief introduction to Poisson regression (theory, steps to be followed, complications and interpretation) via a worked example. It is hoped that this will increase motivation towards learning this useful statistical technique. INTRODUCTION: Poisson regression is available in SAS through the GENMOD procedure (generalized modeling). It is appropriate when: 1) the process that generates the conditional Y distributions would, theoretically, be expected to be a Poisson random process and 2) when there is no evidence of overdispersion and 3) when the mean of the marginal distribution is less than ten (preferably less than five and ideally close to one). THE POISSON DISTRIBUTION: The Poison distribution is a discrete Percent of observations where the random variable X is expected distribution and is appropriate for to have the value x, given that the Poisson distribution has a mean modeling counts of observations. of λ= P(X=x, λ ) = (e - λ * λ X) / X! Counts are observed cases, like the 0.4 count of measles cases in cities. You λ can simply model counts if all data 0.35 were collected in the same measuring 0.3 unit (e.g. the same number of days or 0.3 0.5 0.8 same number of square feet). 0.25 λ 1 0.2 3 You can use the Poisson Distribution = 5 for modeling rates (rates are counts 0.15 20 per unit) if the units of collection were 8 different.
    [Show full text]
  • Generalized Linear Models (Glms)
    San Jos´eState University Math 261A: Regression Theory & Methods Generalized Linear Models (GLMs) Dr. Guangliang Chen This lecture is based on the following textbook sections: • Chapter 13: 13.1 – 13.3 Outline of this presentation: • What is a GLM? • Logistic regression • Poisson regression Generalized Linear Models (GLMs) What is a GLM? In ordinary linear regression, we assume that the response is a linear function of the regressors plus Gaussian noise: 0 2 y = β0 + β1x1 + ··· + βkxk + ∼ N(x β, σ ) | {z } |{z} linear form x0β N(0,σ2) noise The model can be reformulate in terms of • distribution of the response: y | x ∼ N(µ, σ2), and • dependence of the mean on the predictors: µ = E(y | x) = x0β Dr. Guangliang Chen | Mathematics & Statistics, San Jos´e State University3/24 Generalized Linear Models (GLMs) beta=(1,2) 5 4 3 β0 + β1x b y 2 y 1 0 −1 0.0 0.2 0.4 0.6 0.8 1.0 x x Dr. Guangliang Chen | Mathematics & Statistics, San Jos´e State University4/24 Generalized Linear Models (GLMs) Generalized linear models (GLM) extend linear regression by allowing the response variable to have • a general distribution (with mean µ = E(y | x)) and • a mean that depends on the predictors through a link function g: That is, g(µ) = β0x or equivalently, µ = g−1(β0x) Dr. Guangliang Chen | Mathematics & Statistics, San Jos´e State University5/24 Generalized Linear Models (GLMs) In GLM, the response is typically assumed to have a distribution in the exponential family, which is a large class of probability distributions that have pdfs of the form f(x | θ) = a(x)b(θ) exp(c(θ) · T (x)), including • Normal - ordinary linear regression • Bernoulli - Logistic regression, modeling binary data • Binomial - Multinomial logistic regression, modeling general cate- gorical data • Poisson - Poisson regression, modeling count data • Exponential, Gamma - survival analysis Dr.
    [Show full text]
  • Generalized Linear Models with Poisson Family: Applications in Ecology
    UNIVERSITY OF ABOMEY- CALAVI *********** FACULTY OF AGRONOMIC SCIENCES *************** **************** Master Program in Statistics, Major Biostatistics 1st batch Generalized linear models with Poisson family: applications in ecology A thesis submitted to the Faculty of Agronomic Sciences in partial fulfillment of the requirements for the degree of the Master of Sciences in Biostatistics Presented by: LOKONON Enagnon Bruno Supervisor: Pr Romain L. GLELE KAKAÏ, Professor of Biostatistics and Forest estimation Academic year: 2014-2015 UNIVERSITE D’ABOMEY- CALAVI *********** FACULTE DES SCIENCES AGRONOMIQUES *************** ************** Programme de Master en Biostatistiques 1ère Promotion Modèles linéaires généralisés de la famille de Poisson : applications en écologie Mémoire soumis à la Faculté des Sciences Agronomiques pour obtenir le Diplôme de Master recherche en Biostatistiques Présenté par: LOKONON Enagnon Bruno Superviseur: Pr Romain L. GLELE KAKAÏ, Professeur titulaire de Biostatistiques et estimation forestière Année académique: 2014-2015 Certification I certify that this work has been achieved by LOKONON E. Bruno under my entire supervision at the University of Abomey-Calavi (Benin) in order to obtain his Master of Science degree in Biostatistics. Pr Romain L. GLELE KAKAÏ Professor of Biostatistics and Forest estimation i Acknowledgements This research was supported by WAAPP/PPAAO-BENIN (West African Agricultural Productivity Program/ Programme de Productivité Agricole en Afrique de l‟Ouest). This dissertation could only have been possible through the generous contributions of many people. First and foremost, I am grateful to my supervisor Pr Romain L. GLELE KAKAÏ, Professor of Biostatistics and Forest estimation who tirelessly played key role in orientation, scientific writing and mentoring during this research. In particular, I thank him for his prompt availability whenever needed.
    [Show full text]
  • Heteroscedastic Errors
    Heteroscedastic Errors ◮ Sometimes plots and/or tests show that the error variances 2 σi = Var(ǫi ) depend on i ◮ Several standard approaches to fixing the problem, depending on the nature of the dependence. ◮ Weighted Least Squares. ◮ Transformation of the response. ◮ Generalized Linear Models. Richard Lockhart STAT 350: Heteroscedastic Errors and GLIM Weighted Least Squares ◮ Suppose variances are known except for a constant factor. 2 2 ◮ That is, σi = σ /wi . ◮ Use weighted least squares. (See Chapter 10 in the text.) ◮ This usually arises realistically in the following situations: ◮ Yi is an average of ni measurements where you know ni . Then wi = ni . 2 ◮ Plots suggest that σi might be proportional to some power of 2 γ γ some covariate: σi = kxi . Then wi = xi− . Richard Lockhart STAT 350: Heteroscedastic Errors and GLIM Variances depending on (mean of) Y ◮ Two standard approaches are available: ◮ Older approach is transformation. ◮ Newer approach is use of generalized linear model; see STAT 402. Richard Lockhart STAT 350: Heteroscedastic Errors and GLIM Transformation ◮ Compute Yi∗ = g(Yi ) for some function g like logarithm or square root. ◮ Then regress Yi∗ on the covariates. ◮ This approach sometimes works for skewed response variables like income; ◮ after transformation we occasionally find the errors are more nearly normal, more homoscedastic and that the model is simpler. ◮ See page 130ff and check under transformations and Box-Cox in the index. Richard Lockhart STAT 350: Heteroscedastic Errors and GLIM Generalized Linear Models ◮ Transformation uses the model T E(g(Yi )) = xi β while generalized linear models use T g(E(Yi )) = xi β ◮ Generally latter approach offers more flexibility.
    [Show full text]
  • Generalized Linear Models
    CHAPTER 6 Generalized linear models 6.1 Introduction Generalized linear modeling is a framework for statistical analysis that includes linear and logistic regression as special cases. Linear regression directly predicts continuous data y from a linear predictor Xβ = β0 + X1β1 + + Xkβk.Logistic regression predicts Pr(y =1)forbinarydatafromalinearpredictorwithaninverse-··· logit transformation. A generalized linear model involves: 1. A data vector y =(y1,...,yn) 2. Predictors X and coefficients β,formingalinearpredictorXβ 1 3. A link function g,yieldingavectoroftransformeddataˆy = g− (Xβ)thatare used to model the data 4. A data distribution, p(y yˆ) | 5. Possibly other parameters, such as variances, overdispersions, and cutpoints, involved in the predictors, link function, and data distribution. The options in a generalized linear model are the transformation g and the data distribution p. In linear regression,thetransformationistheidentity(thatis,g(u) u)and • the data distribution is normal, with standard deviation σ estimated from≡ data. 1 1 In logistic regression,thetransformationistheinverse-logit,g− (u)=logit− (u) • (see Figure 5.2a on page 80) and the data distribution is defined by the proba- bility for binary data: Pr(y =1)=y ˆ. This chapter discusses several other classes of generalized linear model, which we list here for convenience: The Poisson model (Section 6.2) is used for count data; that is, where each • data point yi can equal 0, 1, 2, ....Theusualtransformationg used here is the logarithmic, so that g(u)=exp(u)transformsacontinuouslinearpredictorXiβ to a positivey ˆi.ThedatadistributionisPoisson. It is usually a good idea to add a parameter to this model to capture overdis- persion,thatis,variationinthedatabeyondwhatwouldbepredictedfromthe Poisson distribution alone.
    [Show full text]
  • “Multivariate Count Data Generalized Linear Models: Three Approaches Based on the Sarmanov Distribution”
    Institut de Recerca en Economia Aplicada Regional i Pública Document de Treball 2017/18 1/25 pág. Research Institute of Applied Economics Working Paper 2017/18 1/25 pág. “Multivariate count data generalized linear models: Three approaches based on the Sarmanov distribution” Catalina Bolancé & Raluca Vernic 4 WEBSITE: www.ub.edu/irea/ • CONTACT: [email protected] The Research Institute of Applied Economics (IREA) in Barcelona was founded in 2005, as a research institute in applied economics. Three consolidated research groups make up the institute: AQR, RISK and GiM, and a large number of members are involved in the Institute. IREA focuses on four priority lines of investigation: (i) the quantitative study of regional and urban economic activity and analysis of regional and local economic policies, (ii) study of public economic activity in markets, particularly in the fields of empirical evaluation of privatization, the regulation and competition in the markets of public services using state of industrial economy, (iii) risk analysis in finance and insurance, and (iv) the development of micro and macro econometrics applied for the analysis of economic activity, particularly for quantitative evaluation of public policies. IREA Working Papers often represent preliminary work and are circulated to encourage discussion. Citation of such a paper should account for its provisional character. For that reason, IREA Working Papers may not be reproduced or distributed without the written consent of the author. A revised version may be available directly from the author. Any opinions expressed here are those of the author(s) and not those of IREA. Research published in this series may include views on policy, but the institute itself takes no institutional policy positions.
    [Show full text]
  • A Comparison of Generalized Linear Models for Insect Count Data
    International Journal of Statistics and Analysis. ISSN 2248-9959 Volume 9, Number 1 (2019), pp. 1-9 © Research India Publications http://www.ripublication.com A Comparison of Generalized Linear Models for Insect Count Data S.R Naffees Gowsar1*, M Radha 1, M Nirmala Devi2 1*PG Scholar in Agricultural Statistics, Tamil Nadu Agricultural University, Coimbatore, Tamil Nadu, India. 1Faculty of Agricultural Statistics, Tamil Nadu Agricultural University, Coimbatore, Tamil Nadu, India. 2Faculty of Mathematics, Tamil Nadu Agricultural University, Coimbatore, Tamil Nadu, India. Abstract Statistical models are powerful tools that can capture the essence of many biological systems and investigate ecological patterns associated to ecological stability dependent on endogenous and exogenous factors. Generalized linear model is the flexible generalization of ordinary linear regression, allows for response variables that have error distribution models other than a normal distribution. In order to fit a model for Count, Binary and Proportionate data, transformation of variables can be done and can fit the model using general linear model (GLM). But without transforming the nature of the data, the models can be fitted by using generalized linear model (GzLM). In this study, an attempt has been made to compare the generalized linear regression models for insect count data. The best model has been identified for the data through Vuong test. Keywords: Count data, Regression Models, Criterions, Vuong test. INTRODUCTION: Understanding the type of data before deciding the modelling approach is the foremost thing in data analysis. The predictors and response variables which follow non normal distributions are linearly modelled, it suffers from methodological limitations and statistical properties.
    [Show full text]
  • Bayesian Hierarchical Poisson Regression Model for Overdispersed Count Data
    Bayesian Hierarchical Poisson Regression Model for Overdispersed Count Data Overview This example uses the RANDOM statement in MCMC procedure to fit a Bayesian hierarchical Poisson regression model to overdispersed count data. The RANDOM statement, available in SAS/STAT 9.3 and later, provides a convenient way to specify random effects with substantionally improved performance. Overdispersion occurs when count data appear more dispersed than expected under a reference model. Overdispersion can be caused by positive correlation among the observations, an incorrect model, an in- correct distributional specification, or incorrect variance functions. The example displays how Bayesian hierarchical Poisson regression models are effective in capturing overdispersion and providing a better fit. The SAS source code for this example is available as a text file attachment. In Adobe Acrobat, right-click the icon in the margin and select Save Embedded File to Disk. You can also double-click the icon to open the file immediately. Analysis Count data frequently display overdispersion (more variation than expected from a standard parametric model). Breslow(1984) discusses these types of models and suggests several different ways to model them. Hierarchical Poisson models have been found effective in capturing the overdispersion in data sets with extra Poisson variation. Hierarchical Poisson regression models are expressed as Poisson models with a log link and a normal vari- ance on the mean parameter. More formally, a hierarchical Poisson regression model is written as Yij ij Poisson.ij / j log.ij / Xi ˇ ij D C 2 ij normal.0; / for i 1; :::; n, j 1; :::; J , and y 0; 1; 2; ::: .
    [Show full text]
  • Using Geographically Weighted Poisson Regression for County-Level Crash Modeling in California ⇑ Zhibin Li A,B, , Wei Wang A,1, Pan Liu A,2, John M
    Safety Science 58 (2013) 89–97 Contents lists available at SciVerse ScienceDirect Safety Science journal homepage: www.elsevier.com/locate/ssci Using Geographically Weighted Poisson Regression for county-level crash modeling in California ⇑ Zhibin Li a,b, , Wei Wang a,1, Pan Liu a,2, John M. Bigham b,3, David R. Ragland b,3 a School of Transportation, Southeast University, Si Pai Lou #2, Nanjing 210096, China b Safe Transportation Research and Education Center, Institute of Transportation Studies, University of California, Berkeley, 2614 Dwight Way #7374, Berkeley, CA 94720-7374, United States article info abstract Article history: Development of crash prediction models at the county-level has drawn the interests of state agencies for Received 25 December 2012 forecasting the normal level of traffic safety according to a series of countywide characteristics. A com- Received in revised form 11 March 2013 mon technique for the county-level crash modeling is the generalized linear modeling (GLM) procedure. Accepted 13 April 2013 However, the GLM fails to capture the spatial heterogeneity that exists in the relationship between crash counts and explanatory variables over counties. This study aims to evaluate the use of a Geographically Weighted Poisson Regression (GWPR) to capture these spatially varying relationships in the county-level Keywords: crash data. The performance of a GWPR was compared to a traditional GLM. Fatal crashes and countywide Safety factors including traffic patterns, road network attributes, and socio-demographic characteristics were Crash County-level collected from the 58 counties in California. Results showed that the GWPR was useful in capturing Geographically Weighted Regression the spatially non-stationary relationships between crashes and predicting factors at the county level.
    [Show full text]
  • Shrinkage Improves Estimation of Microbial Associations Under Di↵Erent Normalization Methods 1 2 1,3,4, 5,6,7, Michelle Badri , Zachary D
    bioRxiv preprint doi: https://doi.org/10.1101/406264; this version posted April 4, 2020. The copyright holder for this preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under aCC-BY-NC 4.0 International license. Shrinkage improves estimation of microbial associations under di↵erent normalization methods 1 2 1,3,4, 5,6,7, Michelle Badri , Zachary D. Kurtz , Richard Bonneau ⇤, and Christian L. Muller¨ ⇤ 1Department of Biology, New York University, New York, 10012 NY, USA 2Lodo Therapeutics, New York, 10016 NY, USA 3Center for Computational Biology, Flatiron Institute, Simons Foundation, New York, 10010 NY, USA 4Computer Science Department, Courant Institute, New York, 10012 NY, USA 5Center for Computational Mathematics, Flatiron Institute, Simons Foundation, New York, 10010 NY, USA 6Institute of Computational Biology, Helmholtz Zentrum M¨unchen, Neuherberg, Germany 7Department of Statistics, Ludwig-Maximilians-Universit¨at M¨unchen, Munich, Germany ⇤correspondence to: [email protected], cmueller@flatironinstitute.org ABSTRACT INTRODUCTION Consistent estimation of associations in microbial genomic Recent advances in microbial amplicon and metagenomic survey count data is fundamental to microbiome research. sequencing as well as large-scale data collection efforts Technical limitations, including compositionality, low sample provide samples across different microbial habitats that are sizes, and technical variability, obstruct standard
    [Show full text]
  • Generalized Linear Models and Point Count Data: Statistical Considerations for the Design and Analysis of Monitoring Studies
    Generalized Linear Models and Point Count Data: Statistical Considerations for the Design and Analysis of Monitoring Studies Nathaniel E. Seavy,1,2,3 Suhel Quader,1,4 John D. Alexander,2 and C. John Ralph5 ________________________________________ Abstract The success of avian monitoring programs to effec- Key words: Generalized linear models, juniper remov- tively guide management decisions requires that stud- al, monitoring, overdispersion, point count, Poisson. ies be efficiently designed and data be properly ana- lyzed. A complicating factor is that point count surveys often generate data with non-normal distributional pro- perties. In this paper we review methods of dealing with deviations from normal assumptions, and we Introduction focus on the application of generalized linear models (GLMs). We also discuss problems associated with Measuring changes in bird abundance over time and in overdispersion (more variation than expected). In order response to habitat management is widely recognized to evaluate the statistical power of these models to as an important aspect of ecological monitoring detect differences in bird abundance, it is necessary for (Greenwood et al. 1993). The use of long-term avian biologists to identify the effect size they believe is monitoring programs (e.g., the Breeding Bird Survey) biologically significant in their system. We illustrate to identify population trends is a powerful tool for bird one solution to this challenge by discussing the design conservation (Sauer and Droege 1990, Sauer and Link of a monitoring program intended to detect changes in 2002). Short-term studies comparing bird abundance in bird abundance as a result of Western juniper (Juniper- treated and untreated areas are also important because us occidentalis) reduction projects in central Oregon.
    [Show full text]
  • Poisson Regression 1 Poisson Regression
    Poisson regression 1 Poisson regression In statistics, Poisson regression is a form of regression analysis used to model count data and contingency tables. Poisson regression assumes the response variable Y has a Poisson distribution, and assumes the logarithm of its expected value can be modeled by a linear combination of unknown parameters. A Poisson regression model is sometimes known as a log-linear model, especially when used to model contingency tables. Poisson regression models are generalized linear models with the logarithm as the (canonical) link function, and the Poisson distribution function. Regression models If is a vector of independent variables, then the model takes the form where and . Sometimes this is written more compactly as where x is now an n+1-dimensional vector consisting of n independent variables concatenated to some constant, usually 1. Here θ is simply a concatenated to b. Thus, when given a Poisson regression model θ and an input vector , the predicted mean of the associated Poisson distribution is given by If Y are independent observations with corresponding values x of the predictor variable, then θ can be estimated by i i maximum likelihood. The maximum-likelihood estimates lack a closed-form expression and must be found by numerical methods. The probability surface for maximum-likelihood Poisson regression is always convex, making Newton-Raphson or other gradient-based methods appropriate estimation techniques. Maximum likelihood-based parameter estimation Given a set of parameters θ and an input vector x, the mean of the predicted Poisson distribution, as stated above, is given by , and thus, the Poisson distribution's probability mass function is given by Now suppose we are given a data set consisting of m vectors , along with a set of m values .
    [Show full text]