The studentt command examines whether data conforms to Student’s distribution. For small sample sizes, the studentt test is preferable to normalt.
Examples:
*** TEST RESULT 0 *** |
Summary T-Test null hypothesis H0 mu1=mu2, alt. hyp. H1 mu1!=mu2. |
Test returns 0 if probability to observe data is less than 0.1 |
(null hyp. mu1=mu2 rejected with less than alpha probability error) |
Test returns 1 otherwise (can not reject null hypothesis) |
Data mean mu1=10, population mean mu2=0.5, degrees of freedom 20 |
alpha level 0.1, multiplier*stddev/sqrt(sample size)= 1.32534*0.02/4.47214 |
0
|
*** TEST RESULT 1 *** |
Summary T-Test null hypothesis H0 mu1=mu2, alt. hyp. H1 mu1<mu2. |
Test returns 0 if probability to observe data is less than 0.05 |
(null hyp. mu1=mu2 rejected with less than alpha probability error) |
Test returns 1 otherwise (can not reject null hypothesis) |
Data mean mu1=0.48, population mean mu2=0.5, degrees of freedom 20 |
alpha level 0.05, multiplier*stddev/sqrt(sample size)= 1.72472*0.1/4.47214 |
1
|