Since it got incredibly good answers the last time i posted a question, i try it again! ;-)
I programmed a chemical/physical simulation in mathematica, where i can use residence time distribution as an input parameter. No I'd like to compare different theoretical distributions. As a criteria, the distributions need to have the same mean value μ. It's easy to do it with NormalDistributions as follows:
dist1 = RandomVariate[NormalDistribution[0.216208304, 0.0025], 10^4];
Show[Histogram[dist1, 14, "ProbabilityDensity"], AxesLabel->{"\[Tau]/s","\!\(\*OverscriptBox[\(V\), \(.\)]\)/\!\(\*SuperscriptBox[\(m\),\\(3\)]\)\!\(\*SuperscriptBox[\(s\), \(-1\)]\)"}]
HistogramList[dist1, 14, "ProbabilityDensity"]
Therewith i obtaine a Histogram plot where i can export the container values and size to my simulation.
More difficulties i had when i tried to create a skew distribution with the same mean value as in the normal distribution, means: 0.216208304 I tried it with the following code:
CSTR = RandomVariate[SkewNormalDistribution[0.216208304, 1, 1000], 10^4];
But the location parameter μ in the SkewNormalDistribution doesn't seems to be the mean value. If i create to mean value of the CSTR-List with Mean[CSTR], i get 1.01582 - so totally wrong.
Anybody has an idea how i can create a skew distribution with a mean value of 0.2162... ?
Thanks in advance and a happy new year! Dani