Data Science Asked by Jsevillamol on December 29, 2020
I am fitting my data to a multivariate linear regression $Y = BX + Xi$, where the response is bivariate $Yin R^{ntimes 2}$, and the predictor is uni-variate but elevated to the projective plane to account for the intercept $Xin R^{ntimes 2}$.
Now, finding the best fit reduces to $hat B = (X^T X)^{-1}X^T Y$.
But I am interested in finding a $0.7$ confidence region around $hat B$. How do I do that?
Looking at https://en.wikipedia.org/wiki/Simple_linear_regression :
This t-value has a Student's t-distribution with $n-2$ degrees of freedom. Using it we can construct a confidence interval for $beta$:
$$ beta in left[widehatbeta - s_{widehatbeta} t^*_{n - 2}, widehatbeta + s_{widehatbeta} t^*_{n - 2}right] $$
at confidence level $1-gamma$, where $t^*_{n - 2}$ is the $(1-frac{gamma}{2})$-th quantile of the $t_{n−2}$ distribution.
Answered by lcrmorin on December 29, 2020
Bayesian linear regression can provide an estimate for the confidence region for a linear regression estimate.
Answered by Brian Spiering on December 29, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP