mal distribution using parameters estimated from the sample
-- (from @Statistics.Distribution.Normal@)
--
-- > λ> mwc . listOf 10 $ 
-- >      normalFromSample $ 
-- >        V.fromList [1,1,1,3,3,3,4
-- >                   ,4,4,4,4,4,4,4
-- >                   ,4,4,4,4,4,5,5
-- >                   ,5,7,7,7]
-- > [ 7.1837511677441395,2.388433817342809,5.252282321156134
-- > , 4.988163140851522,0.40102386713467864,4.4840751065620665
-- > , 2.1471370686776874,2.6591948802201046,3.843667372514598
-- > , 1.7650436484843248 ]
normalFromSample :: PrimMonad m
                 => Sample -- ^ sample
                 -> Maybe (RandT m Double)
normalFromSample s = continuous <$> (fromSample s :: Maybe N.NormalDistribution)

-- | Exponential
normalFromSample :: PrimMonad m
                 => Sample -- ^ sample
                 -> Maybe (RandT m Double)
normalFromSample s = continuous <$> (fromSample s :: Maybe N.NormalDistribution)
normalFromSample s = continuous <$> (fromSample s :: Maybe N.NormalDistribution)