I have a variable lets say x = 3.3:8.5
I have to pick 200 random numbers from this range but there are a few conditions;
1) I have predefined probabilities of picking random numbers which is p = [0.16 0.24 0.28 0.32] for the intervals [3.3 4.6], [4.6 5.9], [5.9,7.2], and [7.2 8.5].
2) I would like to pick more number of elements from higher end of intervals, for example numbers picked from [7.2 8.5] should be closer to 8.5 than to 7.2.
I am trying to use a normal distribution with mean at 8.5 and truncating it at 3.3 and 8.5. I am playing with standard deviation to find the desired CDF plot.
I would like to know if there is any way to define a distribution by just using the information I have that is more technical than playing with standard deviation. You can find my code attached.
Also, should i include kurtosis and skewness in the definition of distribution? I am not so sure I need skewness since I am already truncating it at 8.5 which also happens to be the mean.
Thanks.
Best Answer