powered by
Fisher information matrix of generalized linear model (GLM)
F_func_GLM(w, beta, X, link = "logit")
object of class "matrix_output", Fisher information matrix given X and model parameter beta
allocation (can be exact or approximate)
GLM model covariate coefficient
model matrix
link function, default"logit", choose from "logit", "cloglog", "loglog", "probit", and "identity"(for regular linear regression)
w = c(1/3,1/3, 1/3) beta = c(0.5, 0.5, 0.5) X = matrix(data=c(1,-1,-1,1,-1,1,1,1,-1), byrow=TRUE, nrow=3) F_func_GLM(w=w, beta=beta, X=X, link='logit')
Run the code above in your browser using DataLab