Skip to main content
Top

2019 | OriginalPaper | Chapter

4. GLM 2

Authors : Matt Wiley, Joshua F. Wiley

Published in: Advanced R Statistical Programming and Data Models

Publisher: Apress

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Generalized linear models (GLMs) also can accommodate outcomes that are not continuous and normally distributed. Indeed, one of the great advantages of GLMs is they provide a unified framework to understand regression models applied to variables assumed to come from a variety of distributions. For this chapter, we will lean heavily on one excellent R package, VGAM, which provides utilities for vector generalized linear models (VGLMs) and vector generalized additive models (VGAMs) [125]. VGLMs and VGAMs are an even more flexible class of models where there may be multiple responses. However, beyond offering flexibility of multiple parameters, the VGAM package implements over 20 link functions, well over 50 different models/assumed distributions. We will only scratch the surface of the VGAM package capabilities in this chapter, but its great flexibility means that we will not need to introduce many different packages nor many different functions. If you would like to learn about VGLMs and VGAMs in far greater depth, we recommend an excellent book by the author of the VGAM package [125].

                library(checkpoint)
                checkpoint("2018-09-28", R.version = "3.5.1",
                  project = book_directory,
                  checkpointLocation = checkpoint_directory,
                  scanForPackages = FALSE,
                  scan.rnw.with.knitr = TRUE, use.knitr = TRUE)
               
                library(knitr)
                library(data.table)
                library(ggplot2)
                library(ggthemes)
                library(scales)
                library(viridis)
                library(VGAM)
                library(ipw)
                library(JWileymisc)
                library(xtable)
                library(texreg)
               
                options(
                  width = 70,
                  stringsAsFactors = FALSE,
                  datatable.print.nrows = 20,
                  datatable.print.topn = 3,
                  digits = 2)
              

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Metadata
Title
GLM 2
Authors
Matt Wiley
Joshua F. Wiley
Copyright Year
2019
Publisher
Apress
DOI
https://doi.org/10.1007/978-1-4842-2872-2_4

Premium Partner