Utilities
For manipulation of output or inputs, there are several basic utility functionalities for transformation of variables, predicted parameters, or computations. Some are used internally by the built-in estimating equations but these methods are also made available to users.
Data transformations
|
Logistic transformation. |
|
Inverse logistic transformation. |
|
Identity transformation. |
|
Loss functions for robust mean and robust regression estimating equations. |
|
Aggregate estimating function contributions from the individual-level to the specified group-level. |
|
Generate generic polynomial spline terms for a given NumPy array and pre-specified knots. |
|
Polygamma function. |
|
Digamma function. |
Cumulative distribution function for the standard normal distribution. |
|
Probability density function for the standard normal distribution. |
Design matrices
|
Generate an additive design matrix for generalized additive models (GAM) given a set of spline specifications to apply. |
Model predictions
|
Generate predicted values of the outcome given a design matrix, point estimates, and covariance matrix. |
|
Compute predicted survival analysis measures from an accelerated failure time (AFT) model for given a design matrix and times. |
|
Compute estimated functions for survival analysis measures from an accelerated failure time (AFT) model across a specified time period. |
|
Compute predicted survival analysis measures from a pooled logistic regression model for given a design matrix and times. |
Differentiation
|
Numerical approximation to compute the gradient. |
|
Forward-mode automatic differentiation. |
Variance Estimators
|
Compute the empirical sandwich variance estimator for a given set of estimating equations and parameter estimates. |
|
Function to apply the Delta Method for a given parameter vector and transformation. |