search for: prederror

Displaying 2 results from an estimated 2 matches for "prederror".

1997 Dec 19
2
Error in parse
In R 0.60.1 when I source a fairly large file of code I am getting: Error in parse(file, n, text, prompt) : syntax error on line 2985 I don't see any error and it doesn't happen if I split the file in two pieces. increasing -v -n does not seem to help and does not change the location of the error. Does anyone have suggestions? Paul Gilbert
2011 Jul 12
0
Brier score for extended Cox model
...0 4 190 0 27 0 5 190 0 10 0 8 207 1 22 190 9 192 1 27 190 10 200 1 10 190 # Load pec and fit Cox model: > library(pec) > models = list("Cox"= coxph(Surv(start,time,status) ~ x1, data=dat.x)) # Compute the apparent prediction error: predError = pec(object = models, formula=Surv(start,time,status) ~ x1, data=dat.x, exact=TRUE, cens.model="marginal", replan="none", B=0, verbose=TRUE) Error in pec.list(object = models, formula = Surv(start, time, status) ~ : Survival response must at least consist of two columns: tim...