I think not considering the zero cells compromises the estimates you derive 
from you analysis. For instance, what will be the value of N used in the MLE 
estimation? 

You can ZIP - Zero Inflated Poisson which should provide you with the means to 
account for the zeros. R has funstions to do that. Form the top of my head, I 
can remember "zicount".

Ciao!

A Smile costs Nothing  
     But Rewards Everything

Happiness is not perfected until it is shared
                                                             
 -Jane Porter        


--- On Wed, 6/25/08, Peng Jiang <[EMAIL PROTECTED]> wrote:
From: Peng Jiang <[EMAIL PROTECTED]>
Subject: Re: [R] How to solve empty cells in the contingency table?
To: "程燕" <[EMAIL PROTECTED]>
Cc: r-help@r-project.org
Date: Wednesday, June 25, 2008, 3:35 AM

Hi  , yan
  I don't think that is a R specific problem. Treating missing value  
is not that trivial,
  it depends too much on your raw data and your essential problem.

regards.

On 2008-6-25, at 上午2:14, 程燕 wrote:

>
> Hi,Dear all R experts,
>
>    I am trying to do the 2-way contingency table analysis by fitting  
> the loglinear models. However, I found my table has several empty  
> cells which are theoretically missing values.I have no idea of how  
> to solve them coz we cannot compute the simulated p-value with zero  
> marginals.Does someone have some suggestions? Please help me out,  
> thanks a lot!
>
> Cheers,
> Yan
> _________________________________________________________________
> ÐÂÄê»»ÐÂÑÕ£¬¿ìÀ´×± 
> °ç×Ô¼ºµÄMSN¸øÐÄÒǵÄTAÒ»¸ö¾ªÏ²£¡
> http://im.live.cn/emoticons/?ID=18
>       [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.











--------------------------
Peng Jiang
江鹏
Ph.D. Candidate

Antai College of Economics & Management
安泰经济管理学院
Department of Mathematics
数学系
Shanghai Jiaotong University (Minhang Campus)
800 Dongchuan Road
200240 Shanghai
P. R. China

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to