Skip to contents

log transform response-scale yi estimates

Usage

log_transform(estimate = numeric(1L), std.error = numeric(1L), sim = 10000L)

Arguments

estimate

Point estimates on the original response scale

std.error

Standard error of the point estimates on the original response scale

sim

Number of simulations to run when generating distribution to sample from

Value

A dataframe containing the mean_log, se_log, lower and upper 95% CI on the log scale

See also

Equivalent in workflow data hierarchy to Z_VZ_preds().

Examples

log_transform(1.77, 1.01, 1000)
#>  Log-transformed out-of-sample predictions, using 1000 simulations.
#>    mean_log     se_log     lower    upper
#> 1 0.4230839 0.02400442 -1.538085 1.324846