Re: T-Test Plot
- From: Philipp Pagel <pDOTpagel@xxxxxxxxxx>
- Date: Fri, 6 Feb 2009 08:49:23 +0000 (UTC)
Simon <choonching5u@xxxxxxxxx> wrote:
Good day all, does anyone know how to plot the critical region of T-
Test using open office or any suggestion? The following link is an
example. Thanks. http://wind.cc.whecn.edu/~pwildman/statnew/sectio11.gif
I'd use R for that. The following few lines roughly reproduce the plot
you had linked to:
plot(dnorm, from=-6, to=6, col='red', lwd=3, xlab='z Value', ylab='Probability Density', las=1, ylim=c(0,0.5))
grid()
abline(v=1.960, col='red')
abline(v=-1.960, col='red')
abline(v=2.653, col='blue')
text(-1.96, 0.45, labels='Critical z = -1.960', col='red')
text(1.96, 0.45, labels='Critical z = 1.960', col='red')
text(2.652, 0.4, labels='Test statistic, z = 2.652', col='blue')
cu
Philipp
--
Dr. Philipp Pagel
Lehrstuhl f. Genomorientierte Bioinformatik
Technische Universität München
http://mips.gsf.de/staff/pagel
.
- References:
- T-Test Plot
- From: Simon
- T-Test Plot
- Prev by Date: Re: marginpar vertical alignment
- Next by Date: Re: [memoir] \plainbreak and pagebreaks
- Previous by thread: Re: T-Test Plot
- Next by thread: Re: T-Test Plot
- Index(es):
Relevant Pages
|