Function to calculate dEu/dx in the gradient of d(x, Xi), will be used in EW_ForLion_MLM_func() function
EW_dprime_func_self(
xi,
bvec_matrix,
h.func,
h.prime,
inv.F.mat,
EUx,
link = "continuation",
k.continuous
)
dEU/dx in the gradient of sensitivity function d(x, Xi)
a vector of design point
the matrix of the bootstrap parameter values of beta
function, is used to transfer xi to model matrix (e.g. add interaction term, add intercept)
function, is used to find dX/dx
inverse of F_Xi matrix, inverse of the Expectation of fisher information of current design w/o new point
EU_x matrix in the algorithm, get from EW_Fi_MLM_func() function
link multinomial link function, default is"continuation", other choices "baseline", "cumulative", and "adjacent"
number of continuous factors