search for: weidacher

Displaying 4 results from an estimated 4 matches for "weidacher".

2009 May 13
1
Nagelkerkes R2N
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): index.orig training test Dxy -0.3639222921368090891
2009 May 29
3
How to replace Inf by zero?
Hi R users, Someone knows how to replace Infinite value by zero. I have a vector with some Inf value and I want to substitute these values by zero to get the mean of the components of the vector. Any idea? Many thanks, Marlene. [[alternative HTML version deleted]]
2009 May 29
1
final value of nnet with censored=TRUE for survival analysis
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, Wts=rep(0,22), Hess=TRUE) where cat is a matrix with a row for each record and
2009 Jun 07
1
Inf in nnet final value for validation data
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): # prob-matrix pmatrix <- cat*fittedValues tmp <- rowSums(pmatrix) # -log likelihood