# Porbability, not sure I get it

#### liquidFuzz

An example of what I try to calculate. In a string matching between two strings the whole strings aren't compared, just a section.

A = The probability of a true hit.
A true hit being:
PHP:
|adcbacdcbacd|abacd
|adcbacdcbacd|ab
B = The probability of artifact being correct.
Falls artifact being:
PHP:
|adcbacdcbacd|abacd
|adcbacdcbacd|bca
I though I'd use Bayes theorem to calculate the probability, but I'm not sure of how to do it.
$P(A|B)\frac{P(B|A)P(A)}{P(B)}$

In my example A is much higher than B, would this imply:
$P(A|B)\frac{P(≈A)P(A)}{P(B)} ≈ P(A)$

#### mfb

Mentor
I don't get what you want to calculate.
Can you add a general description instead of 2 uncommented examples?

#### liquidFuzz

I don't get what you want to calculate.
Can you add a general description instead of 2 uncommented examples?
A = Probability of something happening
B = Probability of something goes wrong if A happened.

#### mfb

Mentor
That is not the problem.
What do you want to calculate, where do those probabilities come from, and so on?

B = Probability of something goes wrong if A happened.
So P(B) is P(goes wrong|A)?

#### liquidFuzz

Ok, I snitched the text that got my puzzled. Please comment!

#### Attachments

• 39 KB Views: 245

#### chiro

Did you have a particular question in mind given your snitch?

#### liquidFuzz

Yeah, I don't quite get the part when he or she goes all P(A|B) and P(B|A).

This is a part of a report that I'm helping to proofread.

#### mfb

Mentor
Probability values above 1 do not make sense. In addition, the text does not state clearly where probabilities come from. It is like "probability of an apple" - sure, I know apples, but an apple where, in which setup?

#### liquidFuzz

I guess I'll get away with just commenting this. "Vague reasoning."

Thanks!

### Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving