library(car)
## Warning: package 'car' was built under R version 4.1.3
## Loading required package: carData
## Warning: package 'carData' was built under R version 4.1.2
library(tab)
## Warning: package 'tab' was built under R version 4.1.3
## Loading required package: dplyr
## Warning: package 'dplyr' was built under R version 4.1.3
## 
## Attaching package: 'dplyr'
## The following object is masked from 'package:car':
## 
##     recode
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
## Loading required package: knitr
## Warning: package 'knitr' was built under R version 4.1.3
library(sjPlot)
## Warning: package 'sjPlot' was built under R version 4.1.3
## Registered S3 method overwritten by 'parameters':
##   method                         from      
##   format.parameters_distribution datawizard
## Registered S3 methods overwritten by 'effectsize':
##   method              from      
##   standardize.Surv    datawizard
##   standardize.bcplm   datawizard
##   standardize.clm2    datawizard
##   standardize.default datawizard
##   standardize.mediate datawizard
##   standardize.wbgee   datawizard
##   standardize.wbm     datawizard
## Install package "strengejacke" from GitHub (`devtools::install_github("strengejacke/strengejacke")`) to load all sj-packages at once!
library(texreg)
## Warning: package 'texreg' was built under R version 4.1.3
## Version:  1.38.6
## Date:     2022-04-06
## Author:   Philip Leifeld (University of Essex)
## 
## Consider submitting praise using the praise or praise_interactive functions.
## Please cite the JSS article in your publications -- see citation("texreg").
library(ggpubr)
## Warning: package 'ggpubr' was built under R version 4.1.2
## Loading required package: ggplot2
## Warning: package 'ggplot2' was built under R version 4.1.3
library(rgdal)
## Warning: package 'rgdal' was built under R version 4.1.3
## Loading required package: sp
## Warning: package 'sp' was built under R version 4.1.3
## Please note that rgdal will be retired by the end of 2023,
## plan transition to sf/stars/terra functions using GDAL and PROJ
## at your earliest convenience.
## 
## rgdal: version: 1.5-32, (SVN revision 1176)
## Geospatial Data Abstraction Library extensions to R successfully loaded
## Loaded GDAL runtime: GDAL 3.4.1, released 2021/12/27
## Path to GDAL shared files: C:/Users/mahir.bhatt/Documents/R/win-library/4.1/rgdal/gdal
## GDAL binary built with GEOS: TRUE 
## Loaded PROJ runtime: Rel. 7.2.1, January 1st, 2021, [PJ_VERSION: 721]
## Path to PROJ shared files: C:/Users/mahir.bhatt/Documents/R/win-library/4.1/rgdal/proj
## PROJ CDN enabled: FALSE
## Linking to sp version:1.4-7
## To mute warnings of possible GDAL/OSR exportToProj4() degradation,
## use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
library(terra)
## Warning: package 'terra' was built under R version 4.1.2
## terra 1.5.21
## 
## Attaching package: 'terra'
## The following object is masked from 'package:rgdal':
## 
##     project
## The following object is masked from 'package:ggpubr':
## 
##     rotate
## The following object is masked from 'package:ggplot2':
## 
##     arrow
## The following object is masked from 'package:texreg':
## 
##     extract
## The following object is masked from 'package:knitr':
## 
##     spin
## The following object is masked from 'package:dplyr':
## 
##     src
library(data.table)
## Warning: package 'data.table' was built under R version 4.1.2
## 
## Attaching package: 'data.table'
## The following object is masked from 'package:terra':
## 
##     shift
## The following objects are masked from 'package:dplyr':
## 
##     between, first, last
library(gapminder)
## Warning: package 'gapminder' was built under R version 4.1.2
library(tidyquant)
## Warning: package 'tidyquant' was built under R version 4.1.3
## Loading required package: lubridate
## Warning: package 'lubridate' was built under R version 4.1.2
## 
## Attaching package: 'lubridate'
## The following objects are masked from 'package:data.table':
## 
##     hour, isoweek, mday, minute, month, quarter, second, wday, week,
##     yday, year
## The following objects are masked from 'package:terra':
## 
##     intersect, union
## The following objects are masked from 'package:base':
## 
##     date, intersect, setdiff, union
## Loading required package: PerformanceAnalytics
## Warning: package 'PerformanceAnalytics' was built under R version 4.1.2
## Loading required package: xts
## Warning: package 'xts' was built under R version 4.1.2
## Loading required package: zoo
## Warning: package 'zoo' was built under R version 4.1.3
## 
## Attaching package: 'zoo'
## The following object is masked from 'package:terra':
## 
##     time<-
## The following objects are masked from 'package:base':
## 
##     as.Date, as.Date.numeric
## 
## Attaching package: 'xts'
## The following objects are masked from 'package:data.table':
## 
##     first, last
## The following objects are masked from 'package:dplyr':
## 
##     first, last
## 
## Attaching package: 'PerformanceAnalytics'
## The following object is masked from 'package:graphics':
## 
##     legend
## Loading required package: quantmod
## Warning: package 'quantmod' was built under R version 4.1.3
## Loading required package: TTR
## Warning: package 'TTR' was built under R version 4.1.2
## Registered S3 method overwritten by 'quantmod':
##   method            from
##   as.zoo.data.frame zoo
library(plotly)
## Warning: package 'plotly' was built under R version 4.1.2
## 
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
## 
##     last_plot
## The following object is masked from 'package:stats':
## 
##     filter
## The following object is masked from 'package:graphics':
## 
##     layout
library(ARPALData)
## Warning: package 'ARPALData' was built under R version 4.1.3
library(shinyjs)
## Warning: package 'shinyjs' was built under R version 4.1.2
## 
## Attaching package: 'shinyjs'
## The following object is masked from 'package:quantmod':
## 
##     show
## The following object is masked from 'package:lubridate':
## 
##     show
## The following object is masked from 'package:terra':
## 
##     click
## The following object is masked from 'package:sp':
## 
##     show
## The following object is masked from 'package:texreg':
## 
##     show
## The following objects are masked from 'package:methods':
## 
##     removeClass, show
library(shiny)
## Warning: package 'shiny' was built under R version 4.1.2
## 
## Attaching package: 'shiny'
## The following object is masked from 'package:shinyjs':
## 
##     runExample
library(tmaptools)
## Warning: package 'tmaptools' was built under R version 4.1.2
library(plotly)
library(incidence)
## Warning: package 'incidence' was built under R version 4.1.2
library(xts)
library(bigmemory)
## Warning: package 'bigmemory' was built under R version 4.1.3
## 
## Attaching package: 'bigmemory'
## The following object is masked from 'package:terra':
## 
##     deepcopy
library(ff)
## Warning: package 'ff' was built under R version 4.1.3
## Loading required package: bit
## Warning: package 'bit' was built under R version 4.1.2
## 
## Attaching package: 'bit'
## The following object is masked from 'package:data.table':
## 
##     setattr
## The following object is masked from 'package:base':
## 
##     xor
## Attaching package ff
## - getOption("fftempdir")=="C:/Users/MAHIR~1.BHA/AppData/Local/Temp/RtmpAJLma1/ff"
## - getOption("ffextension")=="ff"
## - getOption("ffdrop")==TRUE
## - getOption("fffinonexit")==TRUE
## - getOption("ffpagesize")==65536
## - getOption("ffcaching")=="mmnoflush"  -- consider "ffeachflush" if your system stalls on large writes
## - getOption("ffbatchbytes")==16777216 -- consider a different value for tuning your system
## - getOption("ffmaxbytes")==536870912 -- consider a different value for tuning your system
## 
## Attaching package: 'ff'
## The following object is masked from 'package:bigmemory':
## 
##     is.readonly
## The following objects are masked from 'package:terra':
## 
##     is.factor, ncol<-, nrow<-
## The following objects are masked from 'package:utils':
## 
##     write.csv, write.csv2
## The following objects are masked from 'package:base':
## 
##     is.factor, is.ordered
library(ffbase)
## Warning: package 'ffbase' was built under R version 4.1.2
## Registered S3 methods overwritten by 'ffbase':
##   method   from
##   [.ff     ff  
##   [.ffdf   ff  
##   [<-.ff   ff  
##   [<-.ffdf ff
## 
## Attaching package: 'ffbase'
## The following object is masked from 'package:terra':
## 
##     %in%
## The following objects are masked from 'package:base':
## 
##     %in%, table
library(plyr)
## Warning: package 'plyr' was built under R version 4.1.3
## ------------------------------------------------------------------------------
## You have loaded plyr after dplyr - this is likely to cause problems.
## If you need functions from both plyr and dplyr, please load plyr first, then dplyr:
## library(plyr); library(dplyr)
## ------------------------------------------------------------------------------
## 
## Attaching package: 'plyr'
## The following objects are masked from 'package:plotly':
## 
##     arrange, mutate, rename, summarise
## The following object is masked from 'package:ggpubr':
## 
##     mutate
## The following objects are masked from 'package:dplyr':
## 
##     arrange, count, desc, failwith, id, mutate, rename, summarise,
##     summarize
library(ggplot2)
library(grid)
## 
## Attaching package: 'grid'
## The following object is masked from 'package:ff':
## 
##     pattern
## The following objects are masked from 'package:terra':
## 
##     arrow, depth
library(dplyr)
library(tidyr)
## Warning: package 'tidyr' was built under R version 4.1.2
## 
## Attaching package: 'tidyr'
## The following object is masked from 'package:terra':
## 
##     extract
## The following object is masked from 'package:texreg':
## 
##     extract
library(tidyverse)
## Warning: package 'tidyverse' was built under R version 4.1.2
## -- Attaching packages --------------------------------------- tidyverse 1.3.1 --
## v tibble  3.1.7     v stringr 1.4.0
## v readr   2.1.2     v forcats 0.5.1
## v purrr   0.3.4
## Warning: package 'tibble' was built under R version 4.1.3
## Warning: package 'readr' was built under R version 4.1.2
## Warning: package 'purrr' was built under R version 4.1.2
## Warning: package 'stringr' was built under R version 4.1.2
## Warning: package 'forcats' was built under R version 4.1.2
## -- Conflicts ------------------------------------------ tidyverse_conflicts() --
## x plyr::arrange()          masks plotly::arrange(), dplyr::arrange()
## x grid::arrow()            masks terra::arrow(), ggplot2::arrow()
## x lubridate::as.difftime() masks base::as.difftime()
## x data.table::between()    masks dplyr::between()
## x purrr::compact()         masks plyr::compact()
## x plyr::count()            masks dplyr::count()
## x lubridate::date()        masks base::date()
## x tidyr::extract()         masks terra::extract(), texreg::extract()
## x plyr::failwith()         masks dplyr::failwith()
## x plotly::filter()         masks dplyr::filter(), stats::filter()
## x xts::first()             masks data.table::first(), dplyr::first()
## x lubridate::hour()        masks data.table::hour()
## x plyr::id()               masks dplyr::id()
## x lubridate::intersect()   masks terra::intersect(), base::intersect()
## x lubridate::isoweek()     masks data.table::isoweek()
## x dplyr::lag()             masks stats::lag()
## x xts::last()              masks data.table::last(), dplyr::last()
## x lubridate::mday()        masks data.table::mday()
## x lubridate::minute()      masks data.table::minute()
## x lubridate::month()       masks data.table::month()
## x plyr::mutate()           masks plotly::mutate(), ggpubr::mutate(), dplyr::mutate()
## x lubridate::quarter()     masks data.table::quarter()
## x dplyr::recode()          masks car::recode()
## x plyr::rename()           masks plotly::rename(), dplyr::rename()
## x lubridate::second()      masks data.table::second()
## x lubridate::setdiff()     masks base::setdiff()
## x shinyjs::show()          masks quantmod::show(), lubridate::show(), sp::show(), texreg::show(), methods::show()
## x purrr::some()            masks car::some()
## x terra::src()             masks dplyr::src()
## x plyr::summarise()        masks plotly::summarise(), dplyr::summarise()
## x plyr::summarize()        masks dplyr::summarize()
## x purrr::transpose()       masks data.table::transpose()
## x lubridate::union()       masks terra::union(), base::union()
## x lubridate::wday()        masks data.table::wday()
## x lubridate::week()        masks data.table::week()
## x lubridate::yday()        masks data.table::yday()
## x lubridate::year()        masks data.table::year()
library(lubridate)
library(dygraphs)
## Warning: package 'dygraphs' was built under R version 4.1.2
library(zoo)
library(heatmaply)
## Warning: package 'heatmaply' was built under R version 4.1.3
## Loading required package: viridis
## Warning: package 'viridis' was built under R version 4.1.2
## Loading required package: viridisLite
## Warning: package 'viridisLite' was built under R version 4.1.2
## Registered S3 methods overwritten by 'registry':
##   method               from 
##   print.registry_field proxy
##   print.registry_entry proxy
## 
## ======================
## Welcome to heatmaply version 1.3.0
## 
## Type citation('heatmaply') for how to cite the package.
## Type ?heatmaply for the main documentation.
## 
## The github page is: https://github.com/talgalili/heatmaply/
## Please submit your suggestions and bug-reports at: https://github.com/talgalili/heatmaply/issues
## You may ask questions at stackoverflow, use the r and heatmaply tags: 
##   https://stackoverflow.com/questions/tagged/heatmaply
## ======================
library(ggcorrplot)
## Warning: package 'ggcorrplot' was built under R version 4.1.3
library(openair)
## Warning: package 'openair' was built under R version 4.1.3
library(MASS)
## 
## Attaching package: 'MASS'
## The following object is masked from 'package:plotly':
## 
##     select
## The following object is masked from 'package:terra':
## 
##     area
## The following object is masked from 'package:dplyr':
## 
##     select

