Message-ID: <83F4C518-778D-4E57-93E4-F1D139E97FB7@comcast.net>
Date: 2016-12-27T20:41:58Z
From: David Winsemius
Subject: Bayesian cox model: spBayesSurv package
In-Reply-To: <CAMj135NbmJSm+Eyw0vD_GH3E_=O=WgAkhAos+C=m_m2PSWFZwQ@mail.gmail.com>
Cross posting is deprecated on rhelp but if you do so, please at least post a link to the stackoverflow address for the duplicate question.
Sent from my iPhone
> On Dec 27, 2016, at 6:52 AM, radhika sundar <radhikasundar520 at gmail.com> wrote:
>
> I am going through R's function indeptCoxph in the spBayesSurv package
> which fits a bayesian Cox model. I am confused by some of the input
> parameters to this function.
>
> What is the role of the "prediction" input parameter? Should it not only
> contain the predictor covariates? In the R code example, the authors have
> included a vector "s" which was used to initially simulate the survival
> times data in their example as well as the predictors. I'm not sure what
> this "s" is.
>
> Given that my data is just a set of survival times between 0 and 100, along
> with censored (yes/no) information, how would I use this function and how
> should I handle the input "s"?
>
>
> Thanks for any help!
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.