Introduction to Discrete & Continuous Probability Distributions

  ✅ 1. What is a Probability Distribution? A probability distribution describes how probabilities are distributed over the values of a random variable . Random Variable : A variable whose values are outcomes of a random phenomenon. ๐Ÿงฎ 2. Types of Probability Distributions Type Description GIS Example Discrete           Takes countable values  Number of landslides per year in a          valley Continuous          Takes infinite values over an                 interval Rainfall (mm), elevation, temperature  ๐Ÿ“Œ Discrete Probability Distributions ๐ŸŽฏ 3. Binomial Distribution ✅ Definition : Used when an experiment is repeated n times , and each trial has two outcomes : success or failure. ✅ Conditions : Fixed number of trials (n) Only two possible outcomes per trial (success/failure) Constant probability of success (p) Trials are in...

Introduction to Probabilistic Modelling

๐Ÿง  1. Introduction to Probability 

 ๐Ÿ”น What is Probability? 

Probability is a way of measuring how likely an event is to happen. It's used when there is uncertainty about the outcome. 

 ๐Ÿ”น Probability Space A probability space includes: 

 Sample space (ฮฉ): All possible outcomes of an experiment. E.g., ฮฉ = {infected, not infected} for testing a cow for a disease. 

 Event space (๐“•): Collection of events we are interested in. E.g., event E = {infected}. 
 
Probability (P): A number between 0 and 1 assigned to each event. 

E.g., P(E) = 0.3 means a 30% chance of infection. 

 ๐Ÿงช Example: Let’s say in a herd of 100 animals, 25 have a parasitic infection. P(infection) = 25/100 = 0.25 

 ๐Ÿ”„ 2. Conditional Probability 

๐Ÿ”น What is it? 
Conditional probability is the chance of one event happening given that another has already occurred.
 
 ๐Ÿ“Œ Formula: ๐‘ƒ ( ๐ด ∣ ๐ต ) = ๐‘ƒ ( ๐ด ∩ ๐ต ) ๐‘ƒ ( ๐ต ) P(A∣B)= P(B) P(A∩B) ​

 ๐Ÿงช Example (Animal Health): Let: A = Animal is infected. B = Animal shows symptoms. 
 
Then, ๐‘ƒ ( Infected | Symptoms ) = P(Infected and Symptoms) P(Symptoms) P(Infected | Symptoms)= P(Symptoms) P(Infected and Symptoms) ​

 This helps veterinarians determine true infection rates among symptomatic animals. 

 ๐Ÿง  3. Bayes’ Rule 
Bayes’ Rule helps update our beliefs when we get new information. 

 ๐Ÿ“Œ Formula: ๐‘ƒ ( ๐ต ∣ ๐ด ) = ๐‘ƒ ( ๐ด ∣ ๐ต ) ⋅ ๐‘ƒ ( ๐ต ) ๐‘ƒ ( ๐ด ) P(B∣A)= P(A) P(A∣B)⋅P(B) ​

 ๐Ÿงช Animal Science Example: B = Disease is present A = Test result is positive Bayes’ Rule lets us calculate: "If the test is positive, what is the probability that the animal truly has the disease?" This is key in evaluating diagnostic test accuracy (Sensitivity & Specificity). 

 ๐Ÿ”ข 4. Random Variables 
A random variable assigns a number to each possible outcome of a random experiment. 
 Types: Discrete: Countable values E.g., Number of calves born per year Continuous: Any value in an interval E.g., Weight of sheep in kg 

 ๐Ÿ“Œ Example: Let X = number of eggs laid by a hen in a day Then X is a discrete random variable. 

 ๐Ÿ“Š 5. Probability Distributions 

These show how probabilities are distributed over different values of a random variable. 

 ๐Ÿ”น Discrete Distributions Bernoulli: Success/Failure (e.g., Pregnant or not) Binomial: Number of successes in n trials (e.g., infected cows in a sample of 10) ๐‘ƒ ( ๐‘‹ = ๐‘˜ ) = ( ๐‘› ๐‘˜ ) ๐‘ ๐‘˜ ( 1 − ๐‘ ) ๐‘› − ๐‘˜ P(X=k)=( k n ​ )p k (1−p) n−k 

 ๐Ÿ”น Continuous Distributions Normal (Gaussian): 
Bell-shaped curve (e.g., milk yield, body weight) 

 ๐Ÿ“Œ Animal Science Example: Milk yield of cows often follows a normal distribution with most cows near the average. 

 ๐Ÿ”— 6. Conditional Distributions and Joint Probability 

๐Ÿ”น Joint Probability Probability of two things happening together. ๐‘ƒ ( ๐ด ∩ ๐ต ) P(A∩B) 
๐Ÿ”น Conditional Distribution Given one variable’s value, what’s the distribution of the other? 

 ๐Ÿงช Example (Breeding Program): X = Conception (Yes/No) Y = Type of nutrition We can compute: “What is the probability of conception given high-protein feed?” 

 ๐Ÿงฌ 7. Probabilistic vs Statistical vs Bayesian Models 

๐Ÿ”น Probabilistic Model Defines how outcomes behave randomly. E.g., Each cow has a 70% chance of getting vaccinated. 

 ๐Ÿ”น Statistical Model Uses data to estimate unknown parameters in a family of probability models. E.g., Estimating infection rate from field data. 

 ๐Ÿ”น Bayesian Model Combines prior beliefs (before data) and new evidence (data) to update predictions. E.g., Prior belief: 5% infection rate After test: update this belief using Bayes' rule. 

 ๐Ÿงช 8. Examples from Animal Sciences Scenario Probabilistic Concept Pregnancy rate after AI Binomial distribution Predicting disease outbreak Conditional probability & Bayes' rule Estimating weight gain in goats Normal distribution Testing new vaccine effectiveness Bayesian model 

๐Ÿ“ Summary Probability helps us handle uncertainty in biological systems. Conditional probability and Bayes’ Rule are essential for making informed decisions. Random variables and their distributions model real-life animal science phenomena. Probabilistic, statistical, and Bayesian models are all crucial for analysis and research. 

 ๐ŸŽ“ Suggested Activities Class discussion: Give a real-life animal science scenario and ask students which probabilistic model fits. Exercise: Calculate conditional probability from a 2x2 disease-test result table. Mini-project idea: Survey animal weights and test whether they follow a normal distribution.

Comments

Popular posts from this blog

Propositional Logic and Its Applications

Common Logical Fallacies