Displaying 3 results from an estimated 3 matches for "setno".
Did you mean:
seqno
2010 Oct 22
1
scale,centre,and get more interactions
...columns:
ex:
dat$cX<-scale(as.numeric(dat$X),center = TRUE, scale = FALSE)
dat$cY<-scale(as.numeric(dat$Y),center = TRUE, scale = FALSE)
and compare the lme of centred model ran on cX and cY with the non-centred
model run on X and Y:
centred.model
<- lmer(quest.ACC~1+cX*cY+(1|Subject)+(1|SetNo),data=dat.Transfer,family='binomial')
non.centred.model<-
lmer(quest.ACC~1+X*Y+(1|Subject)+(1|SetNo),data=dat.Transfer,family='binomial')
I find that the two models give very different results not only for the
intercept of the fixed effect effects (which I can understand), but a...
2006 Nov 14
3
Plot title with numeric variables
I am trying to create a plot title in R with substitution by a numeric
variable (Figure number N) within the text which is bold and has a
subcripted part as well. Here is what I have:
title <- expression(bold(paste("Figure ", N, ": Plot ", C[max], " versus
CrCL")))
plot(1, main="") # Simple plot for testing
N <- 5
mtext(title, line=3, font=2,
2011 Mar 07
0
survest() for cph() in Design package
...) and then estimate survival based on the model. The data came
from Prof Bryan Langholz website where he also has the SAS code to this, so I am
trying to replicate the SAS results.
The data attached. Basically, the variables are:
rstime: risk set age
rsentry: fake entry time, just before rstime
setno: risk set identifier
cc: lung cancer death (0/1)
cr500: independent variable 1 (0/1), cumulative radon > 500WLM
smoke25: independent variable 2 (0/1), 1/2+ pack/dat at age 25
logw: weight to be used as an offset in the model
rstime2: indicator variable to indicate whether age is below 50, 50-69...