library(LRTesteR)
# Null is true
set.seed(1)
x <- rlnorm(100, 0, 1)
log_normal_variance_one_sample(x, 1, "two.sided")
# Null is false
set.seed(1)
x <- rlnorm(100, 0, 2)
log_normal_variance_one_sample(x, 1, "greater")
Run the code above in your browser using DataLab