Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
0
answers
663
views
choice between zero inflated poisson and zero inflated negative binomial
For count data with excessive number of zeros, there are two choices of models, zero inflated poisson and zero inflated negative binomial. … To me, zero inflated negative binomial has an extra parameter for variance part which allows more flexible variance structure as compared to zero inflated poisson. …
1
vote
1
answer
603
views
Overfitting of Zero-inflated Poisson
I'm trying to fit the data with 0s with Poisson, Negative Binomial, Zero-inflated Poisson and Zero-inflated negative binomial and discuss which model is more desired. … When I'm trying to calculate the zero proportion from the model, I found that ZIP models the zero proportion exact the same with the original zero proportion. …
14
votes
1
answer
1k
views
Zero-inflated Poisson regression
}(\textbf{p}) &= \log(\textbf{p}/(1-\textbf{p})) = \textbf{G} \mathbf{\lambda}.
}$$
If the same covariates affect $\mathbf{\lambda}$ and $\textbf{p}$ so that $\textbf{B} = \textbf{G}$, then why does zero … inflated Poisson regression require twice as many parameters as Poisson regression? …
2
votes
2
answers
772
views
Fit a zero-inflated Poisson GAM
I am trying to fit a zero-inflated Poisson GAM to my count data, and I want a log link. ziP() from the mgcv package does not support the log link.
What can I do? …
3
votes
1
answer
4k
views
Zero inflated Poisson model
However due to excessive zeros I was advised to consider zero inflated models. How can I implement this in R and address non parametric associations of temperature, humidity and time trend? … What is the criterion to use zero inflated models for a count data?
How do I run zero inflated model and how do I check the fit? …
1
vote
0
answers
321
views
Zero-inflated poisson model producing NaN results [closed]
I have been trying to run a zero-inflated poisson model as follows:
Model2_2_4 <- zeroinfl(Conflict.intensity ~ Distance.from.fence + Distance.from.water + Distance.from.roads + Elevation, data = data2 …
3
votes
2
answers
864
views
Ordinal data and zero inflated Poisson regression
Can we use zero inflated Poisson regression to model this? …
2
votes
0
answers
151
views
Zero-inflated Poisson distribution parameter estimates
Let's say we have a population distributed by Zero-inflated Poisson distribution:
$$ f(x | \psi, \lambda) =
\left\{
\begin{array}{ll}
1-\psi + \psi e^{-\lambda} & \mbox{if } x = 0 \\
\psi \frac …
1
vote
1
answer
713
views
Estimate π of zero inflated Poisson
Can anyone show how to estimated the π of the zero-inflated-Poisson?
f(y)=π+(1−π)e^(−λ), if y=0;
=(1−π)λ^ye^(−λ)/y!, if y=1,2.... … where π is the probability that the observation is zero by a binomial process and λ is the mean of the Poisson. …
3
votes
0
answers
714
views
Interpreting zero-inflated Poisson regression
I fitted a zero-inflated Poisson regression with "group" (4 groups in total) as indepentdent variable and nchoice (frequency that a person choose a certain answer) as dependent variable. … output:
Call:
zeroinfl(formula = nchoice ~ group | group, data = data)
Pearson residuals:
Min 1Q Median 3Q Max
-0.4080 -0.3979 -0.3717 -0.3198 3.3936
Count model coefficients (poisson …
2
votes
1
answer
2k
views
Using gamm4 on zero-inflated count data with Tweedie or zero-inflated Poisson distributions
I've been trying to model this data using a Tweedie distribution (which I've been told is more robust than Poisson or negative binomial distributions) or a zero-inflated Poisson distribution, but both … Is there a better family I should be using for this zero-inflated data? Thank you for your help. …
2
votes
0
answers
397
views
Zero-inflated Poisson - Implementing INLA with two likelihoods
I am trying to implement a zero inflated model in INLA. … I know a basic zero inflated Poisson can be implemented with "zeroinflatedpoisson1" as the family argument as described here (where I also took the example below). …
3
votes
1
answer
1k
views
R code for zero inflated Poisson
cuse_ppm[[3 + ppm_idx]] + cuse_ppm[[3 + ppm_idx]]^2 +
cuse_ddm[[3 + ddm_idx]]*cuse_ppm[[3 + ppm_idx]],
family=poisson … However, my next task to to use zero inflated Poisson distribution as I have a lot of zeros in my dataset. Some of these zeros are "true" zeros and some of them false. …
0
votes
1
answer
1k
views
generation of zero-inflated Poisson data in R
I want to generate data from a zero-inflated Poisson distribution in R using the mpath package in the following way:
n <- 50
p <- 20
r <- 0.5
# true parameter values
beta <- numeric(p)
beta[1] … mvrnorm(n, rep(0, length(gamma)), S)
bet0 <- matrix(beta, ncol = 1)
gama <- matrix(gamma, ncol = 1)
b <- (exp(Z %*% gama) / (1 + exp(Z %*% gama)))
a <- exp(X %*% bet0)
Y <- rzi(n, X, Z, a, b, family = "poisson …
3
votes
1
answer
859
views
How to calculate variance contribution in a Zero-Inflated Poisson regression?
I was wondering if anyone has an idea on how to calculate the contribution to variance of each independent variable in a Zero-Inflated Poisson. … Here's my function call in R in case it might be helpful, I'm using the pscl package to run the Zero-Inflated Poisson. …