Tag: calculator

Thing 16: Probability Converter

I made a converter between different ways of thinking about probabilities. It allows conversion between probabilities, odds, and log odds measured in bits, logits, and decibels. The ui is pretty terrible, sorry.

probability:
odds:
log2 odds: bits
natural log odds: logits
log10ish odds: decibels

Thing 12: Blood Type Calculator: Better Rh Inference

Continuation of thing 9.

Better rh factor inference. It can now infer e.g. that if a child is rh positive, and one parent is rh negative, the other parent must be rh positive.

#NameParent1's NameParent2's NameABORhActions
No rows yet.
Possible Blood Types:

Thing 9: Blood Type Calculator

I made a blood type calculator that deduces what some family members' blood types must be given the blood types of other people in the family. It's not perfect at inferring all possible information yet, but it can infer some interesting things.

Put in some family members whose blood types you know, and see if it can correctly deduce someone's blood type! The more family members you add (including grandparents and cousins, etc.), the more likely it will be to narrow it down more.

For example, try adding in Alice with blood type A and Bob with blood type B and give them a kid. See how the kid could still be any blood type. Now give Alice and Bob each two parents with blood types AB. Now the kid can only be blood type AB.

Future improvements I want to make: (1) infer that if one parent is rh negative and the child is rh positive, the other parent must be rh positive, (2) output probabilities based on bayesian reasoning, instead of just which ones are possible.

Disclaimer: the UI was partially written by an LLM, but the main focus of this post was on the logic of the calculation, which was entirely written by me.

#NameParent1's NameParent2's NameABORhActions
No rows yet.
Possible Blood Types: