[R] Confidence interval

Syd88 jhea2850 at uni.sydney.edu.au
Mon Feb 14 01:26:25 CET 2011


Hi,
I am trying to determine how many points fall ouside the confidence interval
range.

This is the code I have so far but it does not work. Any help would be
appreciated.

Count <- vector ()
for (i in 1: nrow (dataname)){
if (dataname[i] <l.ci.post[1]//
dataname[i] >u.ci.post[i]){
count[i] -> 1
}else
{count[i] -> 0}
}



symbol
// = or - not sure if this is the right symbol though
-- 
View this message in context: http://r.789695.n4.nabble.com/Confidence-interval-tp3304258p3304258.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list