Testiramo Nul hipotezu o očekivanju normalne razdiobe , nepoznate varijance

MeanTest[datanormal, 7, SignificanceLevel→.05]

{OneSidedPValue→0.0000490345, Reject null hypothesis at significance level→0.05}

Ako nije zadan nivo značajnosti test daje vrijednost  tzv. p-value= vjerojatnost da,se dobije vrijednost očekivanja manja od Nul hipoteze .

MeanTest[datanormal, 7]

OneSidedPValue→0.0000490345

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

{FullReport→ {{Mean, TestStat, Distribution}, {8.2405, 4.90616, StudentTDistribution[19]}}, TwoSidedPValue→0.0000980691, Reject null hypothesis at significance level→0.05}

Ovdje su navedeni vrijednost uzoračke sredine, test-statistike, distribucija test-statistike i odluka.

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

{FullReport→ {{Mean, TestStat, Distribution}, {8.2405, 0.951174, StudentTDistribution[19]}}, TwoSidedPValue→0.35346, Fail to reject null hypothesis at significance level→0.05}


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