search for: totalut

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

Did you mean: totalt
2009 Aug 19
2
Problem with predict.coxph
...The model runs fine. Then we create some new data that is all combinations of Price and Product and retrieve the summary linear predictors. newdata=expand.grid(Price=factor(as.character(1:5)),Product=factor(as.character(1:5))) ## create a utility matrix for all combinations of prices and products totalut<-predict(mod1,newdata=newdata,type="lp") Under R 2.7.1 this produces the following output: > totalut [,1] 1 0.01534582 2 -0.07628528 3 -0.88085189 4 -1.19458045 5 -1.03579684 6 0.40065672 7 0.15922492 8 -0.49233524 9 -0.65483441 10 -1.07739920 11 0.27589201...
2009 Apr 27
2
Problem with R 2.9.0 vs. R2.8.1 with either "survival" package or "predict" function
Just wanted to alert everyone regarding a problem that I only experience with R2.9.0 and not with R2.8.1 when I run both using exactly the same script and the same data. Here is what I do with my data "MyData", 2 predictors (V1 and V2) and my survival DV "Depvar": library(survival)