MeanTest


performs a test with null hypothesis .

DetailsDetails

  • To use , you first need to load the Hypothesis Testing Package using Needs["HypothesisTesting`"].
  • gives a -value for the test that the mean of the population from which list was sampled is significantly different from .
  • If the variance is assumed known, is based on the normal distribution.
  • If the variance is not assumed known, is based on Student's distribution with Length[list]-1 degrees of freedom.
  • The following options can be given:
  • FullReportFalsewhether to include detailed information about a test
    KnownVarianceNonevariance of population
    SignificanceLevelNonesignificance level of the test
    TwoSidedFalsewhether to perform a two-sided test
  • With FullReport->True, also returns the sample mean, the test statistic, and the distribution used to generate the -value.
New to Mathematica? Find your learning path »
Have a question? Ask support »