gen_poisson_anticoef: Generates Poisson Anticipated Coefficients

View source: R/gen_poisson_anticoef.R

gen_poisson_anticoefR Documentation

Generates Poisson Anticipated Coefficients

Description

Generates Poisson Anticipated Coefficients Solves the Poisson 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_poisson_anticoef(anticoef, mean_low, mean_high)

Arguments

anticoef

input anticipated coefficients of the proper length for your model matrix

mean_low

The low value of the mean value

mean_high

The high value of the mean value

Value

Anticipated coefficients.


skpr documentation built on July 9, 2023, 7:23 p.m.