Re: [R] two-way group mean prediction in survreg with three factors

2011-05-06 Thread Pang Du
Robinson [mailto:a.robin...@ms.unimelb.edu.au] > Sent: Wednesday, May 04, 2011 10:13 PM > To: Pang Du > Cc: r-help@r-project.org > Subject: Re: [R] two-way group mean prediction in survreg with three factors > > I hope not! > > Facetiousness aside, the model that you

Re: [R] two-way group mean prediction in survreg with three factors

2011-05-05 Thread Andrew Robinson
2011 10:13 PM > To: Pang Du > Cc: r-help@r-project.org > Subject: Re: [R] two-way group mean prediction in survreg with three factors > > I hope not! > > Facetiousness aside, the model that you have fit contains C, and, > indeed, an interaction between A and C. So, the effect

Re: [R] two-way group mean prediction in survreg with three factors

2011-05-05 Thread Pang Du
.au] Sent: Wednesday, May 04, 2011 10:13 PM To: Pang Du Cc: r-help@r-project.org Subject: Re: [R] two-way group mean prediction in survreg with three factors I hope not! Facetiousness aside, the model that you have fit contains C, and, indeed, an interaction between A and C. So, the effect of A upon th

Re: [R] two-way group mean prediction in survreg with three factors

2011-05-04 Thread Andrew Robinson
I hope not! Facetiousness aside, the model that you have fit contains C, and, indeed, an interaction between A and C. So, the effect of A upon the response variable depends on the level of C. The summary you want must marginalize C somehow, probably by a weighted or unweighted average across its

[R] two-way group mean prediction in survreg with three factors

2011-05-04 Thread Pang Du
I'm fitting a regression model for censored data with three categorical predictors, say A, B, C. My final model based on the survreg function is Surv(..) ~ A*(B+C). I know the three-way group mean estimates can be computed using the predict function. But is there any way to obtain two-way group