dprime_func_self: Function to calculate du/dx in the gradient of d(x, Xi), will...

View source: R/dprime_func_self.R

dprime_func_selfR Documentation

Function to calculate du/dx in the gradient of d(x, Xi), will be used in ForLion_MLM_func() function, details see Appendix C in Huang, Li, Mandal, Yang (2024)

Description

Function to calculate du/dx in the gradient of d(x, Xi), will be used in ForLion_MLM_func() function, details see Appendix C in Huang, Li, Mandal, Yang (2024)

Usage

dprime_func_self(
  xi,
  bvec,
  h.func,
  h.prime,
  inv.F.mat,
  Ux,
  link = "continuation",
  k.continuous
)

Arguments

xi

a vector of design point

bvec

parameter of the multinomial logistic regression model

h.func

function, is used to transfer xi to model matrix (e.g. add interaction term, add intercept)

h.prime

function, is used to find dX/dx

inv.F.mat

inverse of F_Xi matrix, inverse of fisher information of current design w/o new point

Ux

U_x matrix in the algorithm, get from Fi_MLM_func() function

link

multinomial link function, default is"continuation", other choices "baseline", "cumulative", and "adjacent"

k.continuous

number of continuous factors

Value

dU/dx in the gradient of sensitivity function d(x, Xi)


ForLion documentation built on April 11, 2025, 5:38 p.m.