Webpage title: How to Calculate Mean Error

  • Thread starter Thread starter smither777
  • Start date Start date
  • Tags Tags
    Error Mean
AI Thread Summary
To calculate mean error, one can use the formula: Mean error = (sum of absolute errors) / (number of data points). The absolute error is determined by taking the absolute value of the difference between each observed value and its corresponding predicted value. This calculation provides a measure of the average difference between observed and predicted values. Additionally, the mean absolute deviation, which is the mean of the absolute differences from the mean, is often confused with mean error. Understanding these distinctions is essential for accurate data analysis.
smither777
Messages
6
Reaction score
0
hi,

can you help me in obtaining the mean error? I was able to obtain the standard deviation for my data, but i don't know how to get the mean error..
thank you very much!
 
Physics news on Phys.org
smither777 said:
hi,

can you help me in obtaining the mean error? I was able to obtain the standard deviation for my data, but i don't know how to get the mean error..
thank you very much!
The error is
|x-mean(x)|
so the mean error is
mean(|x-mean(x)|)
I think this is what is intended, but usually this quantity is called the mean absolute deviation.
The other posibility is if you knew for each sample what should have resulted then it could mean
mean(x_experimental-x_actual)
or
mean(|x_experimental-x_actual|)
Can't you look up exactly what was "mean error" means?
 


Sure, I'd be happy to help! The mean error is a measure of the average difference between the observed values and the predicted values. To calculate it, you can use the following formula:

Mean error = (sum of absolute errors) / (number of data points)

To obtain the sum of absolute errors, you can take the absolute value of the difference between each observed value and its corresponding predicted value, and then add these values together. The number of data points is simply the total number of values in your dataset.

I hope this helps! Let me know if you have any further questions. Good luck!
 
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
Back
Top