Data acquisition

The following code-chunk will check if the data is already downloaded and for the COVID cases data check if it’s up-to-date.

Meta-data: https://www.arcgis.com/home/item.html?id=f10774f1c63e40168479a1feb6c7ca74

Aggregate by Meldedatum

Convert to date format

Select only districts in Baden-Württemberg

Aggregate Covid-19 cases and deaths across the different age classes

## `summarise()` has grouped output by 'IdLandkreis'. You can override using the
## `.groups` argument.

Bring to wide format and then back to long format - this ensures that we have an entry for each date and each district,

Replace NA with zeros

7-day rolling mean and 7-day sum

## `summarise()` has grouped output by 'IdLandkreis'. You can override using the
## `.groups` argument.

Aggregate for each calender week

Load spatial data and join RKI data to it

## Reading layer `VG250_KRS' from data source 
##   `C:\Users\mahir.bhatt\Documents\RA\Analysis\data\vg250-ew_12-31.utm32s.shape.ebenen\vg250-ew_ebenen_1231\VG250_KRS.shp' 
##   using driver `ESRI Shapefile'
## Simple feature collection with 431 features and 25 fields
## Geometry type: MULTIPOLYGON
## Dimension:     XY
## Bounding box:  xmin: 280371.1 ymin: 5235856 xmax: 921292.4 ymax: 6101487
## Projected CRS: ETRS89 / UTM zone 32N

