FIM_logistic_2pred {ICAOD}R Documentation

Fisher Information Matrix for the Logistic Model with Two Predictors

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

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.


[Package ICAOD version 1.0.1 Index]