Re: [R] generate variable y to produce excess zero in ZIP analysis

2013-02-21 Thread Jagat.K.Sheth
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

Re: [R] generate variable y to produce excess zero in ZIP analysis

2013-02-20 Thread S Ellison
> 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)")

[R] generate variable y to produce excess zero in ZIP analysis

2013-02-19 Thread lili puspita rahayu
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