Select Baden-Württemberg only

The attribute ARS from the spatial dataset can be linked to IdLandkreis from the COVID 19 dataset

Remove water bodies

Aggregate over whole period

Get the indicies of the fields that contain cases for each week. We can do this based on the field name as all of the relevant fields start with the pattern casesWeek_.

Calculate the total number of cases for each district over the whole period.

Divide by the inhabitants per district to get the incidence rate per 100,000 inhabitants.

Add covariates

The data has been extracted from: https://www.inkar.de/ Meta-data is available at this page as well - unfortunately in German only. Field names are in German as well

Join with the spatial data aggregated at weekly basis:

## Rows: 44 Columns: 33
## -- Column specification --------------------------------------------------------
## Delimiter: ","
## dbl (33): Afd, Landlichkeit, Arbeitslosenquote, Kurzarbeiter, Einwohner von ...
## 
## i Use `spec()` to retrieve the full column specification for this data.
## i Specify the column types or set `show_col_types = FALSE` to quiet this message.
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Stimmenanteile.AfD + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 113.3945735)
## 
## Deviance Residuals: 
##      Min        1Q    Median        3Q       Max  
## -2.63927  -0.53356  -0.01601   0.66811   2.01495  
## 
## Coefficients:
##                     Estimate Std. Error z value Pr(>|z|)    
## (Intercept)        -2.131602   0.075465 -28.246  < 2e-16 ***
## Stimmenanteile.AfD  0.028971   0.005946   4.872  1.1e-06 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(113.3946) family taken to be 1)
## 
##     Null deviance: 67.783  on 43  degrees of freedom
## Residual deviance: 44.075  on 42  degrees of freedom
## AIC: 849.87
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  113.4 
##           Std. Err.:  24.2 
## 
##  2 x log-likelihood:  -843.873
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.12 0.10 – 0.14 <0.001
Stimmenanteile AfD 1.03 1.02 – 1.04 <0.001
Observations 44
R2 Nagelkerke 0.530
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Laendlichkeit + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 75.50399099)
## 
## Deviance Residuals: 
##      Min        1Q    Median        3Q       Max  
## -3.11409  -0.48702  -0.03291   0.56542   2.25712  
## 
## Coefficients:
##                 Estimate Std. Error z value Pr(>|z|)    
## (Intercept)   -1.7842311  0.0230895  -77.28   <2e-16 ***
## Laendlichkeit  0.0009266  0.0008825    1.05    0.294    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(75.504) family taken to be 1)
## 
##     Null deviance: 45.191  on 43  degrees of freedom
## Residual deviance: 44.114  on 42  degrees of freedom
## AIC: 867.79
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  75.5 
##           Std. Err.:  16.1 
## 
##  2 x log-likelihood:  -861.788
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.17 0.16 – 0.18 <0.001
Laendlichkeit 1.00 1.00 – 1.00 0.294
Observations 44
R2 Nagelkerke 0.038
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Landwirtschaftsflache + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 75.71085436)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -3.0447  -0.6256  -0.1148   0.5296   2.2493  
## 
## Coefficients:
##                        Estimate Std. Error z value Pr(>|z|)    
## (Intercept)           -1.838260   0.065977 -27.862   <2e-16 ***
## Landwirtschaftsflache  0.001690   0.001537   1.099    0.272    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(75.7109) family taken to be 1)
## 
##     Null deviance: 45.315  on 43  degrees of freedom
## Residual deviance: 44.111  on 42  degrees of freedom
## AIC: 867.67
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  75.7 
##           Std. Err.:  16.1 
## 
##  2 x log-likelihood:  -861.666
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.16 0.14 – 0.18 <0.001
Landwirtschaftsflache 1.00 1.00 – 1.00 0.272
Observations 44
R2 Nagelkerke 0.042
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Allgemeinaerzte + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 74.96050305)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -3.1147  -0.6806   0.0138   0.6459   1.9071  
## 
## Coefficients:
##                 Estimate Std. Error z value Pr(>|z|)    
## (Intercept)     -1.66930    0.11528 -14.481   <2e-16 ***
## Allgemeinaerzte -0.02304    0.02655  -0.868    0.385    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(74.9605) family taken to be 1)
## 
##     Null deviance: 44.867  on 43  degrees of freedom
## Residual deviance: 44.108  on 42  degrees of freedom
## AIC: 868.1
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  75.0 
##           Std. Err.:  16.0 
## 
##  2 x log-likelihood:  -862.1
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.19 0.15 – 0.24 <0.001
Allgemeinaerzte 0.98 0.93 – 1.03 0.385
Observations 44
R2 Nagelkerke 0.027
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Krankenhausbetten + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 78.8233937)
## 
## Deviance Residuals: 
##      Min        1Q    Median        3Q       Max  
## -2.31003  -0.73124  -0.08657   0.57510   2.35779  
## 
## Coefficients:
##                    Estimate Std. Error z value Pr(>|z|)    
## (Intercept)       -1.718352   0.032186 -53.387   <2e-16 ***
## Krankenhausbetten -0.009157   0.004987  -1.836   0.0663 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(78.8234) family taken to be 1)
## 
##     Null deviance: 47.173  on 43  degrees of freedom
## Residual deviance: 44.104  on 42  degrees of freedom
## AIC: 865.89
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  78.8 
##           Std. Err.:  16.8 
## 
##  2 x log-likelihood:  -859.886
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.18 0.17 – 0.19 <0.001
Krankenhausbetten 0.99 0.98 – 1.00 0.066
Observations 44
R2 Nagelkerke 0.102
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Internisten + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 76.15384942)
## 
## Deviance Residuals: 
##      Min        1Q    Median        3Q       Max  
## -2.81597  -0.66797  -0.07269   0.48011   2.31296  
## 
## Coefficients:
##             Estimate Std. Error z value Pr(>|z|)    
## (Intercept) -1.73027    0.03571 -48.457   <2e-16 ***
## Internisten -0.03922    0.03220  -1.218    0.223    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(76.1538) family taken to be 1)
## 
##     Null deviance: 45.579  on 43  degrees of freedom
## Residual deviance: 44.110  on 42  degrees of freedom
## AIC: 867.41
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  76.2 
##           Std. Err.:  16.2 
## 
##  2 x log-likelihood:  -861.407
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.18 0.17 – 0.19 <0.001
Internisten 0.96 0.90 – 1.02 0.223
Observations 44
R2 Nagelkerke 0.051
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Kinderartze + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 83.45652938)
## 
## Deviance Residuals: 
##      Min        1Q    Median        3Q       Max  
## -2.61072  -0.74219   0.01955   0.39728   2.64477  
## 
## Coefficients:
##             Estimate Std. Error z value Pr(>|z|)    
## (Intercept) -1.61714    0.06451 -25.068   <2e-16 ***
## Kinderartze -0.02991    0.01229  -2.434    0.015 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(83.4565) family taken to be 1)
## 
##     Null deviance: 49.937  on 43  degrees of freedom
## Residual deviance: 44.109  on 42  degrees of freedom
## AIC: 863.38
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  83.5 
##           Std. Err.:  17.8 
## 
##  2 x log-likelihood:  -857.378
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.20 0.17 – 0.23 <0.001
Kinderartze 0.97 0.95 – 0.99 0.015
Observations 44
R2 Nagelkerke 0.183
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Einpendler + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 77.38047744)
## 
## Deviance Residuals: 
##      Min        1Q    Median        3Q       Max  
## -2.85199  -0.68017  -0.05324   0.51068   2.57007  
## 
## Coefficients:
##              Estimate Std. Error z value Pr(>|z|)    
## (Intercept) -1.706388   0.045076 -37.856   <2e-16 ***
## Einpendler  -0.001718   0.001154  -1.488    0.137    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(77.3805) family taken to be 1)
## 
##     Null deviance: 46.311  on 43  degrees of freedom
## Residual deviance: 44.113  on 42  degrees of freedom
## AIC: 866.71
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  77.4 
##           Std. Err.:  16.5 
## 
##  2 x log-likelihood:  -860.708
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.18 0.17 – 0.20 <0.001
Einpendler 1.00 1.00 – 1.00 0.137
Observations 44
R2 Nagelkerke 0.075
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Auspendler + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 77.49467384)
## 
## Deviance Residuals: 
##      Min        1Q    Median        3Q       Max  
## -3.12176  -0.58357  -0.07036   0.63479   2.44242  
## 
## Coefficients:
##              Estimate Std. Error z value Pr(>|z|)    
## (Intercept) -1.685379   0.057746 -29.186   <2e-16 ***
## Auspendler  -0.002266   0.001504  -1.506    0.132    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(77.4947) family taken to be 1)
## 
##     Null deviance: 46.379  on 43  degrees of freedom
## Residual deviance: 44.112  on 42  degrees of freedom
## AIC: 866.64
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  77.5 
##           Std. Err.:  16.5 
## 
##  2 x log-likelihood:  -860.641
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.19 0.17 – 0.21 <0.001
Auspendler 1.00 0.99 – 1.00 0.132
Observations 44
R2 Nagelkerke 0.077
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Asylbewerber + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 76.50244761)
## 
## Deviance Residuals: 
##      Min        1Q    Median        3Q       Max  
## -2.60726  -0.64284  -0.01529   0.64368   2.21620  
## 
## Coefficients:
##              Estimate Std. Error z value Pr(>|z|)    
## (Intercept)  -1.69334    0.05807 -29.160   <2e-16 ***
## Asylbewerber -0.01932    0.01428  -1.353    0.176    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(76.5024) family taken to be 1)
## 
##     Null deviance: 45.787  on 43  degrees of freedom
## Residual deviance: 44.108  on 42  degrees of freedom
## AIC: 867.2
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  76.5 
##           Std. Err.:  16.3 
## 
##  2 x log-likelihood:  -861.205
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.18 0.16 – 0.21 <0.001
Asylbewerber 0.98 0.95 – 1.01 0.176
Observations 44
R2 Nagelkerke 0.058
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ Arbeitslosenquote + offset(log(EWZ)), 
##     data = kreiseWf, link = "log", init.theta = 73.70311176)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -3.2080  -0.6076   0.0026   0.5754   2.0601  
## 
## Coefficients:
##                   Estimate Std. Error z value Pr(>|z|)    
## (Intercept)       -1.77246    0.07107 -24.939   <2e-16 ***
## Arbeitslosenquote  0.00138    0.02178   0.063    0.949    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(73.7031) family taken to be 1)
## 
##     Null deviance: 44.116  on 43  degrees of freedom
## Residual deviance: 44.112  on 42  degrees of freedom
## AIC: 868.85
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  73.7 
##           Std. Err.:  15.7 
## 
##  2 x log-likelihood:  -862.848
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.17 0.15 – 0.19 <0.001
Arbeitslosenquote 1.00 0.96 – 1.04 0.949
Observations 44
R2 Nagelkerke 0.000
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ `Beschaftigte mit akademischem Berufsabschluss` + 
##     offset(log(EWZ)), data = kreiseWf, link = "log", init.theta = 75.9608191)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -3.2718  -0.6223   0.0146   0.5507   2.0830  
## 
## Coefficients:
##                                                   Estimate Std. Error z value
## (Intercept)                                     -1.764e+00  1.768e-02 -99.786
## `Beschaftigte mit akademischem Berufsabschluss` -6.882e-05  5.795e-05  -1.188
##                                                 Pr(>|z|)    
## (Intercept)                                       <2e-16 ***
## `Beschaftigte mit akademischem Berufsabschluss`    0.235    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(75.9608) family taken to be 1)
## 
##     Null deviance: 45.464  on 43  degrees of freedom
## Residual deviance: 44.111  on 42  degrees of freedom
## AIC: 867.52
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  76.0 
##           Std. Err.:  16.2 
## 
##  2 x log-likelihood:  -861.52
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.17 0.17 – 0.18 <0.001
Beschaftigte mit
akademischem
Berufsabschluss
1.00 1.00 – 1.00 0.235
Observations 44
R2 Nagelkerke 0.047
## 
## Call:
## glm.nb(formula = sumCasesTotal ~ `Beschaftigte mit Anforderungsniveau Fachkraft` + 
##     offset(log(EWZ)), data = kreiseWf, link = "log", init.theta = 75.87971433)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -3.2671  -0.6185   0.0071   0.5545   2.0828  
## 
## Coefficients:
##                                                   Estimate Std. Error z value
## (Intercept)                                     -1.761e+00  1.835e-02 -95.959
## `Beschaftigte mit Anforderungsniveau Fachkraft` -6.911e-05  5.923e-05  -1.167
##                                                 Pr(>|z|)    
## (Intercept)                                       <2e-16 ***
## `Beschaftigte mit Anforderungsniveau Fachkraft`    0.243    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(75.8797) family taken to be 1)
## 
##     Null deviance: 45.415  on 43  degrees of freedom
## Residual deviance: 44.111  on 42  degrees of freedom
## AIC: 867.57
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  75.9 
##           Std. Err.:  16.2 
## 
##  2 x log-likelihood:  -861.567
  sum Cases Total
