Displaying 2 results from an estimated 2 matches for "modifit".
Did you mean:
modifiy
2018 Jan 17
1
Assessing calibration of Cox model with time-dependent coefficients
...<- cut(lp, c(-Inf, quantile(lp, (1:9)
/ 10), Inf)) fit3 <- glm(y ~ -1 + group + offset(p), family = poisson, data
= data1)
Here?I simplely use data1 <- data0[1:500,]
First, I get following error when running line 5.
Error in eval(predvars, data, env) : object 'y' not found
So I modifited the code by replacing the y as status looks like this:
fit1 <- glm(status ~ offset(p), family = poisson, data = data1) fit2 <-
glm(status ~ lp + offset(logbase), family = poisson, data = data1) group <-
cut(lp, c(-Inf, quantile(lp, (1:9) / 10), Inf)) fit3 <- glm(status ~ -1 +
group +...
2018 Jan 18
1
Time-dependent coefficients in a Cox model with categorical variants
...lp, c(-Inf, quantile(lp, (1:9) / 10), Inf)) fit3 <- glm(y ~ -1 + group + offset(p), family = poisson, data = data1)
Here$B!$(BI simplely use data1$B!!(B<- data0[1:500,]
First, I get following error when running line 5.
Error in eval(predvars, data, env) : object 'y' not found
So I modifited the code by replacing the y as status looks like this:
fit1 <- glm(status ~ offset(p), family = poisson, data = data1) fit2 <- glm(status ~ lp + offset(logbase), family = poisson, data = data1) group <- cut(lp, c(-Inf, quantile(lp, (1:9) / 10), Inf)) fit3 <- glm(status ~ -1 + group +...