> On Oct 7, 2016, at 3:56 PM, Steven Stoline <sstol...@gmail.com> wrote: > > Dear All: > > > > I do need your help with the “log-rank test” and “Kaplan Meier actuarial > plots (time to event curve)” with adding the confidence intervals bands for > the average score for each time to the curve of each group.
If this is a request for homework assistance then the Posting Guide advises you instead to consult with your resources at whatever academic institution you are studying. The Posting Guide also suggests that you post in plain text. It appears irregular because you posted in HTML. > > > *Group variable:* 1 = group 1, 2 = group 2 > > > *Time points:* time1, time2, time3, time4, time5 > > > The goal is to compare the average scores of the two groups at each time > point and obtain the Kaplan Meier actuarial plots (time to event curve) for > the 5 time points for both groups in the plot. > > > > Please use the following data for the test. > > > time1 time2 time3 time4 time5 groups > > 0 0 1 1 1 1 > > 0 4 0 1 1 1 You should also explain to whomever is tutoring you what a "4" or any of the other values mean at time2. -- David Winsemius > > 0 0 3 1 1 1 > > 0 2 0 1 1 1 > > 0 0 3 0 0 1 > > 0 0 0 1 2 1 > > 0 1 1 1 > 1 > > 0 0 2 1 1 1 > > 0 3 1 1 1 1 > > 0 0 0 1 > 1 > > 0 0 1 0 0 1 > > 0 0 0 1 1 1 > > 0 1 1 0 1 1 > > 0 0 1 3 4 1 > > 0 1 0 0 0 1 > > 0 1 1 1 2 1 > > 0 1 1 4 1 1 > > 0 0 0 0 > 1 > > 0 2 1 1 2 1 > > > 2 > > 0 0 0 0 0 2 > > > 2 > > 0 > 2 > > 0 0 3 2 2 2 > > 0 3 0 1 1 2 > > 0 0 1 1 1 2 > > 0 > 2 > > 0 0 0 1 1 2 > > 0 1 2 0 1 2 > > 0 0 1 1 > 2 > > 0 0 1 1 2 2 > > 0 1 1 1 1 2 > > 0 0 0 1 1 2 > > 0 0 1 1 1 2 > > > 2 > > 0 2 2 1 > 2 > > 0 0 1 1 > 2 > > 0 0 0 0 0 2 > > 0 3 3 1 2 2 > > 0 1 1 1 > 2 > > 0 0 0 1 1 2 > > 0 1 1 1 4 2 > > 0 1 1 1 1 2 > > 0 1 2 1 3 2 > > > > > > Thank you in advance > > steve > > > ------------------------- > Steven M. Stoline > sstol...@gmail.com > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. David Winsemius Alameda, CA, USA ______________________________________________ R-help@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.