skpr (version 0.57.0)

gen_exponential_anticoef: Generates Exponential Anticipated Coefficients

Description

Generates Exponential Anticipated Coefficients Solves the exponential link function mean = exp(beta0 + beta1 * x) such that mean = mean_low when x = -1, and mean = mean_high when x = +1. Equivalently, solves this set of equations for beta0 and beta1: mean_low = exp(beta0 - beta1) mean_high = exp(beta0 + beta1)

Usage

gen_exponential_anticoef(anticoef, mean_low, mean_high)

Arguments

anticoef

input anticipated coefficeints

mean_low

The low value of the mean value (= 1/rate)

mean_high

The high value of the mean value (= 1/rate)

Value

Anticipated coefficients.