ses {BAT}R Documentation

Standard Effect Size.

Description

Calculates the standard effect size from observed and estimated values.

Usage

ses(obs, est, param = TRUE, p = TRUE)

Arguments

obs

A single observed value.

est

A vector with estimated values.

param

Value is calculated with parametric or non-parametric method. The later is preferable when distribution of estimated values is not normally distributed.

p

Boolean indicating whether the p-value should be calculated based on the rank of 'obs' in 'est'. As the test is two-sided, usual significance is indicated by p < 0.025 or p > 0.975.

Value

The ses value or a vector with ses and p-value.

Examples

est = rnorm(1000, 500, 100)

ses(100, est)
ses(100, est, param = FALSE)
ses(500, est)
ses(500, est, param = FALSE)
ses(900, est, p = TRUE)
ses(900, est, param = FALSE, p = TRUE)

[Package BAT version 2.7.1 Index]