pban92
Joined: 23 Nov 2009 Posts: 38
|
Posted: Wed Feb 17, 2010 9:46 pm Post subject: Making gaussian pdf (probability density function) |
|
|
I have data file with two columns (column one is time series and column two is the corresponding value of the data, I know the time series is not important at all to make pdf) as,
1 X1
2 X2
3 X3
.
.
.
.
.
.
n Xn
I need to make a fortran code that would give me values to plot probability density function about zero mean.
I know I need to have maximum value (vmax), minimum value (vmin), number of bin (p) but with no idea how to use them to code. The x-axis scaling part is easier z=(i-mu)/sigma but, well, do not know where should I start from in the first place.
I found PROB(X) is the fortran library from this link http://orion.math.iastate.edu/burkardt/f_src/prob/prob.html but it only made me more more confused. Any suggestion/hint/example of fortran coding for making pdf on similar data file would be highly appreciated. Many Thanks! |
|