Displaying 5 results from an estimated 5 matches for "95ci".
Did you mean:
95c
2011 Jul 07
1
Confidence bands in ggplot2
..." "368" "225" "301" "105" "353" "291" "179" "134" "135" "324" "360" "BB"
>From this data I have created 95% confidence intervals assuming a normal distribution.
lower.95ci <- est - se*qnorm(.975)
upper.95ci <- est + se*qnorm(.975)
What I'd like to do is plot the estimate (est) and have lines attach to the points located in lower.95ci and upper.95ci. Presently I am doing the following:
qplot(x=as.factor(sch),y=lower.95ci) + geom_point(aes(x=as.factor(sc...
2003 Aug 30
3
fisher.test() gives wrong confidence interval (PR#4019)
...h as in the
following example. Given the fact that both upper bounds of the two 95%
confidence intervals are Inf, I would have expected that the two lower
bounds be equal, but they aren't.
x <- matrix(c(9,4,0,2),2,2)
x
# [,1] [,2]
#[1,] 9 0
#[2,] 4 2
rbind("two.sided.95CI"=fisher.test(x)$conf.int,
"greater.95CI"=fisher.test(x,alt="greater")$conf.int)
# [,1] [,2]
#two.sided.95CI 0.2985103 Inf
#greater.95CI 0.4625314 Inf
Using the noncentral hypergeometric distribution, we can calculate the
probability mass of each pos...
2012 Feb 20
0
repeating or looping within an apply statement to handle multiple variables
...7 variable2 ? ?
13 13 variable2 ? ?
56 56 variable2 ? ?
78 78 variable2 ? ?
109 109 variable2 ? ?
145 145 variable2 ? ?
173 173 variable2 ? ?
212 212 variable2 ? ?
3 3 variable3 ? ?
etc...
> exp2
variable difference gel mean sd n se X95ci mean.sd
0 variable1 d5.1 0 1.0 5.567764 7 2.104417 5.149323 0.1796053
1 variable1 d5.1 1 -1.5 7.778175 2 5.500000 69.884126 -0.1928473
se.sd X95ci.sd
0 0.3779645 0.9248457
1 0.7071068 8.9846435
But, I have only been able to get the data for the first variable, despite...
2012 Jul 26
2
Error Bars ggplot2
Hello,
I'm attempting to plot error bars side by side rather than stacked on top
of each other with ggplot2. Here is the sample code I am using:
#Code
#Data
spd<-c("s","f","f","s","f","s","s","s","f","f","s","f")
r<-c(4.9,3.2,2.1,.2,3.8,6.4,7.5,1.7,3.4,4.1,2.2,5)
2011 Feb 23
5
mgcv: beta coefficient and 95%CI
Hi i am doing an environmental research
The equation is as follow:
gam(y1 ~ x1 + s(x2) + s(x3) + s(x4), family = gaussian, fit = true)
I would like to obtain the beta coefficient and 95CI of x4 (or s(x4)), what
should I do?
Thanks,
Lung
--
View this message in context: http://r.789695.n4.nabble.com/mgcv-beta-coefficient-and-95-CI-tp3320491p3320491.html
Sent from the R help mailing list archive at Nabble.com.