Colleagues: bird flight altitude probabilities are given by the exponentially modified Gaussian distribution EMG f=f(h), in my case
f = (a/2)*exp((a/2)*((a*σ^2)-2*h)) .* erfc((a*σ^2-h)/σ/sqrt(2)) with h=hmeasured-85 in meters, a=1/60m, σ=30m. See: <https://en.wikipedia.org/wiki/Exponentially_modified_Gaussian_distribution>. For bird flight Monte-Carlo simulations, I need random deviates representing this distribution. Normally, I generate the cumulative function F of f. Then, I project uniform random numbers U(0,1) on F^-1, the inverse of the cumulative. With the EMG, closed solutions are not available and I need a numerial procedure to generate EMG deviates. What is the best way to do this? Best greetings Heinz This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged. If you are not one of the named recipients or have received this email in error, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this email and all attachments, (iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email. Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer https://www.3ds.com/privacy-policy/contact/
Exponentially Modified Gaussian.pdf
Description: Adobe PDF document
_______________________________________________ users mailing list - users@lists.scilab.org Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org> https://lists.scilab.org/mailman/listinfo/users