I am trying to do Student T-test as provided here:
import Data.Vector as V
import Statistics.Test.StudentT
sampleA = V.fromList [1.0,2.0,3.0,4.0,1.0,2.0,3.0,4]
sampleB = V.fromList [2.0,4.0,5.0,5.0,3.0,4.0,5.0,6]
main = print $ StudentT sampleA sampleB SamplesDiffer
However, I am getting following error:
rnunttest.hs:8:16: error:
Data constructor not in scope:
StudentT :: Vector Double -> Vector Double -> PositionTest -> a0
Where is the problem and how can it be solved? Thanks for your help.