explanation :
I am creating a script in PHP which need to give a average correct
all this data follow a Gausien repartition ... but some prices are not correct and too lower or too higher... so it dommage the reliability of the average.
As it's a Gaussian curve law... Could you give me the formula to calculate the average price ?
could you help me if i provide you example of data ?
thanks for you help
If you are php coder it's a good advantage.
I'm mayor in Statistics and PHP also. Your problem is in my ability (you can check my profile). Please send me your data, and i hope i can help you to complete the project.
Hi!
I can remember that the best linear approximation is the sample mean. I could look for references if you are interested.
If the problem is that you have outliers, you could try the median (it is not linear and it's easily implemented (my suggestion)) or a process to remove outliers.