View source: R/model_linear_combo.R
calculate_lm_combo | R Documentation |
calculate_lm_combo
describes the linear model for a linear combination
of responses as a function of a set of predictors.
calculate_lm_combo(means, covs, n, phi, m = length(phi), add_intercept, ...)
means |
a vector of means of all model predictors and the response with
the last |
covs |
a matrix of the covariance of all model predictors and the
responses with the order of rows/columns corresponding to the order of
|
n |
sample size. |
phi |
vector of linear combination weights with one entry per response variable. |
m |
number of responses to combine. Defaults to |
add_intercept |
logical. If |
... |
additional arguments |
an object of class "pcsslm"
.
An object of class "pcsslm"
is a list containing at least the
following components:
call |
the matched call |
terms |
the |
coefficients |
a |
sigma |
the square root of the estimated variance of the random error. |
df |
degrees of freedom, a 3-vector |
fstatistic |
a 3-vector with the value of the F-statistic with its numerator and denominator degrees of freedom. |
r.squared |
|
adj.r.squared |
the above |
cov.unscaled |
a |
Sum Sq |
a 3-vector with the model's Sum of Squares Regression (SSR), Sum of Squares Error (SSE), and Sum of Squares Total (SST). |
wolf_computationally_2020pcsstools
\insertRefgasdaska_leveraging_2019pcsstools
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.