Learn R Programming

rACMEMEEV (version 1.0.1)

generate_coefficient: Generate updated validity coefficient using Fisher Z Transformation

Description

Using the Fisher Z Transformation, generate new validity coefficients based on proposed upper and lower boundaries. This new validity coefficient is based on transformed upper and lower boundaries as well as a fitted normal distribution to the se new proposed upper and lower boundaries.

Usage

generate_coefficient(n, lower_bound, upper_bound, interval = 0.95, seed = 42)

Value

Validity coefficient

Arguments

n

the samples for the normal distribution

lower_bound

numeric the lower boundary of the validity coefficient

upper_bound

numeric the upper boudnary of the validity coefficient

interval

numeric the confidence interval to use (default 0.95)

seed

numeric the random seed to use

Examples

Run this code
n <- 1000
coef_upper <- 0.9
coef_lower <- 0.3
ci <- 0.95
generate_coefficient(n, coef_lower, coef_upper, ci)

Run the code above in your browser using DataLab