Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Best practices
0 votes
3 replies
36 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
0 votes
0 answers
79 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(...
2 votes
1 answer
90 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 ...
3 votes
0 answers
82 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—...
-1 votes
1 answer
115 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 ...
0 votes
0 answers
44 views

I'm working on fitting a Poisson Lee-Carter model to the Danish male population data for calendar years 1990–2010 and ages 20–90 in R. After fitting the model, I want to plot the predicted mortality ...
0 votes
0 answers
87 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/...
-1 votes
1 answer
64 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 ...
3 votes
1 answer
299 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)....
0 votes
1 answer
374 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
51 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
412 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
53 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 ...
2 votes
2 answers
106 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
548 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

AltStyle によって変換されたページ (->オリジナル) /