Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bivariate Poisson Regression in R?

Tags:

r

poisson

I found a package 'bivpois' for R which evaluates a model for two related poisson processes (for example, the number of goals by the home and the away team in a soccer game). However, this package seems to no longer be useable in newer versions of R.

Is there a reasonable way to modify the glm() function to do a similar process, or run this older package on my new version of R? I have found very little literature on these sorts of processes and have found very little in terms of easy implementation in other statistical packages like STATA.

Any suggestions would be much appreciated.

like image 375
Millsy11 Avatar asked Apr 16 '12 19:04

Millsy11


People also ask

What is the response variable in the Poisson regression model?

The response variable yi is modeled by a linear function of predictor variables and some error term. A Poisson Regression model is a Generalized Linear Model (GLM) that is used to model count data and contingency tables. The output Y (count) is a value that follows the Poisson distribution.

What is the bivariate Poisson distribution?

The bivariate Poisson is the most widely used model for bivariate counts. It was proposed by Holgate (1964) and presented by Johnson and Kotz (1969). The definition of the bivariate Poisson distribution is not unique. Several approaches have been discussed by Kocherlakota and Kocherlakota (1992).

What is the difference between negative binomial regression and Poisson regression?

If the conditional distribution of the outcome variable is over-dispersed, the confidence intervals for coefficients in Negative binomial regression are likely to be wider as compared to those from a Poisson regression. Zero-inflated regression model – Zero-inflated models attempt to account for excess zeros.

What is the difference between GLM and Poisson regression model?

In GLM: The response variable yi is modeled by a linear function of predictor variables and some error term. A Poisson Regression model is a Generalized Linear Model (GLM) that is used to model count data and contingency tables. The output Y (count) is a value that follows the Poisson distribution.


1 Answers

While CRAN does not host a current binary of bivpois, you can build the package from the archived source code (see http://cran.r-project.org/doc/manuals/R-exts.html#Checking-and-building-packages ). Building bivpois 0.50-3.1 from source (available at http://cran.r-project.org/src/contrib/Archive/bivpois/) works for me on R 2.15.0 Windows x64. The zipped Windows binary I built is available here: http://commondatastorage.googleapis.com/jthetzel-public/bivpois_0.50-3.1.zip .

like image 95
jthetzel Avatar answered Oct 20 '22 10:10

jthetzel