comf (version 0.1.7)

calcBias: Calculating the Bias between Predicted and Actual Thermal Sensation Vote

Description

calcMeanBias calculates the mean bias and its standard deviation and standard error between predicted thermal sensation votes and actual obtained sensation votes

Usage

calcBias(ref, pred)

Arguments

ref

a numeric item or vector containing categorical or continuous actual thermal sensation votes coded from -3 'cold' to +3 'hot'

pred

a numeric item or vector containing categorical or continuous predicted thermal sensation votes coded from -3 'cold' to +3 'hot'

Value

calcMeanBias returns a dataframe with the following items:

meanBias

single value presenting the mean bias between actual and predicted thermal sensation votes

sdBias

single value presenting the standard deviation of the mean bias

seBias

single value presenting the standard error of the mean bias

References

Humphreys, M. A. and Nicol, J. F. The validity of ISO-PMV for predicting comfort votes in every-day thermal environments, Energy and Buildings, 2002, 34, 667-684

Schweiker, M. and Wagner, A. Exploring potentials and limitations of the adaptive thermal heat balance framework Proceedings of 9th Windsor Conference: Making Comfort Relevant Cumberland Lodge, Windsor, UK, 2016

See Also

see also calcTPRTSV, calcAvgAcc

Examples

Run this code
# NOT RUN {
## Define data
ref <- rnorm(5) # actual thermal sensation votes

pred <- rnorm(5) # predicted thermal sensation votes

calcBias(ref, pred)
# }

Run the code above in your browser using DataLab