Displaying 2 results from an estimated 2 matches for "cmruci".
Did you mean:
cmrlci
2008 Aug 18
1
Please help: Limit single row calculation
...go through only one survey/row at the time, but instead gives outcomes of all studies/rows, which is not correct, because it uses random numbers choosen from a range in study/row 1.
How can I limit y to only go through one row?
y<-0rand<-runif(n=1,min=0,max=1)prob<-((cmr-cmrlci)^2)/((cmruci-cmrlci)*(cmr-cmrlci))if (rand<=prob) y<-sqrt(rand*(cmruci-cmrlci)*(cmr-cmrlci)) + cmrlciif (rand>prob) y<-cmruci-sqrt((1-rand)*(cmruci-cmrlci)*(cmruci-cmr))y<-round(y,digits=1)*10
Thank you in advance.
Akko Eleveld
_________________________________________________________________...
2008 Aug 19
0
R-code: for those who like a challenge; HELP
...we go....
As part of my Masters in Public Health I writing a dissertation reviewing the mortality trend of internally displaced persons in camp settings in Sub Saharan Africa. I have 50 surveys with
- crude mortality rate (cmr), CMR lower confidence interval(cmrlci), CMR upper confidence interval(cmruci),
- recall period minimum and recall period maximum (recallmin, recallmax)
- time of displacement mimimum and time of displacement maximum (todmin, todmax)
- population data at time of survey and proportion of population present in camp over time of displacement (data[9] - data[170])
Because of th...