I'm trying to use some of the build in stats functions like variance and stddev. The problem is that I also have a type alias over a SortedMap
type Series = SortedMap[Int, Double]
I'm just testing it out but if I try to pass a Series s into stddev(s) then I'd want the standard deviation of s.values, but I'm getting an error
could not find implicit value for parameter impl: breeze.stats.stddev.Impl[breezetest.Series,VR]
Going through the documentation, I'm not sure exactly what implicit I need to provide to be able to pass a Series to any of the stats functions. Is there an example that someone is aware of that could be shared?