Displaying 3 results from an estimated 3 matches for "newd1".
Did you mean:
new1
2010 Dec 14
1
survfit
...0.99, type='coxph',
mode='lambda.fraction')
> testpred
Call:
coxph(formula = Surv(time, status) ~ x, method = object$method)
coef exp(coef) se(coef) z p
karno -0.00756 0.992 0.0364 -0.208 0.84
Likelihood ratio test=0.89 on 1 df, p=0.344 n= 7
> newd1 <- list(testall$x[1,])
> survtest <- survfit(testpred,newdata=newd1,individual=T)
> survtest
Call: survfit(formula = testpred, newdata = newd1, individual = T)
records n.max n.start events median 0.95LCL 0.95UCL
7 0 0 0 0 0 0
> sum...
2010 Dec 14
0
Urgent help requested using survfit(individual=T):
...0.99, type='coxph',
mode='lambda.fraction')
> testpred
Call:
coxph(formula = Surv(time, status) ~ x, method = object$method)
coef exp(coef) se(coef) z p
karno -0.00756 0.992 0.0364 -0.208 0.84
Likelihood ratio test=0.89 on 1 df, p=0.344 n= 7
> newd1 <- list(testall$x[1,])
> survtest <- survfit(testpred,newdata=newd1,individual=T)
> survtest
Call: survfit(formula = testpred, newdata = newd1, individual = T)
records n.max n.start events median 0.95LCL 0.95UCL
7 0 0 0 0 0 0
> sum...
2009 Jan 16
2
Predictions with GAM
Dear,
I am trying to get a prediction of my GAM on a response type. So that I
eventually get plots with the correct values on my ylab.
I have been able to get some of my GAM's working with the example shown
below:
*
model1<-gam(nsdall ~ s(jdaylitr2), data=datansd)
newd1 <- data.frame(jdaylitr2=(244:304))
pred1 <- predict.gam(model1,newd1,type="response")*
The problem I am encountering now is that I cannot seem to get it done for
the following type of model:
*model3<-gam(y_no~s(day,by=mapID),family=binomial, data=mergeday)*
My mapID consists o...