FIM_logistic_2pred: Fisher Information Matrix for the Logistic Model with Two...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

It provides the cpp function for FIM for the following model:
~exp(b0+ b1 * x1 + b2 * x2 + b3 * x1 * x2)/(1 + exp(b0 + b1 * x1 + b2 * x2 + b3 * x1 * x2)).

Usage

1
FIM_logistic_2pred(x1, x2, w, param)

Arguments

x1

Vector of design points (for first predictor).

x2

Vector of design points (for second predictor).

w

Vector of design weight. Its length must be equal to the length of x and sum(w) = 1.

param

Vector of values for the model parameters c(b0, b1, b2, b3).

Value

Fisher information matrix.


ehsan66/ICAOD documentation built on Oct. 16, 2020, 8:13 p.m.