get data to draw a gauss curve

248 Views Asked by At

I would like to know how to get some data from a normal distribution to draw its gauss curve. I have the standard deviation, the average and the x, but I don't know how to get some points to draw the curve, can you tell me please?

Thanks

2

There are 2 best solutions below

3
On BEST ANSWER

This means plotting $$ N(x;\mu,\sigma) = \frac{1}{\sigma \sqrt{2\pi}} e^{-(1/2)\left((x-\mu)/\sigma\right)^2} $$

You can try it here.

example

1
On

Since the density function is $N(x;μ,σ)=\frac{1}{\sqrt{\sigma^2 2π}}e^{−\frac{(x-\mu)^2}{2\sigma^2}}$

The value of the above formula is the height of the graph for a point $x$. If you try lots of different values of $x$ you will get lots of points for the height of the graph at different values of $x$.