Displaying 2 results from an estimated 2 matches for "nainen".
2007 Jan 25
1
barplot x-axis problem
...its given in age classes. I have now successfully made
a barplot and used par(new=TRUE) to plot another empty graph at the top of
the barplot.
#tab-table:
# ikar_new
#sp 0-9 10-19 20-29 30-39 40-49 50-59 60-69 70-79 >80
# mies 227 93 79 92 195 451 560 577 132
# nainen 183 80 102 175 99 161 230 357 164
barplot(tab,
beside=TRUE,
col = c("black", "lightgrey"),
legend = rownames(tab),
ylim= c(0,800),
font.main = 4,
cex.names = 1.1,
main = "Transfused patients and trombo...
2005 Oct 06
1
Testing strata by covariate interactions in coxph
...s that I would like to test jointly (and a frailty term).
In S-plus there seems to be a function waldtest that does the job. Is there
anything similar in R that I could use?
Here is the code for my model. The covariates are a subset of all the
covariates that I use.
fit=coxph(Surv(tykesto,
tyoll)~nainen*strata(group)+I(ika-mean(ika))*strata(group)
+I(ika2-mean(ika2))*strata(group)+keski*strata(group)+korkea*strata(group)
+frailty(hnro),data=coxdata)
tyoll2 =1, if event "getting employed" has occurred, 0 otherwise
nainen = 1, if female 0 otherwise
ika = age in years at the start...