To my knowledge, there is no built‑in function in R that exactly replicates
Stata’s expoisson. The main issue is that it can be computationally heavy since
it conditions on the sum of total counts (conditional MLE). It can only be
practical in small samples. We should be able to get similar estimates using
Firth's bias correction, for example, although I myself have not tested this
claim. The brglm2 package implements Firth's bias reduction for GLMs.
Ravi
________________________________
From: R-help <[email protected]> on behalf of
[email protected] <[email protected]>
Sent: Friday, August 21, 2026 06:00
To: [email protected] <[email protected]>
Subject: R-help Digest, Vol 282, Issue 3
External Email - Use Caution
Send R-help mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://stat.ethz.ch/mailman/listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of R-help digest..."
Today's Topics:
1. How to compute an exact Poisson model with R? (iagogv)
----------------------------------------------------------------------
Message: 1
Date: Fri, 21 Aug 2026 10:21:14 +0200
From: iagogv <[email protected]>
To: R Help <[email protected]>
Subject: [R] How to compute an exact Poisson model with R?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Hi all,
Can an exact Poisson regression be computed with R, instead of using the
standard (glm) Poisson using maximum likelihood?
I am working with a collegue in a project, and I'd like to reproduce his
method, if not his results. He uses Stata, particularly the expoisson
function
(https://www.stata.com/help.cgi?expoisson<https://www.stata.com/help.cgi?expoisson>)
in order to compute
the exact Poisson regression, relevant for small samples.
expoisson fits an exact Poisson regression model, which produces more
accurate inference in small samples than standard
maximum-likelihood-based Poisson regression
I know about exact Poisson tests
(https://stat.ethz.ch/R-manual/R-devel/RHOME/library/stats/html/poisson.test.html<https://stat.ethz.ch/R-manual/R-devel/RHOME/library/stats/html/poisson.test.html>),
but it does not allow to include offset.
So, is there some way to reproduce exact Poisson regression with R?
Thanks!
Best,
--
Iago
[[alternative HTML version deleted]]
------------------------------
Subject: Digest Footer
_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
PLEASE do read the posting guide
https://www.r-project.org/posting-guide.html<https://www.r-project.org/posting-guide.html>
and provide commented, minimal, self-contained, reproducible code.
------------------------------
End of R-help Digest, Vol 282, Issue 3
**************************************
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.