This function returns a list containing the parameter estimates
beta, the variance-covariance matrix
the residual degrees of freedom
df and the residual standard deviation
sigma based on a general linear model fitted by the
lm function from the stats package.
This function will only rarely be called by the end-user. When calculating these values for
protLM objects, we recommend using the function
A general linear model object of class
The effect in the model that corresponds to the experimental unit. Only needed when one would like to calculate a more conservative way of estimating the degrees of freedom.
The default way (
Only used if
A list containing (1) a named column matrix beta containing the parameter estimates, (2) a named square variance-covariance matrix, (3) a numeric value equal to the residual degrees of freedom, (4) a numeric value equal to the residual standard deviation of the model and (5)
exp_unit is left to its default value
NULL, else: a conservative estimate of the degrees of freedom based on the number of experimental units and the degrees of freedom lost due to between-treatment effects.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.