close menu
Bookswagon-24x7 online bookstore
close menu
My Account
A Beginner's Guide to GLM and GLMM with R: A Frequentist and Bayesian Perspective for Ecologists(2 A Beginner's Guide to)

A Beginner's Guide to GLM and GLMM with R: A Frequentist and Bayesian Perspective for Ecologists(2 A Beginner's Guide to)

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

This book presents Generalized Linear Models (GLM) and Generalized Linear Mixed Models (GLMM) based on both frequency-based and Bayesian concepts. Using ecological data from real-world studies, the text introduces the reader to the basics of GLM and mixed effects models, with demonstrations of binomial, gamma, Poisson, negative binomial regression, and beta and beta-binomial GLMs and GLMMs. The book uses the functions glm, lmer, glmer, glmmADMB, and also JAGS from within R. JAGS results are compared with frequentist results. R code to construct, fit, interpret, and comparatively evaluate models is provided at every stage. Otherwise challenging procedures are presented in a clear and comprehensible manner with each step of the modelling process explained in detail, and all code is provided so that it can be reproduced by the reader.

Table of Contents:
1 INTRODUCTION TO GENERALIZED LINEAR MODELS 1 1.1 LINEAR REGRESSION APPLIED ON FISHERIES DATA 1 1.2 POISSON GLM 7 1.2.1 Poisson distribution for count data 7 1.2.2 Predictor function 8 1.2.3 Linking the mean and the predictor function 9 1.2.4 Maximum likelihood to estimate the parameters 9 1.2.5 Application of Poisson GLM on the fisheries data 11 1.2.6 Overdispersion 19 1.2.7 Adding covariates 23 1.2.8 Using the offset 24 1.3 NEGATIVE BINOMIAL GLM 26 1.3.1 Negative binomial distribution for count data 26 1.3.2 Example of Negative binomial regression 28 1.3.3 Heterogeneous Negative binomial regression 34 1.3.4 A note on modelling under-dispersion 36 1.4 BINOMIAL GLM FOR BINARY DATA 36 1.4.1 Parasites in honeybee larvae 36 1.4.2 Visualizing the data 36 1.4.3 Defining the three steps of a binomial GLM 38 1.4.4 Results for the bee data 40 1.4.5 Likelihood function for a binomial GLM 42 1.4.6 Other link functions 42 1.5 BINOMIAL GLM FOR PROPORTIONAL DATA 43 1.5.1 Binomial distribution 43 1.5.2 Predictor function 45 1.5.3 Link function 45 1.5.4 Fitting the model in R 45 1.6 OTHER DISTRIBUTIONS 47 2 GENERALIZED LINEAR MODELLING APPLIED TO RED SQUIRREL DATA 49 2.1 RED SQUIRRELS 49 2.2 IMPORTING THE DATA 50 2.3 DATA EXPLORATION 51 2.3.1 Outliers 51 2.3.2 Collinearity 52 2.3.3 Relationships 54 2.4 FITTING THE POISSON GLM IN R 55 2.4.1 Specifying the model 55 2.4.2 Execute the Poisson GLM in R 55 2.4.3 Model validation 57 2.5 FITTING THE NEGATIVE BINOMIAL GLM IN R 60 2.5.1 Using the glm.nb function 60 2.5.2 Heterogeneous negative binomial GLM 63 2.6 BAYESIAN APPROACH - RUNNING THE POISSON GLM 66 2.6.1 Obtaining and installing JAGS 66 2.6.2 Specifying the data for JAGS 67 2.6.3 Specifying the model for JAGS 68 2.6.4 Specifying the initial values 69 2.6.5 Parameters to store 69 2.6.6 Running JAGS via R 69 2.6.7 Generalizing the JAGS modelling code 72 2.7 ASSESSING MIXING OF CHAINS 74 2.7.1 Assess mixing of chains if R2jags is used 74 2.8 MODEL VALIDATION 76 2.8.1 Checking for overdispersion 76 2.8.2 Obtaining Pearson residuals 77 2.9 APPLYING A NEGATIVE BINOMIAL GLM IN JAGS 79 2.10 MIXING OF CHAINS 82 2.11 MODEL VALIDATION 83 2.12 MODEL INTERPRETATION 84 2.13 DISCUSSION 87 2.14 WHAT TO PRESENT IN A PAPER 87 3 GLM APPLIED TO PRESENCE-ABSENCE POLYCHAETA DATA 89 3.1 MARINE BENTHIC DATA 89 3.2 IMPORTING THE DATA AND HOUSEKEEPING 90 3.3 DATA EXPLORATION 91 3.4 BINARY GLM; A FREQUENTIST APPROACH 94 3.4.1 Specifying the distribution and link function 94 3.4.2 Specifying the predictor function 95 3.4.3 Running the glm function 96 3.4.4 Results of the glm function 96 3.4.5 Model selection 97 3.4.6 Results of the optimal model 100 3.4.7 Model validation 101 3.4.8 Visualizing the model 102 3.5 FITTING A BERNOULLI GLM IN JAGS 103 3.5.1 Specifying the data for JAGS 103 3.5.2 JAGS modelling code 104 3.5.3 Initial values and parameters to save 105 3.5.4 Running JAGS from R 105 3.5.5 JAGS results presented within R 106 3.6 MODEL SELECTION USING AIC, DIC AND BIC IN JAGS 107 3.7 MODEL INTERPRETATION 110 3.8 DISCUSSION 113 3.9 WHAT TO PRESENT IN A PAPER 114 4 INTRODUCTION TO MIXED EFFECTS MODELS 115 4.1 SPIDERS 115 4.2 LINEAR REGRESSION APPLIED ON THE SPIDER DATA 115 4.3 LINEAR MIXED EFFECTS MODELS 118 4.3.1 Model formulation and interpretation 118 4.3.2 Fitting a linear mixed effects model using lmer 119 4.3.3 Analysis using lmer 122 4.4 FITTING A LINEAR MIXED EFFECTS MODEL IN JAGS 128 4.5 USING A VARIABLE AS A FIXED OR RANDOM TERM? 131 4.6 RANDOM INTERCEPT AND SLOPE MODEL 131 4.7 GENERALIZED LINEAR MIXED EFFECTS MODELS 132 5 GLMM APPLIED ON HONEYBEE POLLINATION DATA 133 5.1 HONEYBEES AND DANDELION POLLEN 133 5.2 DATA DESCRIPTION AND IMPORTING THE DATA 134 5.3 DATA EXPLORATION 135 5.4 BUILDING UP A MODEL 136 5.5 POISSON GLMM USING GLMER 137 5.6 POISSON GLMM USING JAGS 140 5.6.1 Data for JAGS 140 5.6.2 JAGS modelling code 141 5.6.3 Likelihood 142 5.6.4 Priors 142 5.6.5 Initial values 144 5.6.6 Parameters to save 144 5.6.7 Executing JAGS and obtaining results 145 5.7 NEGATIVE BINOMIAL GLMM USING GLMMADMB 146 5.8 NEGATIVE BINOMIAL GLMM USING JAGS 147 5.8.1 Data for JAGS 147 5.8.2 JAGS modelling code 147 5.8.3 Initial values 148 5.8.4 Parameters to save 149 5.8.5 Executing JAGS and obtaining results 149 5.8.6 Mixing of chains 150 5.8.7 Model validation 150 5.8.8 Model interpretation 152 5.9 GLMM WITH AUTO-REGRESSIVE CORRELATION 154 5.9.1 Simulate temporal correlated counts 155 5.9.2 JAGS to estimate the Poisson GLM with AR correlation 158 5.9.3 Multiple Poisson time series 161 5.9.4 Poisson GLMM with AR correlation 161 5.10 WHAT TO PRESENT IN A PAPER 164 6 GLMM FOR STRICTLY POSITIVE DATA: BIOMASS OF RAINFOREST TREES 165 6.1 RAINFOREST TREE SPECIES 165 6.2 IMPORTING THE DATA AND HOUSEKEEPING 167 6.3 DATA EXPLORATION 168 6.3.1 Outliers 168 6.3.2 Collinearity 169 6.3.3 Relationships 170 6.4 MULTIPLE LINEAR REGRESSION: A FREQUENTIST APPROACH 173 6.5 GAMMA GLM USING A FREQUENTIST APPROACH 175 6.5.1. Formulating the gamma GLM 175 6.5.2 Scale and shape 176 6.5.3 Visualizing the gamma distribution 176 6.5.4 Different link functions 178 6.5.5 Running the Gamma GLM using the glm function 179 6.5.6 Scale confusion 179 6.5.7 Identity link and inverse link function 182 6.6 FITTING A GAMMA GLM USING JAGS 183 6.6.1 Specifying the data for JAGS 183 6.6.2 JAGS modelling code 185 6.6.3 Priors 185 6.6.4 Likelihood function 185 6.6.5 Initial values and parameters to save 186 6.6.6 Running JAGS from R 186 6.6.7 JAGS results presented within R 187 6.6.8 Model interpretation 190 6.6.9 Model validation 193 6.7 ADDING MORE COVARIATES TO THE GAMMA GLM IN JAGS 195 6.8 GAMMA GLMM 195 6.8.1 R code for a gamma GLMM in JAGS 196 6.8.2 Results from JAGS for the gamma GLMM 198 6.9 TRUNCATED GAUSSIAN LINEAR REGRESSION 199 6.9.1 Zero trick to fit any statistical distribution in JAGS 199 6.9.2 Multiple linear regression in JAGS with the zero trick 200 6.9.3 Tobit model in JAGS 202 6.9.4 Tobit model with random effects in JAGS 205 6.10 DISCUSSION 205 6.11 WHAT TO PRESENT IN A PAPER 206 7 BINOMIAL, BETA-BINOMIAL, AND BETA GLMM APPLIED TO CHEETAH DATA 207 7.1 STEREOTYPIC BEHAVIOURS IN CAPTIVE CHEETAHS 207 7.2 IMPORTING THE DATA 209 7.3 DATA EXPLORATION 209 7.3.1 Outliers 209 7.3.2 Collinearity 210 7.4 BINOMIAL GLMM USING A FREQUENTIST APPROACH 212 7.4.1 Standardizing covariates 212 7.4.2 Binomial GLMM with random intercept zoo 213 7.4.3 Executing the GLMM using the glmer function 213 7.4.4 Overdispersion 215 7.4.5 Binomial GLMM with observation level random intercept 216 7.4.6 Visualization of results 220 7.5 BINOMIAL GLMM WITH RANDOM INTERCEPT ZOO IN JAGS 223 7.5.1 Data for JAGS 223 7.5.2 JAGS modelling code for a binomial GLMM 224 7.5.3 Results for the binomial GLMM 226 7.5.4 Overdispersion 226 7.6 BETA-BINOMIAL GLMM IN JAGS 228 7.6.1 The Beta distribution 228 7.6.2 From beta to beta-binomial distribution 229 7.6.3 JAGS code for beta-binomial GLMM 230 7.6.4 Beta-binomial GLMM results 231 7.6.5 Model validation of the beta-binomial GLMM 232 7.7 USING A BETA GLMM FOR PROPORTIONS 234 7.8 COMPARING ESTIMATED PARAMETERS FROM ALL MODELS 237 7.9 MODEL SELECTION FROM A FREQUENTIST POINT OF VIEW 239 7.10 MODEL SELECTION FROM A BAYESIAN POINT OF VIEW 241 7.10.1 Using the DIC, AIC and BIC 242 7.10.2 Inclusion probabilities 246 7.11 WHAT TO PRESENT IN A PAPER 246 REFERENCES 247 INDEX 251 BOOKS BY HIGHLAND STATISTICS 255 UPCOMING BOOKS IN 2013 AND 2014 256


Best Seller

| | See All

Product Details
  • ISBN-13: 9780957174139
  • Publisher: Highland Statistics Ltd
  • Publisher Imprint: Highland Statistics Ltd
  • Height: 233 mm
  • Sub Title: A Frequentist and Bayesian Perspective for Ecologists
  • Width: 156 mm
  • ISBN-10: 0957174136
  • Publisher Date: 01 May 2013
  • Binding: Paperback
  • Series Title: 2 A Beginner's Guide to
  • Weight: 500 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Be The First to Review
A Beginner's Guide to GLM and GLMM with R: A Frequentist and Bayesian Perspective for Ecologists(2 A Beginner's Guide to)
Highland Statistics Ltd -
A Beginner's Guide to GLM and GLMM with R: A Frequentist and Bayesian Perspective for Ecologists(2 A Beginner's Guide to)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

A Beginner's Guide to GLM and GLMM with R: A Frequentist and Bayesian Perspective for Ecologists(2 A Beginner's Guide to)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    | | See All


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA