Sponsored Links

Kamis, 09 November 2017

Sponsored Links

Bayesian linear regression - YouTube
src: i.ytimg.com

In statistics, Bayesian linear regression is an approach to linear regression in which the statistical analysis is undertaken within the context of Bayesian inference. When the regression model has errors that have a normal distribution, and if a particular form of prior distribution is assumed, explicit results are available for the posterior probability distributions of the model's parameters.


Video Bayesian linear regression



Model setup

Consider a standard linear regression problem, in which for i = 1 , . . . , n {\displaystyle i=1,...,n} we specify the conditional distribution of y i {\displaystyle y_{i}} given a k × 1 {\displaystyle k\times 1} predictor vector x i {\displaystyle \mathbf {x} _{i}} :

y i = x i T ? + ? i , {\displaystyle y_{i}=\mathbf {x} _{i}^{\rm {T}}{\boldsymbol {\beta }}+\epsilon _{i},}

where ? {\displaystyle {\boldsymbol {\beta }}} is a k × 1 {\displaystyle k\times 1} vector, and the ? i {\displaystyle \epsilon _{i}} are independent and identical normally distributed random variables:

? i ~ N ( 0 , ? 2 ) . {\displaystyle \epsilon _{i}\sim N(0,\sigma ^{2}).}

This corresponds to the following likelihood function:

? ( y | X , ? , ? 2 ) ? ( ? 2 ) - n / 2 exp ( - 1 2 ? 2 ( y - X ? ) T ( y - X ? ) ) . {\displaystyle \rho (\mathbf {y} |\mathbf {X} ,{\boldsymbol {\beta }},\sigma ^{2})\propto (\sigma ^{2})^{-n/2}\exp \left(-{\frac {1}{2{\sigma }^{2}}}(\mathbf {y} -\mathbf {X} {\boldsymbol {\beta }})^{\rm {T}}(\mathbf {y} -\mathbf {X} {\boldsymbol {\beta }})\right).}

The ordinary least squares solution is to estimate the coefficient vector using the Moore-Penrose pseudoinverse:

? ^ = ( X T X ) - 1 X T y {\displaystyle {\hat {\boldsymbol {\beta }}}=(\mathbf {X} ^{\rm {T}}\mathbf {X} )^{-1}\mathbf {X} ^{\rm {T}}\mathbf {y} }

where X {\displaystyle \mathbf {X} } is the n × k {\displaystyle n\times k} design matrix, each row of which is a predictor vector x i T {\displaystyle \mathbf {x} _{i}^{\rm {T}}} ; and y {\displaystyle \mathbf {y} } is the column n {\displaystyle n} -vector [ y 1 ? y n ] T {\displaystyle [y_{1}\;\cdots \;y_{n}]^{\rm {T}}} .

This is a frequentist approach, and it assumes that there are enough measurements to say something meaningful about ? {\displaystyle {\boldsymbol {\beta }}} . In the Bayesian approach, the data are supplemented with additional information in the form of a prior probability distribution. The prior belief about the parameters is combined with the data's likelihood function according to Bayes theorem to yield the posterior belief about the parameters ? {\displaystyle {\boldsymbol {\beta }}} and ? {\displaystyle \sigma } . The prior can take different functional forms depending on the domain and the information that is available in a priori.


Maps Bayesian linear regression



With conjugate priors

Conjugate prior distribution

For an arbitrary prior distribution, there may be no analytical solution for the posterior distribution. In this section, we will consider a so-called conjugate prior for which the posterior distribution can be derived analytically.

A prior ? ( ? , ? 2 ) {\displaystyle \rho ({\boldsymbol {\beta }},\sigma ^{2})} is conjugate to this likelihood function if it has the same functional form with respect to ? {\displaystyle {\boldsymbol {\beta }}} and ? {\displaystyle \sigma } . Since the log-likelihood is quadratic in ? {\displaystyle {\boldsymbol {\beta }}} , the log-likelihood is re-written such that the likelihood becomes normal in ( ? - ? ^ ) {\displaystyle ({\boldsymbol {\beta }}-{\hat {\boldsymbol {\beta }}})} . Write

( y - X ? ) T ( y - X ? ) = ( y - X ? ^ ) T ( y - X ? ^ ) + ( ? - ? ^ ) T ( X T X ) ( ? - ? ^ ) . {\displaystyle (\mathbf {y} -\mathbf {X} {\boldsymbol {\beta }})^{\rm {T}}(\mathbf {y} -\mathbf {X} {\boldsymbol {\beta }})=(\mathbf {y} -\mathbf {X} {\hat {\boldsymbol {\beta }}})^{\rm {T}}(\mathbf {y} -\mathbf {X} {\hat {\boldsymbol {\beta }}})+({\boldsymbol {\beta }}-{\hat {\boldsymbol {\beta }}})^{\rm {T}}(\mathbf {X} ^{\rm {T}}\mathbf {X} )({\boldsymbol {\beta }}-{\hat {\boldsymbol {\beta }}}).}

The likelihood is now re-written as

? ( y | X , ? , ? 2 ) ? ( ? 2 ) - v 2 exp ( - v s 2 2 ? 2 ) ( ? 2 ) - n - v 2 exp ( - 1 2 ? 2 ( ? - ? ^ ) T ( X T X ) ( ? - ? ^ ) ) , {\displaystyle \rho (\mathbf {y} |\mathbf {X} ,{\boldsymbol {\beta }},\sigma ^{2})\propto (\sigma ^{2})^{-{\frac {v}{2}}}\exp \left(-{\frac {vs^{2}}{2{\sigma }^{2}}}\right)(\sigma ^{2})^{-{\frac {n-v}{2}}}\exp \left(-{\frac {1}{2{\sigma }^{2}}}({\boldsymbol {\beta }}-{\hat {\boldsymbol {\beta }}})^{\rm {T}}(\mathbf {X} ^{\rm {T}}\mathbf {X} )({\boldsymbol {\beta }}-{\hat {\boldsymbol {\beta }}})\right),}

where

v s 2 = ( y - X ? ^ ) T ( y - X ? ^ )  and  v = n - k , {\displaystyle vs^{2}=(\mathbf {y} -\mathbf {X} {\hat {\boldsymbol {\beta }}})^{\rm {T}}(\mathbf {y} -\mathbf {X} {\hat {\boldsymbol {\beta }}})\quad {\text{ and }}\quad v=n-k,}

where k {\displaystyle k} is the number of regression coefficients.

This suggests a form for the prior:

? ( ? , ? 2 ) = ? ( ? 2 ) ? ( ? | ? 2 ) , {\displaystyle \rho ({\boldsymbol {\beta }},\sigma ^{2})=\rho (\sigma ^{2})\rho ({\boldsymbol {\beta }}|\sigma ^{2}),}

where ? ( ? 2 ) {\displaystyle \rho (\sigma ^{2})} is an inverse-gamma distribution

? ( ? 2 ) ? ( ? 2 ) - v 0 2 - 1 exp ( - v 0 s 0 2 2 ? 2 ) . {\displaystyle \rho (\sigma ^{2})\propto (\sigma ^{2})^{-{\frac {v_{0}}{2}}-1}\exp \left(-{\frac {v_{0}s_{0}^{2}}{2{\sigma }^{2}}}\right).}

In the notation introduced in the inverse-gamma distribution article, this is the density of an Inv-Gamma ( a 0 , b 0 ) {\displaystyle {\text{Inv-Gamma}}(a_{0},b_{0})} distribution with a 0 = v 0 2 {\displaystyle a_{0}={\tfrac {v_{0}}{2}}} and b 0 = 1 2 v 0 s 0 2 {\displaystyle b_{0}={\tfrac {1}{2}}v_{0}s_{0}^{2}} with v 0 {\displaystyle v_{0}} and s 0 2 {\displaystyle s_{0}^{2}} as the prior values of v {\displaystyle v} and s 2 {\displaystyle s^{2}} , respectively. Equivalently, it can also be described as a scaled inverse chi-squared distribution, Scale-inv- ? 2 ( v 0 , s 0 2 ) . {\displaystyle {\mbox{Scale-inv-}}\chi ^{2}(v_{0},s_{0}^{2}).}

Further the conditional prior density ? ( ? | ? 2 ) {\displaystyle \rho ({\boldsymbol {\beta }}|\sigma ^{2})} is a normal distribution,

