compute_mu_alpha_jacobian: Compute the Jacobian of the link function by Alpha parameter

Description Usage Arguments Value

View source: R/compute_gee_variance.R

Description

Helper function to calculate the Jacobian of the expected value by Alpha: J_{α}≤ft(g≤ft(Θ,α\right)\right)_{ij}= \frac{\partial g_{i}≤ft(Θ,α\right)}{\partialα_{j}}

Usage

1
2
3
4
5
6
7
8
compute_mu_alpha_jacobian(
  group,
  alpha,
  control_datamatrix,
  diagnosed_datamatrix,
  d = 1,
  LinkFunc
)

Arguments

group

can be either 'diagnosed' or 'control'

alpha

the vector to calculate the Jacobian on

control_datamatrix

array of correlation matrices of control group, vectorized and organized in a data matrix

diagnosed_datamatrix

same as control_datamatrix but of the diagnosed group

d

the number of columns in alpha, default 1

LinkFunc

the link function $g$ to use

Value

the Jacobian matrix


itamarfaran/corrfuncs documentation built on Nov. 26, 2021, 12:02 p.m.