Testiranje Nul hipoteze o očekivanju ako je varijanca poznata.

MeanTest[datanormal, 7, KnownVariance→1]

OneSidedPValue→1.44739*10^-8

MeanTest[datanormal, 7, SignificanceLevel→.05, KnownVariance→1, TwoSided→True, FullReport→True]

{FullReport→ {{Mean, TestStat, Distribution}, {8.2405, 5.54768, NormalDistribution[]}}, TwoSidedPValue→2.89477*10^-8, Reject null hypothesis at significance level→0.05}

MeanTest[datanormal, 8, KnownVariance→1]

OneSidedPValue→0.141065

MeanTest[datanormal, 8, SignificanceLevel→.05, KnownVariance→1, TwoSided→True, FullReport→True]

{FullReport→ {{Mean, TestStat, Distribution}, {8.2405, 1.07555, NormalDistribution[]}}, TwoSidedPValue→0.282129, Fail to reject null hypothesis at significance level→0.05}


Created by Mathematica  (March 24, 2006) Valid XHTML 1.1!