Skip to main content
1 vote
3 answers
115 views

What is being returned by PoissonRegression.predict() in sklearn when I am predicting target values from data? Is it the actual predicted value of the target?
RF2's user avatar
  • 51
Best practices
0 votes
3 replies
45 views

I have an outcome variable that is represented in days. However, this variable also includes half day values. So, for example, this variable is represented by 0, 0.5, 1.5, etc. The distribution itself ...
Jordank's user avatar
1 vote
0 answers
100 views

I'm trying to use fepois to run a poisson event study in R. The results of the model are always one coefficient for my event time. > model_poisson <- fepois( + accident_count ~ i(...
barkgoofball's user avatar
2 votes
1 answer
91 views

I am working with the New Generalized Poisson Lindley (NGPL) distribution, which is a two-parameter discrete distribution defined by parameters α (alpha) and β (beta). I wrote an R function to ...
Abdul Malik's user avatar
3 votes
0 answers
85 views

I’m estimating parameters for the Lindley (BGPL) distribution with five parameters: alpha1, beta1, alpha2, beta2, and theta, using optim() in R for MLE. However, the MLE results are not accurate—...
Abdul Malik's user avatar
-1 votes
1 answer
120 views

I am generating random samples from both numpy and scipy for a Poisson distribution, but it appears that scipy never produces values of x=0. Scipy seems to be off by x=1, i.e., it is shifted to the ...
Curtis Smith's user avatar
0 votes
0 answers
97 views

I want to load a ply file like bunny and then do poisson reconstruction. And I use the following code to do it: #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/...
granis's user avatar
  • 11
-1 votes
1 answer
69 views

I am trying to use Python to calculate mean absolute error (MAE) while doing zero-inflated Poisson regression and zero-inflated negative binomial regression. I separated data into training data and ...
Student coding's user avatar
3 votes
1 answer
331 views

I am working with a zero inflated Poisson model. I am using the glmmTMB My outcome variable is the number of burglaries in all of Texas between 2000 and 2015. My unit of analysis are counties (county)....
YouLocalRUser's user avatar
0 votes
1 answer
437 views

I am interested in estimating a Poisson fixed effects model with: where is the "age" of the observation. I am interested in the coefficients, not the other fixed effects. My first ...
cfp's user avatar
  • 208
0 votes
0 answers
52 views

I have the model: I1 <- inla(n ~ median + weight + length, control.predictor = list(compute = TRUE), quantiles = c(0.025, 0.975), control.compute=list(dic = TRUE, ...
les2004's user avatar
  • 115
1 vote
1 answer
450 views

I want to predict a fitted poisson glm on newdata, given that it was fitted using offset=log(Exposure), but I get confused with the inclusion of the term "offset" inside of predict.glm(). I ...
rmcm22's user avatar
  • 11
0 votes
1 answer
59 views

I am currently looking at country-wide population ‘censuses’ that were conducted by feeding vultures at all restaurant sites simultaneously. Simultaneous census counts were conducted twice in June ...
Emeline AUDA's user avatar
2 votes
2 answers
109 views

I have a dataframe dfof football matches and corresponding mean scoring rates for each team. The first 2 columns are Home and Away teams, the 3rd and 4th columns are mean scoring rates for Home and ...
Alex's user avatar
  • 165
0 votes
1 answer
622 views

I am trying to use R function glmmTMB::glmmTMB() to fit a generalized linear mixed-effects model to a dataset. However, I am being presented with a warning which reads Warning message: In (function (...
fre1990's user avatar
  • 177

15 30 50 per page
1
2 3 4 5
48