Stats

Popular Posts

Followers

Mathematica 教學 假設檢定棄卻域與顯著水準

戴忠淵 於 2010年10月17日星期日 下午9:08 發表


g[x_]:=PDF[NormalDistribution[0,1],x]
G[x_]:=CDF[NormalDistribution[0,1],x]

Manipulate[Plot[{g[x],
If[Abs[x]>Quantile[NormalDistribution[0,1],1-a],
g[x]]},{x,-4,4},PlotRange->All,Filling->{2->0},
PlotStyle->Thickness[0.01],
Epilog->{Thickness[0.01],Black,Line[{{2,0},{2,0.4}}]}],
{{a,0.2,Style["\[Alpha]=",FontSize->24]},0.2,0,0.01,
Appearance->"Open"}]


Tags: , ,

讀者回應 ( 0 意見 )

發佈留言

Please leave your name and tell me what you thought about this site. Comments, suggestions and views are welcomed.

如果這篇文章對你有幫助,那請留個訊息給我~