lm_error_var will calculate the required error variance for a linear
model, given specified model coefficients, to create variance for your
dependent variable of approximately 'var'.
The variance you wish your dependent variable to be.
Pass along all model coefficients, excluding the intercept. These can be named or unnamed.
Note: This function assumes that all predictors are independent (i.e., uncorrelated).
Returns the required error variance so that the variance of your dependent variable is approximately 'var'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.