Accuracy: Verify how well NASA-POWER Data Represent Observed Data

View source: R/Accuracy.R

AccuracyR Documentation

Verify how well NASA-POWER Data Represent Observed Data

Description

Calculates scalar measures of accuracy.

Usage

Accuracy(obs_est, conf.int = "Yes", sig.level = 0.95)

Arguments

obs_est

A 2-column matrix. The reference or observed and the estimated or predicted data. See ObsEst object as an example.

conf.int

A character variable (Yes or No) defining if the function must calculate confidence intervals. Default is “Yes”.

sig.level

A numeric variable (between 0.90 and 0.95) defining the significance level for parameter the confidence intervals. Default is 0.95.

Value

An object of class PowerSDI.Accuracy, a list, which contains:

  • Absolute mean error (AME),

  • square root of the mean squared error (RMSE),

  • Willmott's indices of agreement:

    • original (dorig),

    • modified (dmod) and

    • refined (dref)

  • Pearson determination coefficient (R2), and

  • if conf.int = "Yes", confidence intervals.

Examples

a <- Accuracy(obs_est = ObsEst, conf.int = "No")
a

# A generic plotting method is also supplied
plot(a)


PowerSDI documentation built on May 29, 2024, 3:40 a.m.