[R] Inf in nnet final value for validation data

2009-06-07 Thread Andrea Weidacher
Hi, I use nnet for my classification problem and have a problem concerning the calculation of the final value for my validation data.(nnet only calculates the final value for the training data). I made my own final value formula (for the training data I get the same value as nnet): # pro

[R] final value of nnet with censored=TRUE for survival analysis

2009-05-29 Thread Andrea Weidacher
Hi there, I´ve a question concerning the nnet package in the area of survival analysis: what is the final value, which is computed to fit the model with the following nnet-c all: net <- nnet(cat~x, data=d, size=2, decay=0.1, censored=TRUE, maxit=20,

[R] Nagelkerkes R2N

2009-05-13 Thread Andrea Weidacher
Hello All, as I´m new to R and survival analysis, I´ve got a question about the Design::validate function: My Code: cox <- cph(Surv(t,status) ~ var1 + var2 + var3, data=data, x=TRUE, y=TRUE, surv=TRUE) cox.val <- validate(cox, B=10, dxy=TRUE, pr=TRUE); My output (cox.val): inde