Displaying 2 results from an estimated 2 matches for "t_ob".
Did you mean:
t_o
2007 Nov 07
1
Homework help: t test hypothesis testing with summarized data?
...hen I don't have the actual
data, but just the summarized statistics:
> #Homework 9.2.6 [1]
> n<-31
> xbar<-3.10
> s_x<-1.469
> m<-57
> ybar<-2.43
> s_y<-1.35
> s_pooled<- (((n-1)*s_x^2) + ((m-1)*s_y^2)) / (n + m - 2)
> s_pooled
[1] 1.939521
> t_obs <- (xbar - ybar) / (s_pooled * (sqrt(1/n + 1/m)))
> t_obs
[1] 1.547951
> qt(c(.025, .975), n+m-2)
[1] -1.987934 1.987934
> # Therefore, fail to reject H0 at the 0.05 level of significance
>
Or am I again overlooking a canned procedure or an easier calculation
using the t distribu...
2012 Sep 16
1
How to plot two lines, and only one line with errorbar by qqplots of R
Here is my code, which plots three lines with errorbar. How could I add an
extra line without errorbar to the plot? Thank you very much.
beta.data <- data.frame (
method = rep(c("Wrong", "Correct", "Full Bayes"), each = T_obs),
mean.beta = c(mean.beta1, mean.beta2, mean.beta3),
t = rep(points, 3),
std.beta = c(std.beta1, std.beta2, std.beta3)
)
limits = aes(ymin = mean.beta - std.beta, ymax = mean.beta + std.beta);
maintitle = paste("beta function (std = ", std, ")", sep = "");
p + geo...