Pooled_T - > t.test(Loc1, Loc2, paired=FALSE,...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Computer Code for Pooled-t tests. Uses soil pH example from class MINITAB R Code (using built-in function t.test) > # pooled t-test used in notes > > # Clear the workspace > rm(list=ls()) > > Loc1 = c(8.53, 8.52, 8.01, 7.99, 7.93, 7.89, 7.85, 7.82, 7.80) > Loc2 = c(7.85, 7.73, 7.58, 7.40, 7.35, 7.30, 7.27, 7.27, 7.23) > > # Hypothesis test for Ha: mu > 30
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: > t.test(Loc1, Loc2, paired=FALSE, var.equal=TRUE, alternative="two.sided", conf.level=0.99) Two Sample t-test data: Loc1 and Loc2 t = 4.9234, df = 16, p-value = 0.0001528 alternative hypothesis: true difference in means is not equal to 0 99 percent confidence interval: 0.2422484 0.9488627 sample estimates: mean of x mean of y 8.037778 7.442222...
View Full Document

Page1 / 5

Pooled_T - > t.test(Loc1, Loc2, paired=FALSE,...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online