ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I calculate the Root Mean Square (RMS) (https://www.excelbanter.com/excel-discussion-misc-queries/31696-how-do-i-calculate-root-mean-square-rms.html)

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

How do I calculate the Root Mean Square (RMS)
 


N Harkawat

=SQRT(AVERAGE(A1:A5^2))
array entered (ctrl+shift+enter)

where A1:a5 is the range where the number range exists


"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
<aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@discussi ons.microsoft.com wrote
in message ...




Earl Kiosterud

aaaaaaaaaaaaaaaaaaaaaaaaaa,

You need to know the values you're wanting the RMS of. If this is
electronics, where RMS is virtually completely misunderstood, you need to
say what the waveform is (sine, square, program material, or what), and what
you know about it (peak value, average value, etc.).

--
Earl Kiosterud
www.smokeylake.com/
-------------------------------------------

"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
<aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@discussi ons.microsoft.com wrote
in message ...




Jerry W. Lewis

Thank you for providing an informative subject line, but it usually
helps to elaborate in the body of the post. As Earl noted, the most
obvious elaboration would be RMS of what?

If this is a regression question, you would use
=INDEX(LINEST(yData,xData,const,TRUE),3,2)

Jerry


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Jerry,

thank you for your response. You have right, it is a regression question but
I need the RMS for the line of equality and not for the trend line. Is the
function you proposed the proper one for my case?

"Jerry W. Lewis" wrote:

Thank you for providing an informative subject line, but it usually
helps to elaborate in the body of the post. As Earl noted, the most
obvious elaboration would be RMS of what?

If this is a regression question, you would use
=INDEX(LINEST(yData,xData,const,TRUE),3,2)

Jerry



Jerry W. Lewis

What do you mean by "line of equality"?

Jerry

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa wrote:

Jerry,

thank you for your response. You have right, it is a regression question but
I need the RMS for the line of equality and not for the trend line. Is the
function you proposed the proper one for my case?

"Jerry W. Lewis" wrote:


Thank you for providing an informative subject line, but it usually
helps to elaborate in the body of the post. As Earl noted, the most
obvious elaboration would be RMS of what?

If this is a regression question, you would use
=INDEX(LINEST(yData,xData,const,TRUE),3,2)

Jerry



aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

by "Line of equality" I mean the line x=y. I have the regression set (x, y)
and I want the RMS considering that the fit line is the line of equality. Is
it possible?

"Jerry W. Lewis" wrote:

What do you mean by "line of equality"?

Jerry

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa wrote:

Jerry,

thank you for your response. You have right, it is a regression question but
I need the RMS for the line of equality and not for the trend line. Is the
function you proposed the proper one for my case?

"Jerry W. Lewis" wrote:


Thank you for providing an informative subject line, but it usually
helps to elaborate in the body of the post. As Earl noted, the most
obvious elaboration would be RMS of what?

If this is a regression question, you would use
=INDEX(LINEST(yData,xData,const,TRUE),3,2)

Jerry




Jerry W. Lewis

If by RMS you mean RMSE, the estimated standard deviation about the
regression line, the sum of squares for error would be
=SUMSQ(y-x)
with n-1 degrees of freedom for an assumed model of of y=x. This is an
array formula, that must be array entered (Ctrl-Shift-Enter). Thus the
RMSE would be
=SQRT(SUMSQ(y-x)/(COUNT(y)-1))
which also must be array entered.

Jerry

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa wrote:

by "Line of equality" I mean the line x=y. I have the regression set (x, y)
and I want the RMS considering that the fit line is the line of equality. Is
it possible?

"Jerry W. Lewis" wrote:


What do you mean by "line of equality"?

Jerry

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa wrote:


Jerry,

thank you for your response. You have right, it is a regression question but
I need the RMS for the line of equality and not for the trend line. Is the
function you proposed the proper one for my case?

"Jerry W. Lewis" wrote:



Thank you for providing an informative subject line, but it usually
helps to elaborate in the body of the post. As Earl noted, the most
obvious elaboration would be RMS of what?

If this is a regression question, you would use
=INDEX(LINEST(yData,xData,const,TRUE),3,2)

Jerry





All times are GMT +1. The time now is 10:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com