make.pests: Make matrix of probability estimates

Description Usage Arguments Value

View source: R/crfunctions.R

Description

Make matrix of probability estimates on the natural scale, from estimates on the linke function scale, and their variance-covariance matrix.

Usage

1
make.pests(parnames, ests, vcv, b = FALSE, alpha = 0.05)

Arguments

parnames

Names of the parameters in ests.

ests

Vector of parameter estimates on the link function scale.

vcv

The variance-covariance matrix of ests.

b

Indicator variable saying whether or not the last parameter in ests is the behavioural effect parameter, in which case it is interpreted as change in log-odds.

alpha

Confidence interval level.

Value

The function returns a matrix with one row per parameter and columns for the point estimate on the natural scale and associated confidence intervals.


david-borchers/mt5751a documentation built on Feb. 22, 2021, 4:01 a.m.