# How can calculate SUM, STD, AVERAGE...of attribute using scripting language?

DANBRI
Posts:

**24**
Hello everybody

I'm looking for calculate some parameters like SUM, STD, MEAN...to use them in the calculation of a RMSE formula.

RMSE(Global)=SUM [AVERAGE(RMSE(i))+3STD(RMSE(i))]/2

or:

RMSE(Global): Global RMSE value of the data in question.

RMSE(i): partial RMSE value of point (i).

I need to evaluate datas by RMSE(Global) value and append it in the data filename in order to classify and fit them to the most precise data and merge them

How can i calculate it using attribute values in scripting language?

Please tell me if it is possible or give another way to do it

Best regards

DANBRI

I'm looking for calculate some parameters like SUM, STD, MEAN...to use them in the calculation of a RMSE formula.

RMSE(Global)=SUM [AVERAGE(RMSE(i))+3STD(RMSE(i))]/2

or:

RMSE(Global): Global RMSE value of the data in question.

RMSE(i): partial RMSE value of point (i).

I need to evaluate datas by RMSE(Global) value and append it in the data filename in order to classify and fit them to the most precise data and merge them

How can i calculate it using attribute values in scripting language?

Please tell me if it is possible or give another way to do it

Best regards

DANBRI

## Answers

337Trusted UserThere's no way to calculate those in Global Mapper currently. However, new aggregate functions @sum(), @min(), @max(), @median(), @stddev(), and @variance() will be available in the attribute query language in the upcoming Global Mapper 22.0 release. We do not have an RMSE calculation at this time, but we'll consider adding it.

Cheers,

~Jeff