Previously, I wrote the code for a normal distribution that looks like this:
Code:
#delimit;
twoway
function y=normalden(x,claimed_mu,std_error), range(`=tick1' `=tick9') ///
graphregion(color(white)) clstyle(foreground) ||
(scatteri 0 `=claimed_mu', mcolor(red)) (scatteri 0 `=sample_mean', mcolor(black)),
plotregion(style(none))
legend(off)
xtitle("Sample means of weights of Kitti's hog-nosed bats (g), n=`=n'")
xlabel(`=tick1' `=tick2' `=tick3' `=tick4' `=tick5' `=tick6' `=tick7' `=tick8' `=tick9', format(%6.4f))
ylabel(none)
yscale(off);
#delimit cr
0 Response to Graphing a t-distribution
Post a Comment