Displaying 2 results from an estimated 2 matches for "logw".
Did you mean:
log
2011 Mar 07
0
survest() for cph() in Design package
...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 or >=70,
used as strata in the model
The SAS code is (if this helps to address my question/problem)
proc phreg data=uminers;
model rstime*cc(0)=cr500 smoke25/ entry=rsentry of...
2010 Jul 07
3
Boxplots over a Scatterplot
...foram<-data.frame(emdata)
#calculates actual dimensions in mm
foram$actual_l<-foram$length/foram$magnification
foram$actual_w<-foram$width/foram$magnification
foram$actual_h<-foram$height/foram$magnification
#takes logs of all dimensions
foram$logl<-log10(foram$actual_l)
foram$logw<-log10(foram$actual_w)
foram$logh<-log10(foram$actual_h)
#Generates scatterplot
plot(foram$stage,
foram$logl,
ylab="log max size",
xlab="stage",
cex=.1,
xaxt="n",
axes=FALSE
)
axis(at=-3:1, side=2, pos=0)
axis(at=9:84, side=1, pos=-3)
#adds a boxp...