elp@R-project.org
> Subject: Re: [R] generate variable y to produce excess zero in ZIP
> analysis
>
> > Subject: [R] generate variable y to produce excess zero in
> > ZIP analysis
>
> Maybe something like
>
> rzip <- function(n, lambda, zip=0.0) {
> #z
> Subject: [R] generate variable y to produce excess zero in
> ZIP analysis
Maybe something like
rzip <- function(n, lambda, zip=0.0) {
#zip is the desired proportion of _excess_ zeros
if(zip>1.0 || zip <0) stop("zip must be in (0,1)")
Dear Mr/Mrs
I am Lili Puspita Rahayu, student from magister third level of Statistics in
Bogor Agriculture University.
Mr/
Mrs, now I'm analyzing the Zero inflated Poisson (ZIP), which is a solution of
the Poisson regression
where the response variable (Y) has zero excess. ZIP now
I was doing
3 matches
Mail list logo