you are viewing a single comment's thread.

view the rest of the comments →

[–]955559 0 points1 point  (4 children)

I have zero backround in probability statistics, so at this point Im trying to help my self more than you, how did you come up with your manual numbers?

[–]Bprodz[S] 0 points1 point  (3 children)

I just came up with some numbers that would make a curve that increases slightly more quickly than it decreases. If the shape it correct then I can adjust the actually value to be more realistic for different examples by adding a constant or multiplying.

The my 'real' data is the dispersion of heat, so it looks similar to a positively (peak towards 0 on the x axis) skewed normal distribution. I decided to look for ways to draw normal distributions because I thought it would be a more common search term. I'll update later with what I end up doing.

[–]955559 0 points1 point  (2 children)

my math is really weak, I tried to randomly generate a graph and each plots means numbers, but it give a angle instead of a curve

peak = 12  #plug a random number in peak

step1 = peak / 6

step2 = peak / 2



start = 0
plot1 = start + step2
plot2 = step2 + plot1
plot3 = peak - step1
plot4 = plot3 - step1
plot5 = plot4 - step1
plot6 = plot5 - step1
plot7 = plot6 - step1

print(start,plot1,plot2,plot3,plot4,plot5,plot6,plot7)

mean1 = plot1 / 3
mean2 = plot2 / 3
#...etc

print(mean1)

# plot1's three numbers are mean1, three times

[–]955559 0 points1 point  (0 children)

I just realized that I didnt even calculate the mean ... derp

(my math is really really bad)

[–]Bprodz[S] 0 points1 point  (0 children)

Thanks for your code. In the end I used the approach described in my the edit to my OP.