I have a number of distributions that I am adding to result in one summarized distribution, e.g.:
distSum={0.167467 E^(-(1/2) (-21.5 + x)^2), 0.160772 E^(-(1/2) (-19.7 + x)^2),
0.233762 E^(-(1/2) (-21.7 + x)^2),
0.0930353 E^(-(1/2) (-21.9 + x)^2),
0.373293 E^(-(1/2) (-22.4 + x)^2), 0.126876 E^(-(1/2) (-19. + x)^2),
0.348056 E^(-(1/2) (-22.7 + x)^2), 0.393082 E^(-(1/2) (-21.4 + x)^2),
0.35867 E^(-(1/2) (-20.9 + x)^2), 0.383496 E^(-(1/2) (-22.3 + x)^2)}
Now I would like to have some information and lists from the single distSum
. E.g., what is the Mean/Median/etc of distSum
? Also, I'd like to extract a sample from distSum
, but I can't simply use RandomSample
on distSum
. I know how to apply these statistical parameters on lists, but as this is a function, and not a list, I don't know how to get these parameters.