? ( ? | ? 2 ) ? ( ? 2 ) - k 2 exp ( - 1 2 ? 2 ( ? - ? 0 ) T ? 0 ( ? - ? 0 ) ) . {\displaystyle \rho ({\boldsymbol {\beta }}|\sigma ^{2})\propto (\sigma ^{2})^{-{\frac {k}{2}}}\exp \left(-{\frac {1}{2{\sigma }^{2}}}({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{0})^{\rm {T}}\mathbf {\Lambda } _{0}({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{0})\right).}

In the notation of the normal distribution, the conditional prior distribution is N ( ? 0 , ? 2 ? 0 - 1 ) . {\displaystyle {\mathcal {N}}\left({\boldsymbol {\mu }}_{0},\sigma ^{2}\mathbf {\Lambda } _{0}^{-1}\right).}

Posterior distribution

With the prior now specified, the posterior distribution can be expressed as

? ( ? , ? 2 | y , X ) ? ? ( y | X , ? , ? 2 ) ? ( ? | ? 2 ) ? ( ? 2 ) ? ( ? 2 ) - n 2 exp ( - 1 2 ? 2 ( y - X ? ) T ( y - X ? ) ) ( ? 2 ) - k 2 exp ( - 1 2 ? 2 ( ? - ? 0 ) T ? 0 ( ? - ? 0 ) ) ( ? 2 ) - ( a 0 + 1 ) exp ( - b 0 ? 2 ) {\displaystyle {\begin{aligned}\rho ({\boldsymbol {\beta }},\sigma ^{2}|\mathbf {y} ,\mathbf {X} )&\propto \rho (\mathbf {y} |\mathbf {X} ,{\boldsymbol {\beta }},\sigma ^{2})\rho ({\boldsymbol {\beta }}|\sigma ^{2})\rho (\sigma ^{2})\\&\propto (\sigma ^{2})^{-{\frac {n}{2}}}\exp \left(-{\frac {1}{2{\sigma }^{2}}}(\mathbf {y} -\mathbf {X} {\boldsymbol {\beta }})^{\rm {T}}(\mathbf {y} -\mathbf {X} {\boldsymbol {\beta }})\right)(\sigma ^{2})^{-{\frac {k}{2}}}\exp \left(-{\frac {1}{2{\sigma }^{2}}}({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{0})^{\rm {T}}{\boldsymbol {\Lambda }}_{0}({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{0})\right)(\sigma ^{2})^{-(a_{0}+1)}\exp \left(-{\frac {b_{0}}{{\sigma }^{2}}}\right)\end{aligned}}}

With some re-arrangement, the posterior can be re-written so that the posterior mean ? n {\displaystyle {\boldsymbol {\mu }}_{n}} of the parameter vector ? {\displaystyle {\boldsymbol {\beta }}} can be expressed in terms of the least squares estimator ? ^ {\displaystyle {\hat {\boldsymbol {\beta }}}} and the prior mean ? 0 {\displaystyle {\boldsymbol {\mu }}_{0}} , with the strength of the prior indicated by the prior precision matrix ? 0 {\displaystyle {\boldsymbol {\Lambda }}_{0}}

? n = ( X T X + ? 0 ) - 1 ( X T X ? ^ + ? 0 ? 0 ) . {\displaystyle {\boldsymbol {\mu }}_{n}=(\mathbf {X} ^{\rm {T}}\mathbf {X} +{\boldsymbol {\Lambda }}_{0})^{-1}(\mathbf {X} ^{\rm {T}}\mathbf {X} {\hat {\boldsymbol {\beta }}}+{\boldsymbol {\Lambda }}_{0}{\boldsymbol {\mu }}_{0}).}

To justify that ? n {\displaystyle {\boldsymbol {\mu }}_{n}} is indeed the posterior mean, the quadratic terms in the exponential can be re-arranged as a quadratic form in ? - ? n {\displaystyle {\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{n}} .

( y - X ? ) T ( y - X ? ) + ( ? - ? 0 ) T ? 0 ( ? - ? 0 ) = ( ? - ? n ) T ( X T X + ? 0 ) ( ? - ? n ) + y T y - ? n T ( X T X + ? 0 ) ? n + ? 0 T ? 0 ? 0 . {\displaystyle (\mathbf {y} -\mathbf {X} {\boldsymbol {\beta }})^{\rm {T}}(\mathbf {y} -\mathbf {X} {\boldsymbol {\beta }})+({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{0})^{\rm {T}}{\boldsymbol {\Lambda }}_{0}({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{0})=({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{n})^{\rm {T}}(\mathbf {X} ^{\rm {T}}\mathbf {X} +{\boldsymbol {\Lambda }}_{0})({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{n})+\mathbf {y} ^{\rm {T}}\mathbf {y} -{\boldsymbol {\mu }}_{n}^{\rm {T}}(\mathbf {X} ^{\rm {T}}\mathbf {X} +{\boldsymbol {\Lambda }}_{0}){\boldsymbol {\mu }}_{n}+{\boldsymbol {\mu }}_{0}^{\rm {T}}{\boldsymbol {\Lambda }}_{0}{\boldsymbol {\mu }}_{0}.}

Now the posterior can be expressed as a normal distribution times an inverse-gamma distribution:

? ( ? , ? 2 | y , X ) ? ( ? 2 ) - k 2 exp ( - 1 2 ? 2 ( ? - ? n ) T ( X T X + ? 0 ) ( ? - ? n ) ) ( ? 2 ) - n + 2 a 0 2 - 1 exp ( - 2 b 0 + y T y - ? n T ( X T X + ? 0 ) ? n + ? 0 T ? 0 ? 0 2 ? 2 ) . {\displaystyle \rho ({\boldsymbol {\beta }},\sigma ^{2}|\mathbf {y} ,\mathbf {X} )\propto (\sigma ^{2})^{-{\frac {k}{2}}}\exp \left(-{\frac {1}{2{\sigma }^{2}}}({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{n})^{\rm {T}}(\mathbf {X} ^{\rm {T}}\mathbf {X} +\mathbf {\Lambda } _{0})({\boldsymbol {\beta }}-{\boldsymbol {\mu }}_{n})\right)(\sigma ^{2})^{-{\frac {n+2a_{0}}{2}}-1}\exp \left(-{\frac {2b_{0}+\mathbf {y} ^{\rm {T}}\mathbf {y} -{\boldsymbol {\mu }}_{n}^{\rm {T}}(\mathbf {X} ^{\rm {T}}\mathbf {X} +{\boldsymbol {\Lambda }}_{0}){\boldsymbol {\mu }}_{n}+{\boldsymbol {\mu }}_{0}^{\rm {T}}{\boldsymbol {\Lambda }}_{0}{\boldsymbol {\mu }}_{0}}{2{\sigma }^{2}}}\right).}

Therefore, the posterior distribution can be parametrized as follows.

? ( ? , ? 2 | y , X ) ? ? ( ? | ? 2 , y , X ) ? ( ? 2 | y , X ) , {\displaystyle \rho ({\boldsymbol {\beta }},\sigma ^{2}|\mathbf {y} ,\mathbf {X} )\propto \rho ({\boldsymbol {\beta }}|\sigma ^{2},\mathbf {y} ,\mathbf {X} )\rho (\sigma ^{2}|\mathbf {y} ,\mathbf {X} ),}

where the two factors correspond to the densities of N ( ? n , ? 2 ? n - 1 ) {\displaystyle {\mathcal {N}}\left({\boldsymbol {\mu }}_{n},\sigma ^{2}{\boldsymbol {\Lambda }}_{n}^{-1}\right)\,} and Inv-Gamma ( a n , b n ) {\displaystyle {\text{Inv-Gamma}}\left(a_{n},b_{n}\right)} distributions, with the parameters of these given by

? n = ( X T X + ? 0 ) , ? n = ( ? n ) - 1 ( X T X ? ^ + ? 0 ? 0 ) , {\displaystyle {\boldsymbol {\Lambda }}_{n}=(\mathbf {X} ^{\rm {T}}\mathbf {X} +\mathbf {\Lambda } _{0}),\quad {\boldsymbol {\mu }}_{n}=({\boldsymbol {\Lambda }}_{n})^{-1}(\mathbf {X} ^{\rm {T}}\mathbf {X} {\hat {\boldsymbol {\beta }}}+{\boldsymbol {\Lambda }}_{0}{\boldsymbol {\mu }}_{0}),}
a n = a 0 + n 2 , b n = b 0 + 1 2 ( y T y + ? 0 T ? 0 ? 0 - ? n T ? n ? n ) . {\displaystyle a_{n}=a_{0}+{\frac {n}{2}},\qquad b_{n}=b_{0}+{\frac {1}{2}}(\mathbf {y} ^{\rm {T}}\mathbf {y} +{\boldsymbol {\mu }}_{0}^{\rm {T}}{\boldsymbol {\Lambda }}_{0}{\boldsymbol {\mu }}_{0}-{\boldsymbol {\mu }}_{n}^{\rm {T}}{\boldsymbol {\Lambda }}_{n}{\boldsymbol {\mu }}_{n}).}

This can be interpreted as Bayesian learning where the parameters are updated according to the following equations.

? n = ( X T X + ? 0 ) - 1 ( ? 0 ? 0 + X T X ? ^ ) = ( X T X + ? 0 ) - 1 ( ? 0 ? 0 + X T y ) , {\displaystyle {\boldsymbol {\mu }}_{n}=(\mathbf {X} ^{\rm {T}}\mathbf {X} +{\boldsymbol {\Lambda }}_{0})^{-1}({\boldsymbol {\Lambda }}_{0}{\boldsymbol {\mu }}_{0}+\mathbf {X} ^{\rm {T}}\mathbf {X} {\hat {\boldsymbol {\beta }}})=(\mathbf {X} ^{\rm {T}}\mathbf {X} +{\boldsymbol {\Lambda }}_{0})^{-1}({\boldsymbol {\Lambda }}_{0}{\boldsymbol {\mu }}_{0}+\mathbf {X} ^{\rm {T}}\mathbf {y} ),}
? n = ( X T X + ? 0 ) , {\displaystyle {\boldsymbol {\Lambda }}_{n}=(\mathbf {X} ^{\rm {T}}\mathbf {X} +{\boldsymbol {\Lambda }}_{0}),}
a n = a 0 + n 2 , {\displaystyle a_{n}=a_{0}+{\frac {n}{2}},}
b n = b 0 + 1 2 ( y T y + ? 0 T ? 0 ? 0 - ? n T ? n ? n ) . {\displaystyle b_{n}=b_{0}+{\frac {1}{2}}(\mathbf {y} ^{\rm {T}}\mathbf {y} +{\boldsymbol {\mu }}_{0}^{\rm {T}}{\boldsymbol {\Lambda }}_{0}{\boldsymbol {\mu }}_{0}-{\boldsymbol {\mu }}_{n}^{\rm {T}}{\boldsymbol {\Lambda }}_{n}{\boldsymbol {\mu }}_{n}).}

Model evidence

The model evidence p ( y | m ) {\displaystyle p(\mathbf {y} |m)} is the probability of the data given the model m {\displaystyle m} . It is also known as the marginal likelihood, and as the prior predictive density. Here, the model is defined by the likelihood function p ( y | X , ? , ? ) {\displaystyle p(\mathbf {y} |\mathbf {X} ,{\boldsymbol {\beta }},\sigma )} and the prior distribution on the parameters, i.e. p ( ? , ? ) {\displaystyle p({\boldsymbol {\beta }},\sigma )} . The model evidence captures in a single number how well such a model explains the observations. The model evidence of the Bayesian linear regression model presented in this section can be used to compare competing linear models by Bayesian model comparison. These models may differ in the number and values of the predictor variables as well as in their priors on the model parameters. Model complexity is already taken into account by the model evidence, because it marginalizes out the parameters by integrating p ( y , ? , ? | X ) {\displaystyle p(\mathbf {y} ,{\boldsymbol {\beta }},\sigma |\mathbf {X} )} over all possible values of ? {\displaystyle {\boldsymbol {\beta }}} and ? {\displaystyle \sigma } .

p ( y | m ) = ? p ( y | X , ? , ? ) p ( ? , ? ) d ? d ? {\displaystyle p(\mathbf {y} |m)=\int p(\mathbf {y} |\mathbf {X} ,{\boldsymbol {\beta }},\sigma )\,p({\boldsymbol {\beta }},\sigma )\,d{\boldsymbol {\beta }}\,d\sigma }

This integral can be computed analytically and the solution is given in the following equation.

p ( y | m ) = 1 ( 2 ? ) n / 2 det ( ? 0 ) det ( ? n ) ? b 0 a 0 b n a n ? ? ( a n ) ? ( a 0 ) {\displaystyle p(\mathbf {y} |m)={\frac {1}{(2\pi )^{n/2}}}{\sqrt {\frac {\det({\boldsymbol {\Lambda }}_{0})}{\det({\boldsymbol {\Lambda }}_{n})}}}\cdot {\frac {b_{0}^{a_{0}}}{b_{n}^{a_{n}}}}\cdot {\frac {\Gamma (a_{n})}{\Gamma (a_{0})}}}

Here ? {\displaystyle \Gamma } denotes the gamma function. Because we have chosen a conjugate prior, the marginal likelihood can also be easily computed by evaluating the following equality for arbitrary values of ? {\displaystyle {\boldsymbol {\beta }}} and ? {\displaystyle \sigma } .

p ( y | m ) = p ( ? , ? | m ) p ( y | X , ? , ? , m ) p ( ? , ? | y , X , m ) {\displaystyle p(\mathbf {y} |m)={\frac {p({\boldsymbol {\beta }},\sigma |m)\,p(\mathbf {y} |\mathbf {X} ,{\boldsymbol {\beta }},\sigma ,m)}{p({\boldsymbol {\beta }},\sigma |\mathbf {y} ,\mathbf {X} ,m)}}}

Note that this equation is nothing but a re-arrangement of Bayes theorem. Inserting the formulas for the prior, the likelihood, and the posterior and simplifying the resulting expression leads to the analytic expression given above.


Integrating Bayesian Linear Regression with Ordered Weighted ...
src: ascelibrary.org


Other cases

In general, it may be impossible or impractical to derive the posterior distribution analytically. However, it is possible to approximate the posterior by an approximate Bayesian inference method such as Monte Carlo sampling or variational Bayes.

The special case ? 0 = 0 , ? 0 = c I {\displaystyle {\boldsymbol {\mu }}_{0}=0,\mathbf {\Lambda } _{0}=c\mathbf {I} } is called ridge regression.

A similar analysis can be performed for the general case of the multivariate regression and part of this provides for Bayesian estimation of covariance matrices: see Bayesian multivariate linear regression.


Bayesian linear regression using the bayes prefix - YouTube
src: i.ytimg.com


See also

  • Bayes linear statistics
  • Tikhonov regularization
  • Spike and slab variable selection

Advancements in Analytics with Azure Machine Learning James Wang ...
src: images.slideplayer.com


Notes


Microsoft Azure Cloud - Machine Learning - Bayesian Linear ...
src: i.ytimg.com


References

  • Box, G. E. P.; Tiao, G. C. (1973). Bayesian Inference in Statistical Analysis. Wiley. ISBN 0-471-57428-7. 
  • Carlin, Bradley P. and Louis, Thomas A. (2008). Bayesian Methods for Data Analysis, Third Edition. Boca Raton, FL: Chapman and Hall/CRC. ISBN 1-58488-697-8. CS1 maint: Uses authors parameter (link)
  • Fahrmeir, L., Kneib, T., and Lang, S. (2009). Regression. Modelle, Methoden und Anwendungen (Second ed.). Heidelberg: Springer. doi:10.1007/978-3-642-01837-4. ISBN 978-3-642-01836-7. CS1 maint: Uses authors parameter (link)
  • Fornalski, Krzysztof W. (2015). "Applications of the robust Bayesian regression analysis". International Journal of Society Systems Science. 7 (4): 314-333. doi:10.1504/IJSSS.2015.073223. 
  • Gelman, Andrew, Carlin, John B., Stern, Hal S. and Rubin, Donald B. (2003). Bayesian Data Analysis, Second Edition. Boca Raton, FL: Chapman and Hall/CRC. ISBN 1-58488-388-X. CS1 maint: Uses authors parameter (link)
  • Goldstein, Michael; Wooff, David (2007). Bayes Linear Statistics, Theory & Methods. Wiley. ISBN 978-0-470-01562-9. 
  • Minka, Thomas P. (2001) Bayesian Linear Regression, Microsoft research web page
  • Rossi, Peter E.; Allenby, Greg M.; McCulloch, Robert (2006). Bayesian Statistics and Marketing. John Wiley & Sons. ISBN 0470863676. 
  • O'Hagan, Anthony (1994). Bayesian Inference. Kendall's Advanced Theory of Statistics. 2B (First ed.). Halsted. ISBN 0-340-52922-9. CS1 maint: Uses authors parameter (link)
  • Sivia, D.S., Skilling, J. (2006). Data Analysis - A Bayesian Tutorial (Second ed.). Oxford University Press. CS1 maint: Uses authors parameter (link)
  • Walter, Gero; Augustin, Thomas (2009). "Bayesian Linear Regression--Different Conjugate Models and Their (In)Sensitivity to Prior-Data Conflict" (PDF). Technical Report Number 069, Department of Statistics, University of Munich. 

Philosophical Transactions of the Royal Society B: Biological Sciences
src: rstb.royalsocietypublishing.org


External links

  • Bayesian estimation of linear models (R programming wikibook). Bayesian linear regression as implemented in R.

Machine learning - Maximum likelihood and linear regression - YouTube
src: i.ytimg.com


Software

  • python
    • Bayesian Type-II Linear Regression code, tutorial
    • ARD Linear Regression code
    • ARD Linear Regression with kernelized features code, tutorial

Source of the article : Wikipedia

Comments
0 Comments