Skip to content

hchiam/learning-bayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Bayes License: MIT

Just one of the things I'm learning. https://github.com/hchiam/learning

intuition and explanation:

How to use Bayes's rule to update beliefs when given new evidence (hint: multiply ratios): https://brilliant.org/courses/knowledge-and-uncertainty/bayesian-thinking/bayes-rule/1/ and https://brilliant.org/courses/knowledge-and-uncertainty/bayesian-thinking/cause-bayes-rule/1/

  • p-value = p(results|H0)

    • small p-value <-- large effect OR large sample size!
    • instead of using "p-value < 0.05 is good", use Bayes' rule to weigh both evidence for (H1) and against (H0) - accounting for baseline rates, and multiple possible causes for an observation (don't forget the possibility of independent concurrent causes), i.e. observations given actuals
  • google "causal Bayesian network"

backups of some of my old diagrams:


A indep B ⇒ p(A & B) = p(A) * p(B):

0.5*0.5=0.25 with overlapping circles, since you don't know the state of the other when one is true


A not indep B ⇒ p(A & B) = p(A if B) * p(B):

0.5*0.5=0.25 with one circle enclosed in the other circle, not two separate circles


A xor B ⇒ p(A or B) = p(A) + p(B):

0.5+0.5=1 with two squares taking up the whole space and not overlapping, since they're mutually exclusive


A not xor B ⇒ p(A or B) = p(A) + p(B) - p(A: & B)

0.75+0.75-0.5=1 with overlapping squares since they're not mutually exclusive and you could have both true at the same time

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published