search for: nctrl

Displaying 4 results from an estimated 4 matches for "nctrl".

Did you mean: ctrl
2008 Mar 07
0
How to do a time-stratified case-crossover analysis for air pollution data?
...ths(dates) tyyear<-as.character(dates) for (i in 1:n) { ask<-tyyear[i] tyyear[i]<-substr(ask,1,4) } #replicate cases air<-data.frame(mi, tyda, tymo, tyyear, pm10, dates) air$stratn<-as.numeric(strata(air$tyda, air$tymo,air$tyyear)) lest<-unique(air$stratn) air$nctrl<-0 airbase<-air #find the number of controls whithin each stratum for (i in 1:length(lest)) { a<-which(air$stratn==lest[i]) for (j in 1:length(a)) { air$nctrl[a[j]]<-sum(air$mi[a[-j]]) } } #create cases and controls cami<-rep(1,sum(mi)) ctmi&lt...
2008 Mar 07
0
How to do a time-stratified case-crossover analysis for air pollution data? Unformatted text-version, with an additional note
...s) tymo<-months(dates) tyyear<-as.character(dates) for (i in 1:n) { ? ask<-tyyear[i] ? tyyear[i]<-substr(ask,1,4) } #replicate cases air<-data.frame(mi, tyda, tymo, tyyear, pm10, dates) air$stratn<-as.numeric(strata(air$tyda, air$tymo,air$tyyear)) lest<-unique(air$stratn) air$nctrl<-0 airbase<-air #find the number of controls whithin each stratum for (i in 1:length(lest)) { ?? a<-which(air$stratn==lest[i]) ?? for (j in 1:length(a)) ?? { ????? air$nctrl[a[j]]<-sum(air$mi[a[-j]]) ?? } } #create cases and controls cami<-rep(1,sum(mi)) ctmi<-rep(0,sum(air$nct...
2010 Nov 10
1
Init.d script troubleshooting.
...t shutdown/reboot time. At all. I'm just confused, this ain't supposed to be this hard... Is there some way to debug init? Suggestions? Thanks <-- /etc/init.f/Fast --> #!/bin/bash # # Startup script for Fast # # chkconfig: 345 90 10 # description: Fast Search Engine # processname: nctrl echo "************************* In Fast ****************************" # Source function library . /etc/init.d/functions RETVAL=0 FASTSEARCH=/opt/Opti/9.1/Fast/fast BIN=${FASTSEARCH}/bin LIBPATH=${FASTSEARCH}/lib SHLIB=${FASTSEARCH}/lib LD_LIBRARY_PATH=${FASTSEARCH}/lib PYTHONPATH=${FAST...
2009 Jun 27
4
questions about meta-analysis
...20 137 5 Morrison 3 67 7 59 6 Papageorgiou 1 71 7 75 7 Tauesch 8 56 10 71 > a=meta.MH(n.trt,n.ctrl,ev.trt,ev.ctrl,names=name,data=cochrane) > summary(a) Fixed effects ( Mantel-Haenszel ) meta-analysis Call: meta.MH(ntrt = n.trt, nctrl = n.ctrl, ptrt = ev.trt, pctrl = ev.ctrl, names = name, data = cochrane) ------------------------------------ OR (lower 95% upper) Auckland 0.58 0.38 0.89 Block 0.16 0.02 1.45 Doran 0.25 0.07 0.81 Gamsu 0.70 0.34 1.45...