getRSEm: Relative standard error of the RBS estimates of tree proxy...

Description Usage Arguments Details Value Examples

Description

The RSE is a measure of the precision of the RBS estimates of the proxy variable compared to the actual proxy variable. Proxy variables may be tree volume, biomass, C weight, and whatever else can be measurable

Usage

1
  getRSEm(vHat, v)

Arguments

vHat

a vector of numerics holding estimates of the proxy variable at tree level, may hold 'NA' values

v

actual and measured tree proxy variable

Details

RSEm is computed as:

RSEm = sqrt(var(vHat)/m)/v

where m is the number of paths leading to m number of RBS replicates. m is computed as the length of the 'vHat' vector, excluding 'NA' values

Value

A numeric value for the relative standard error of RBS estimates

Examples

1
2
3
4
5
RBSestimates <- c(30,25,28,33,31)
actualVolume <- 30
getRSEm(RBSestimates, actualVolume)
# express RSEm in percent
getRSEm(RBSestimates, actualVolume) * 100

mbask/RBSperformance documentation built on May 21, 2019, 2:25 p.m.