Flexible Transfer Model (FTM) Linear Model Class
ftmlm-class.RdAn S4 class designed to encapsulate the necessary components for a flexible transfer model linear model. This class stores matrices that represent the weighted cross-product of predictors and the cross-product of predictors with outcomes, essential for the model calculations.
Usage
This class is internally used by functions within the package to perform regression analysis. It is not intended for direct use.
Slots
- XtX
matrixrepresenting the cross product of the predictor variables.- Xty
matrixrepresenting the cross product of the predictor variables and outcomes.- s
numericrepresenting the optimal Ridge penalty from cross-validation (if available).- n
numericrepresenting the number of observations.- yty
numericrepresenting the sum of squared responses.- y_mean
numericrepresenting the mean of the outcome variable.