Filter löschen
Filter löschen

Adding skewness to normal distribution in matlab code

44 Ansichten (letzte 30 Tage)
Liliana Sierra
Liliana Sierra am 5 Dez. 2017
Beantwortet: Liliana Sierra am 6 Dez. 2017
Hi! How can I add skewness to a normal distribution code in matlab and in the plot in matlab?

Antworten (2)

Roger Stafford
Roger Stafford am 5 Dez. 2017
If you have the Statistics Toolbox, I suggest you call on the 'pearsrnd' function. You can set the desired skewness value. See the website:
https://www.mathworks.com/help/stats/pearsrnd.html

Liliana Sierra
Liliana Sierra am 6 Dez. 2017
Hi! thanks for the answer! But, what if I just want to add the kurtosis to a code I already have for normal distribution? I am trying to fit my data into a skewed normal distribution. I already did it for normal distribution (already have the code for this) and I just need to readjust that code and add the kurtosis so it can be skewed..
I appreciate your help!!

Kategorien

Mehr zu Get Started with Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by