Hello, some basic question although i couldn't find an answer easily:
if i run
using StatsBase
t = [1:10]
s = [sum(t[1:i]) for i=1:10]
var(s)
i get an error: `zero` has no method matching zero(::Type{Any})
I see t is of [a, b, c] type and s is of {a, b, c} type. Can you give me
the topics to search for?
also if s is representing a list why do i have to convert it to something
else (i guess) to calculate its variance?
Regards
