The power.examp function in the TeachingDemos package compares normal
distributions from a null and alternative hypothesis (the
run.power.examp function provides a GUI for the function).  The
normals could be replaced with a T and non-central T distribution (on
my to do list, I actually have contributed code for this, just have
not incorporated it yet).

On Sun, Apr 15, 2012 at 9:14 AM, Ali Zanaty <[email protected]> wrote:
> Dear All:
>
>
>
>
>
> I need a quick help in R. How I can plot plot the distribution of the T test
> statistic under Ho and Ha with shading areas. Plot overlapping two T 
> distributions and shading overlapping areas under both curves. You choose any 
> values just
>  for example. I could not upload any graph for example.
>
>
>
>
>
> Once I know how to create this one, I think I will be able to create the one 
> for normal case.
>
>
>
> Thank you very much and sorry for bothering.
>
>
>
> Ali
>
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-teaching



-- 
Gregory (Greg) L. Snow Ph.D.
[email protected]

_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-teaching

Reply via email to