Saltar al contenido principal
LibreTexts Español

22.6: Factor Bayes

  • Page ID
    150756
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Discutimos los factores de Bayes en el capítulo anterior sobre estadísticas bayesianas; tal vez recuerde que representa la relación de probabilidad de los datos bajo cada una de las dos hipótesis:K=P(data|HA)P(data|H0)=P(HA|data)*P(HA)P(H0|data)*P(H0)K =\ frac {P (datos|H_a)} {P (datos|H_0)} =\ frac {P (H_a|datos) *P (H_A)} {P (H_0|datos) *P (H_0)}Podemos calcular el factor Bayes para los datos de búsqueda policial usando la función ContingencyTableBF () del paquete BayesFactor:

    ## Bayes factor analysis
    ## --------------
    ## [1] Non-indep. (a=1) : 1.8e+142 ±0%
    ## 
    ## Against denominator:
    ##   Null, independence, a = 1 
    ## ---
    ## Bayes factor type: BFcontingencyTable, independent multinomial

    Esto demuestra que la evidencia a favor de una relación entre la carrera de pilotos y las búsquedas policiales en este conjunto de datos es sumamente fuerte.


    This page titled 22.6: Factor Bayes is shared under a not declared license and was authored, remixed, and/or curated by Russell A. Poldrack via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.