Hypothesis Tests Available in Student:-Statistics
Description
Examples
Student:-Statistics subpackage contains commands that are used for hypothesis tests for basic academic statistics. Each of the hypothesis tests returns all the important information of the test, including the final conclusion as well as the core values used in the computing process.
Hypothesis tests available in Student:-Statistics are:
ChiSquareGoodnessOfFitTest
ChiSquareIndependenceTest
ChiSquareSuitableModelTest
OneSampleTTest
OneSampleZTest
ShapiroWilkWTest
TwoSampleFTest
TwoSamplePairedTTest
TwoSampleTTest
TwoSampleZTest
The command TestsGuide is designed to guide users to use the appropriate test on particular arguments. In addition, TestsGuide is also designed with visualization of some of the hypothesis tests to give a better demonstration of the returned conclusion; explanations and instructions of use of all the hypothesis tests are also available within this command.
with⁡Student:-Statistics:
A≔BetaRandomVariable⁡2,4:
S≔Sample⁡A,1000:
Mean⁡A
13
OneSampleTTest⁡S,12
Standard T-Test on One Sample ----------------------------- Null Hypothesis: Sample drawn from population with mean 0.5 Alt. Hypothesis: Sample drawn from population with mean not equal to 0.5 Sample Size: 1000 Sample Mean: 0.330871 Sample Standard Dev.: 0.172759 Distribution: StudentT(999) Computed Statistic: -30.9583453553696 Computed p-value: 4.40097527534518e-148 Confidence Interval: .320150504664501 .. .341591498494785 (population mean) Result: [Rejected] This statistical test provides evidence that the null hypothesis is false.
hypothesis=false,confidenceinterval=0.320150504664501..0.341591498494785,distribution=StudentT⁡999,pvalue=4.40097527534518×10−148,statistic=−30.9583453553696
ChiSquareSuitableModelTest⁡S,A
Chi-Square Test for Suitable Probability Model ---------------------------------------------- Null Hypothesis: Sample was drawn from specified probability distribution Alt. Hypothesis: Sample was not drawn from specified probability distribution Bins: 32 Degrees of Freedom: 31 Distribution: ChiSquare(31) Computed Statistic: 36.60800000 Computed p-value: .224557190878386 Critical Values: 44.9853428040743 Result: [Accepted] This statistical test does not provide enough evidence to conclude that the null hypothesis is false.
hypothesis=true,criticalvalue=44.9853428040742,distribution=ChiSquare⁡31,pvalue=0.224557190878386,statistic=36.60800000
See Also
Student
Student:-Statistics
Download Help Document