Description Usage Arguments Value Examples
Linear Regression and Prediction
1 |
X |
n by p design matrix of numeric covariates where n is the sample size and p is the parameter space. |
y |
n by 1 vector of numeric continuous outcomes |
add_intercept |
do you need to add an intercept column to your design matrix? we assume TRUE |
to_predict |
optional observation(s) for which you would like the outcomes predicted |
coefficients, fitted values, residuals, predictions (if you asked for them), t- statistics and conclusions to the hypothesis test that the coefficient is 0.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.