ses {BAT} | R Documentation |
Calculates the standard effect size from observed and estimated values.
ses(obs, est, param = TRUE, p = TRUE)
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. |
The ses value or a vector with ses and p-value.
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)