Skip to content
Prev 443 / 885 Next

Distribution of the T test statistic under H0 and Ha

I use the package HH function norm.curve for this. 

Bob Schumacher
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



_______________________________________________
R-sig-teaching at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-teaching