Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
2 answers
102 views

Consider this code: options(parameters_labels = TRUE) mydf <- pscl::bioChemists labelled::var_label(mydf) <- list(art="MyCount", fem="MyGender", ...
0 votes
1 answer
25 views

I have 3 outcome variables that I want to model with a negative binomial regression and 1 count variable I want to model with a zero-inflated negative binomial. If I use MASS::glm.nb for the first ...
robertspierre's user avatar
0 votes
1 answer
671 views

My goal is to interpret the coefficients of a hurdle model through estimated marginal means. I prefer to interpret probabilities (back-transformed from the logit scale), rather than log-odds (model ...
3 votes
1 answer
1k views

I am experimenting with the mdvis dataset from the COUNT package of R for a teaching purpose. I fitted a zero-inflated negative-binomial model using the zeroinfl function from the pscl and countreg ...
Ayalew A.'s user avatar
  • 133
2 votes
1 answer
317 views

I applied glmmTMB and zeroinfl in pscl to the same dataset. I obtained the identical coefficients for the conditional part, but the coefficients for the binary part are somewhat different. Any idea on ...
KLee's user avatar
  • 205
0 votes
0 answers
281 views

Good afternoon, I am trying to run a hurdle model with two dependent variables: probability of disease persistence (0 or 1; the 'hurdle') and disease prevalence rate given there was disease ...
Annette's user avatar
  • 15
3 votes
1 answer
892 views

Is there a way to plot hurdle model results in R? I was able to plot the zero part (binomial with logit link) of the hurdle model (below) but I can't figure out how to plot the count part of the model ...
1 vote
0 answers
124 views

Here's the setup of my hurdle model from the pscl package: m1 <- hurdle(p_eaten ~ state + species + year, data = herb, dist = "negbin", zero.dist = "binomial") ...
millie0725's user avatar
0 votes
1 answer
802 views

I would like to model / fit Value on explanatory variables Type and Material (Value ~ Material + Type). Having a look at the sample test data provided here, one could see that Material X has all zero ...
0 votes
1 answer
177 views

I am using the hurdle() function from the pscl package to run negative binomial hurdle models in R. I would like to extract only the list of z values from the model output and assign those values to a ...
W. Arlidge's user avatar
2 votes
0 answers
162 views

I'm using 'pscl' package to build hurdle models, in order to model the abundance of birds as a function of environmental variables. I am interested in predicting the probability of occurrence and ...
1 vote
0 answers
396 views

I am trying to run a Zero-Inflated Negative Binomial Count Model on some data containing the number of campaign visits by a politician by county. (Log Liklihood tests indicate Negative Binomial is ...
SPTS's user avatar
  • 13
0 votes
0 answers
209 views

My data is zero inflated so I'm running a zero-inflated model using glmmamdb: Model3z <- glmmadmb(Count3 ~ Light3 + (1|Site3), zeroInflation = T, family= "poisson", data = dframe3) However, when ...
Help's user avatar
  • 101
0 votes
0 answers
2k views

I am using R version 3.6.0 and I am following this guide in order to run a zero-inflated poisson regression on cholera data: https://stats.idre.ucla.edu/r/dae/zip/ I have installed the pscl package ...
Zookie's user avatar
  • 1
1 vote
1 answer
300 views

I am trying to run a bias-corrected percentile bootstrap for 3 different effect sizes and ran across some code from a predecessor. While this code functions, the run time takes FAR too long. It takes ...

15 30 50 per page
1
2

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