Questions tagged [bell-curve]
22 questions
3
votes
2 answers
Bell curve with left or right bias
In Java I want to generate a random number from 1 to 100 that can be made to be based to either end of the scale whilst still having a chance of a number from the opposite end still being 'rolled'.
To clarify, in a normal situation over a number of…

gavin
- 305
- 1
- 2
- 12
2
votes
0 answers
How to draw "bell-curves" in Flutter
I'm making an equalizer graph with a Flutter.
But with the "Custom Paint" class drawPath, Bezier Curve (quadratic BezierTo),
I kept failing to create a graph that looked exactly like the picture.
When I searched, I saw that I had to use something…

starry
- 21
- 1
2
votes
1 answer
How can I add a kurtosis term in this Gaussian bell-curve formula?
I am working with a formula to generate a curve in Python. I am tuning its parameters so that I can eyeball its matching over an underlying curve (already plotted).
What I need is to adjust its Kurtosis, which currently is not a parameter of the…

heltonbiker
- 26,657
- 28
- 137
- 252
2
votes
1 answer
Objective-C how to generate a bell curve array with n values?
I'm trying to generate an array of bell curve numbers with a certain number of buckets/discrete values between both ends. For example, I need 30 buckets, following bell curve distribution and add up to 1.0. The number in the first bucket and last…

Alex Stone
- 46,408
- 55
- 231
- 407
1
vote
1 answer
How to Standardize a Column of Data in R and Get Bell Curve Histogram to fins a percentage that falls within a ranges?
I have a data set and one of columns contains random numbers raging form 300 to 400. I'm trying to find what proportion of this column in between 320 and 350 using R. To my understanding, I need to standardize this data and creates a bell curve…

Amin A. Nakhjavani
- 55
- 1
- 1
- 5
1
vote
1 answer
python random binary list, evenly distributed
I have code to make a binary list of any length I want, with a random number of bits turned on:
rand_binary_list = lambda n: [random.randint(0,1) for b in range(1,n+1)]
rand_binary_list(10)
this returns something like…

MetaStack
- 3,266
- 4
- 30
- 67
1
vote
1 answer
Creating Normal Distribution of MySQL Data Using Ruby on Rails
I have a MySQL table with three columns: height, weight, gender. This table is being used as a model for my project. Is there a function of method in RoR that will allow me to calculate a normal distribution based on the data?
For example I would…

Bad Programmer
- 893
- 1
- 13
- 27
1
vote
1 answer
Creating a curve given min, max, and length
I am given a desired min, max, and length of an array. How can I generate numbers that fit to a "normally distributed" / bell curve for this array, with the specified min and max?
i.e.
min: 0
max: 6
length = 7
result: [0,2,4,6,4,2,0]
I know that I…

Riptyde4
- 5,134
- 8
- 30
- 57
1
vote
2 answers
Create Bell Curve in Tableau
I am trying to create Bell Curve from data, i.e.
x = number of shoes
y = number of records
From the data, most records, i.e. women have one pair of shoes, so 1 would be the center of the x axis.
How to approach this? Here is what I have so…

Rhonda
- 1,661
- 5
- 31
- 65
1
vote
2 answers
Check if numbers form bell curve (gauss distribution) Python 3
I've got files with irradiance data measured every minute 24 hours a day.
So if there is a day without any clouds on the sky the data shows a nice continuous bell curves.
When looking for a day without any clouds in the data I always plotted month…

Peter S
- 625
- 1
- 9
- 32
1
vote
1 answer
Making a simple Javascript version of a gaussian distribution
I am trying to draw a series of rectangles (or lines) that follow the height of a gaussian curve. I will need to tweak the distribution manually, because I want to accomplish the very specific curve attached - where it goes up to a spike and back…

EJW
- 604
- 2
- 10
- 22
1
vote
1 answer
bell curve using flot
I have implemented a bell curve from the below link :
Create Normal Distribution (Bell Curve) chart using FLOT
How to put the Lines on the Bell curve like the image :

Aakash
- 179
- 1
- 1
- 11
1
vote
1 answer
Calculate Bell Curve Values
In an MS Access 2007 app, which manages contracts and changes for large construction projects, I need to create a Bell Curve representing a Contract Value, over a time period.
For example, a $500m contract runs for, say, 40 months, and I need a Bell…

maxhugen
- 1,870
- 4
- 22
- 44
0
votes
0 answers
TypeError: Cannot read properties of null (reading 'useRef') when using HighchartsReact in React
I'm trying to integrate Highcharts into my React application using the highcharts-react-official package. I want to build a bell curve, However, when I render the chart component, I receive the following error:
Cannot read properties of null…

Muath_01
- 79
- 5
0
votes
0 answers
My 'y'- axis in my normal distribution curve is over 1. Is this okay?
I am trying to show the normal distribution of two sets of data. My goal is to see if dataset 1 differs to dataset 2 (the dataset is total eroded area in m2). When i make normal distribution curves, i am aiming to fix or understand these…

ss2022
- 1
- 1