Predictors Incidence Rate Ratios CI p
(Intercept) 0.17 0.17 – 0.18 <0.001
Beschaftigte mit
Anforderungsniveau
Fachkraft
1.00 1.00 – 1.00 0.243
Observations 44
R2 Nagelkerke 0.045
## Reading layer `merge_sent_update' from data source 
##   `C:\Users\mahir.bhatt\Documents\RA\Analysis\Tweet sentiment\merge_sent_update.gpkg' 
##   using driver `GPKG'
## Simple feature collection with 28416 features and 23 fields
## Geometry type: POINT
## Dimension:     XY
## Bounding box:  xmin: 392571.4 ymin: 5267562 xmax: 599918.5 ymax: 5510049
## Projected CRS: WGS 84 / UTM zone 32N
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Stimmenanteile.AfD + offset(log(`No.of tweets`)), :
## alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Stimmenanteile.AfD + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 2158.437633)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.2431  -0.9335  -0.5483   0.7184   2.2880  
## 
## Coefficients:
##                      Estimate Std. Error z value Pr(>|z|)    
## (Intercept)        -10.561191   0.044439 -237.66   <2e-16 ***
## Stimmenanteile.AfD   0.223168   0.003843   58.08   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(2158.438) family taken to be 1)
## 
##     Null deviance: 29072  on 28415  degrees of freedom
## Residual deviance: 26128  on 28414  degrees of freedom
## AIC: 49259
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  2158 
##           Std. Err.:  980 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -49253.15
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Stimmenanteile AfD 1.25 1.24 – 1.26 <0.001
Observations 28416
R2 Nagelkerke 0.154
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Laendlichkeit + offset(log(`No.of tweets`)), :
## alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Laendlichkeit + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 2101.891253)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.4178  -0.8807  -0.5013   0.8184   2.3138  
## 
## Coefficients:
##                 Estimate Std. Error z value Pr(>|z|)    
## (Intercept)   -8.3477291  0.0103998 -802.68   <2e-16 ***
## Laendlichkeit  0.0372396  0.0005648   65.93   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(2101.891) family taken to be 1)
## 
##     Null deviance: 29072  on 28415  degrees of freedom
## Residual deviance: 26212  on 28414  degrees of freedom
## AIC: 49343
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  2102 
##           Std. Err.:  1031 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -49337.03
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Laendlichkeit 1.04 1.04 – 1.04 <0.001
Observations 28416
R2 Nagelkerke 0.149
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Landwirtschaftsflache + offset(log(`No.of
## tweets`)), : alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Landwirtschaftsflache + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 1627.053266)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.3253  -0.8263  -0.5451   0.7088   2.4022  
## 
## Coefficients:
##                         Estimate Std. Error z value Pr(>|z|)    
## (Intercept)           -9.3985760  0.0293979 -319.70   <2e-16 ***
## Landwirtschaftsflache  0.0361733  0.0007588   47.67   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(1627.053) family taken to be 1)
## 
##     Null deviance: 29070  on 28415  degrees of freedom
## Residual deviance: 26858  on 28414  degrees of freedom
## AIC: 49992
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  1627 
##           Std. Err.:  682 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -49985.55
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Landwirtschaftsflache 1.04 1.04 – 1.04 <0.001
Observations 28416
R2 Nagelkerke 0.117
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Allgemeinaerzte + offset(log(`No.of tweets`)), :
## alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Allgemeinaerzte + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 1681.516395)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.3356  -0.8198  -0.5132   0.7765   2.3355  
## 
## Coefficients:
##                  Estimate Std. Error z value Pr(>|z|)    
## (Intercept)     -10.51479    0.05108 -205.86   <2e-16 ***
## Allgemeinaerzte   0.59543    0.01225   48.63   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(1681.516) family taken to be 1)
## 
##     Null deviance: 29071  on 28415  degrees of freedom
## Residual deviance: 26941  on 28414  degrees of freedom
## AIC: 50074
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  1682 
##           Std. Err.:  721 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -50067.84
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Allgemeinaerzte 1.81 1.77 – 1.86 <0.001
Observations 28416
R2 Nagelkerke 0.113
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Krankenhausbetten + offset(log(`No.of tweets`)), :
## alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Krankenhausbetten + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 1093.035453)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.4897  -0.8492  -0.4538   0.7565   2.4667  
## 
## Coefficients:
##                    Estimate Std. Error z value Pr(>|z|)    
## (Intercept)       -7.821649   0.020877 -374.65   <2e-16 ***
## Krankenhausbetten -0.052256   0.002974  -17.57   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(1093.035) family taken to be 1)
## 
##     Null deviance: 29067  on 28415  degrees of freedom
## Residual deviance: 28730  on 28414  degrees of freedom
## AIC: 51866
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  1093 
##           Std. Err.:  488 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -51860.32
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Krankenhausbetten 0.95 0.94 – 0.95 <0.001
Observations 28416
R2 Nagelkerke 0.018
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Internisten + offset(log(`No.of tweets`)), link =
## "log", : alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Internisten + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 1001.59299)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.5165  -0.8424  -0.4610   0.8053   2.4811  
## 
## Coefficients:
##             Estimate Std. Error z value Pr(>|z|)    
## (Intercept) -7.82459    0.02628  -297.7   <2e-16 ***
## Internisten -0.30488    0.02259   -13.5   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(1001.593) family taken to be 1)
## 
##     Null deviance: 29066  on 28415  degrees of freedom
## Residual deviance: 28875  on 28414  degrees of freedom
## AIC: 52013
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  1002 
##           Std. Err.:  458 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -52006.6
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Internisten 0.74 0.71 – 0.77 <0.001
Observations 28416
R2 Nagelkerke 0.010
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Kinderartze + offset(log(`No.of tweets`)), link =
## "log", : alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Kinderartze + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 1097.607092)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.4102  -0.8249  -0.5128   0.8268   2.6093  
## 
## Coefficients:
##              Estimate Std. Error z value Pr(>|z|)    
## (Intercept) -6.347675   0.050713 -125.17   <2e-16 ***
## Kinderartze -0.315590   0.008929  -35.34   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(1097.607) family taken to be 1)
## 
##     Null deviance: 29067  on 28415  degrees of freedom
## Residual deviance: 27797  on 28414  degrees of freedom
## AIC: 50934
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  1098 
##           Std. Err.:  428 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -50927.89
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Kinderartze 0.73 0.72 – 0.74 <0.001
Observations 28416
R2 Nagelkerke 0.068
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Einpendler + offset(log(`No.of tweets`)), link =
## "log", : alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Kinderartze + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 1097.607092)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.4102  -0.8249  -0.5128   0.8268   2.6093  
## 
## Coefficients:
##              Estimate Std. Error z value Pr(>|z|)    
## (Intercept) -6.347675   0.050713 -125.17   <2e-16 ***
## Kinderartze -0.315590   0.008929  -35.34   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(1097.607) family taken to be 1)
## 
##     Null deviance: 29067  on 28415  degrees of freedom
## Residual deviance: 27797  on 28414  degrees of freedom
## AIC: 50934
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  1098 
##           Std. Err.:  428 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -50927.89
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Kinderartze 0.73 0.72 – 0.74 <0.001
Observations 28416
R2 Nagelkerke 0.068
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Auspendler + offset(log(`No.of tweets`)), link =
## "log", : alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Einpendler + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 1667.490992)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.3629  -0.8395  -0.5803   0.8891   2.4461  
## 
## Coefficients:
##               Estimate Std. Error z value Pr(>|z|)    
## (Intercept) -6.7460806  0.0257068  -262.4   <2e-16 ***
## Einpendler  -0.0302816  0.0005577   -54.3   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(1667.491) family taken to be 1)
## 
##     Null deviance: 29071  on 28415  degrees of freedom
## Residual deviance: 26357  on 28414  degrees of freedom
## AIC: 49490
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  1667 
##           Std. Err.:  691 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -49483.56
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Einpendler 0.97 0.97 – 0.97 <0.001
Observations 28416
R2 Nagelkerke 0.142
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Asylbewerber + offset(log(`No.of tweets`)), :
## alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Auspendler + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 951.036219)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.5427  -0.8748  -0.4513   0.8126   2.5046  
## 
## Coefficients:
##              Estimate Std. Error  z value Pr(>|z|)    
## (Intercept) -7.969442   0.046106 -172.851  < 2e-16 ***
## Auspendler  -0.005084   0.001181   -4.304 1.68e-05 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(951.0362) family taken to be 1)
## 
##     Null deviance: 29066  on 28415  degrees of freedom
## Residual deviance: 29048  on 28414  degrees of freedom
## AIC: 52186
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  951 
##           Std. Err.:  451 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -52179.69
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Auspendler 0.99 0.99 – 1.00 <0.001
Observations 28416
R2 Nagelkerke 0.001
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ Arbeitslosenquote + offset(log(`No.of tweets`)), :
## alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Asylbewerber + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 1071.700849)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.5307  -0.8577  -0.4811   0.8327   2.5461  
## 
## Coefficients:
##               Estimate Std. Error z value Pr(>|z|)    
## (Intercept)  -7.482770   0.036998  -202.2   <2e-16 ***
## Asylbewerber -0.156596   0.008418   -18.6   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(1071.701) family taken to be 1)
## 
##     Null deviance: 29067  on 28415  degrees of freedom
## Residual deviance: 28705  on 28414  degrees of freedom
## AIC: 51842
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  1072 
##           Std. Err.:  522 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -51835.84
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Asylbewerber 0.86 0.84 – 0.87 <0.001
Observations 28416
R2 Nagelkerke 0.020
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ `Beschaftigte mit akademischem Berufsabschluss` + :
## alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ Arbeitslosenquote + offset(log(`No.of tweets`)), 
##     data = kreistf, link = "log", init.theta = 1302.173412)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.3316  -0.8833  -0.5061   0.6795   2.5678  
## 
## Coefficients:
##                   Estimate Std. Error z value Pr(>|z|)    
## (Intercept)       -5.95092    0.05244 -113.48   <2e-16 ***
## Arbeitslosenquote -0.61571    0.01486  -41.42   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(1302.173) family taken to be 1)
## 
##     Null deviance: 29069  on 28415  degrees of freedom
## Residual deviance: 27311  on 28414  degrees of freedom
## AIC: 50446
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  1302 
##           Std. Err.:  495 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -50440.02
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Arbeitslosenquote 0.54 0.52 – 0.56 <0.001
Observations 28416
R2 Nagelkerke 0.094
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached

