denorm_z: Z-score denormalisation

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/RcppExports.R

Description

The denorm_z denormalises time series by z-score method.

Usage

1

Arguments

x

the numeric vector (time series)

mean

the mean value

sd

the standard deviation value

Value

the numeric vector of denormalised values

Author(s)

Peter Laurinec, <tsreprpackage@gmail.com>

References

Laurinec P, Lucká M (2018) Clustering-based forecasting method for individual consumers electricity load using time series representations. Open Comput Sci, 8(1):38–50, DOI: 10.1515/comp-2018-0006

See Also

norm_z, norm_z_list

Examples

1
2
3
4
# Normalise values and save normalisation parameters:
norm_res <- norm_z_list(rnorm(50, 5, 2))
# Denormalise new data with previous computed parameters:
denorm_z(rnorm(50, 4, 2), mean = norm_res$mean, sd = norm_res$sd)

TSrepr documentation built on July 13, 2020, 9:07 a.m.