Introduction
In this framework let
denote the treatment arm,
the outcome variable, and
the time variable. The SensIAT package allows users to specify different
loss functions and link functions when fitting models to their data.
This flexibility enables users to tailor the modeling approach to their
specific research questions and data characteristics. Let
denote the population mean outcome at time
were all participants assigned to treatment arm
.
The mean function is modeled as $_a(t) = g{-1}((t)_a) =
s((t)^_a) $ where
is a link function,
is a vector values basis function and
is a vector of coefficients, distinct for each treatment arm. The
function
is the inverse link function. We consider three loss functions to use in
order to fit the coefficient
:
-
,
squared error loss in the transformed space;
-
,
squared error loss in the original space;
-
,
quasi-likelihood loss, where
.
In the SensIAT package, we have implemented the following link
functions:
- Identity link:
,
,
- Log link:
,
,
- Logit link:
,
.
Details
The estimate for the treatment group marginal mean function,
is found by solving
,
for
,
where
The
term depends on the choice of loss function and link function.
For squared error loss in the transformed space,
,
in general we have
Identity Link
For the identity link,
,
,
so
Log Link
For the log link,
Logit Link
For the logit link,
Squared error loss in the original space
For squared error loss in the original space,
,
in general we have
Identity Link
For the identity link,
,
so
and
where
Log Link
For the log link,
,
so
and
where
Logit Link
For the logit link,
,
so
$$
\frac{\partial s(\boldsymbol{B}(t)^\prime \boldsymbol{\beta})}{\partial
\boldsymbol{\beta}} = \boldsymbol{B}(t)
\frac{\exp\left(\boldsymbol{B}(t)^\prime
\bold{\beta}\right)}{\left\{1+\exp\left(\boldsymbol{B}(t)^\prime
\boldsymbol{\beta}\right)\right\}^2},
$$ and $$
W_2(t;\boldsymbol{\beta}) = \boldsymbol{V}_2(\boldsymbol{\beta})^{-1}
\boldsymbol{B}(t) \frac{\exp\left(\boldsymbol{B}(t)^\prime
\bold{\beta}\right)}{\left\{1+\exp\left(\boldsymbol{B}(t)^\prime
\bold{\beta}\right)\right\}^2},
$$ where
Quasi-likelihood Loss
For quasi-likelihood loss,
,
in general we have
Identity Link
For the identity link,
,
so
and
where
Log Link
For the log link,
,
so
and
where
Logit Link
For the logit link,
,
so
and
where