## Warning in theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace =
## control$trace > : iteration limit reached
## Warning in glm.nb(tweet_s ~ `Beschaftigte mit Anforderungsniveau Fachkraft` + :
## alternation limit reached
## 
## Call:
## glm.nb(formula = tweet_s ~ `Beschaftigte mit akademischem Berufsabschluss` + 
##     offset(log(`No.of tweets`)), data = kreistf, link = "log", 
##     init.theta = 2476.138553)
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.2027  -0.9503  -0.5484   0.6108   2.3604  
## 
## Coefficients:
##                                                   Estimate Std. Error z value
## (Intercept)                                     -7.762e+00  1.017e-02 -763.29
## `Beschaftigte mit akademischem Berufsabschluss` -7.182e-04  1.306e-05  -54.98
##                                                 Pr(>|z|)    
## (Intercept)                                       <2e-16 ***
## `Beschaftigte mit akademischem Berufsabschluss`   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for Negative Binomial(2476.139) family taken to be 1)
## 
##     Null deviance: 29073  on 28415  degrees of freedom
## Residual deviance: 24993  on 28414  degrees of freedom
## AIC: 48124
## 
## Number of Fisher Scoring iterations: 1
## 
## 
##               Theta:  2476 
##           Std. Err.:  1133 
## Warning while fitting theta: alternation limit reached 
## 
##  2 x log-likelihood:  -48118.06
## Profiled confidence intervals may take longer time to compute. Use
##   'ci_method="wald"' for faster computation of CIs.
  tweet s
Predictors Incidence Rate Ratios CI p
(Intercept) 0.00 0.00 – 0.00 <0.001
Beschaftigte mit
akademischem
Berufsabschluss
1.00 1.00 – 1.00 <0.001
Observations 28416
R2 Nagelkerke 0.209