MeanTestの代りに,Mathematica カーネル関数のLocationTest、TTest,ZTestが使われるようになった.
MeanDifferenceTestの代りに,Mathematica カーネル関数のLocationTest,TTest,ZTestが使われるようになった.
VarianceTestの代りに,Mathematica カーネル関数のVarianceTest,FisherRatioTestが使われるようになった.
VarianceRatioTestの代りに,Mathematica カーネル関数のVarianceTest,FisherRatioTestが使われるようになった.
NormalCI,NormalPValue等の信頼区間および p 値に関する関数は,まだ仮説検定パッケージで利用することができる.
新しいシステム関数
KnownVariance->NoneのMeanTestの代りにTTestが使われるようになった.
TTest[{1, 2, 4, 6, 3}, 0, AlternativeHypothesis -> "Greater"]片側検定の代りに有向の"Less"および"Greater"が使われるようになった.
数値のKnownVarianceを持つMeanTestの代りにZTestが使われるようになった.
ZTest[{1, 2, 4, 6, 3}, 5, 0, AlternativeHypothesis -> "Greater"]オプショナルの設定TwoSided->Trueの代りにデフォルトのAlternativeHypothesis->"Unequal"が使われるようになった.
TTest[{1, 2, 4, 6, 3}, 0]KnownVariance->NoneであるMeanDifferenceTestの代りにTTestが使われるようになった.
TTest[{{1, 2, 4, 6, 3}, {4, 10, 6, 8, 5, 8}}, 0, AlternativeHypothesis -> "Less"]片側検定の代りに有向の"Less"および"Greater"が使われるようになった.
分散の等価性はTTestにより自動的に検定される.この分散検定に合格すると,p 値はEqualVariances->TrueでMeanDifferenceTestを使うことと等しい.分散検定に合格しなかったら,p 値はEqualVariances->Falseの結果に一致する.
数値のKnownVarianceを持つMeanDifferenceTestの代りにZTestが使われるようになった.
ZTest[{{1, 2, 4, 6, 3}, {4, 10, 6, 8, 5, 8}}, {1, 3}, 0, AlternativeHypothesis -> "Less"]オプショナルの設定TwoSided->Trueの代りにデフォルトのAlternativeHypothesis->"Unequal"が使われるようになった.
TTest[{{1, 2, 4, 6, 3}, {4, 10, 6, 8, 5, 8}}, 0]VarianceTestの代りにFisherRatioTestが使われるようになった.
FisherRatioTest[{1, 2, 4, 6, 3}, 1, AlternativeHypothesis -> "Greater"]片側検定の代りに有向の"Less"および"Greater"が使われるようになった.
オプション設定TwoSided->Trueの代りにデフォルトのAlternativeHypothesis->"Unequal"が使われるようになった.
FisherRatioTest[{1, 2, 4, 6, 3}, 1]VarianceRatioTestの代りにFisherRatioTestが使われるようになった.
FisherRatioTest[{{1, 2, 4, 6, 3}, {4, 10, 6, 8, 5, 8}}, 2, AlternativeHypothesis -> "Less"]片側検定の代りに,有向の"Less"および"Greater"が使われるようになった.
オプション設定のTwoSided->Trueの代りにデフォルトのAlternativeHypothesis->"Unequal"が使われるようになった.
FisherRatioTest[{{1, 2, 4, 6, 3}, {4, 10, 6, 8, 5, 8}}, 2]FullReport->Trueで生成される結果は,特定の見地のプロパティから得ることができる.
fullReport[data_, mu0_, opts_] := Block[{h = TTest[data, mu0, "HypothesisTestData", Sequence@@opts], stat, df, pval},
{stat, df, pval} = h[{"TestStatistic", "DegreesOfFreedom", "PValue"}];{"FullReport" -> Grid[{{"Mean", "TestStat", "Distribution"}, {Mean[data]//N, stat, StudentTDistribution[df]}}, Dividers -> {{}, {2 -> GrayLevel[0]}}, Alignment -> Left, Spacings -> 2], If[FreeQ[opts, "Less" | "Greater"], "TwoSidedPValue" -> pval, "OneSidedPValue" -> pval]}]fullReport[{1, 2, 4, 6, 3}, 0, {AlternativeHypothesis -> "Greater"}]