Tutorials
Learn how to use each probability model effectively with best practices and examples
Getting Started
Relative Probability uses natural language processing to understand your probability questions. Simply type your question in plain English, and our system will identify the appropriate model and calculate the results.
Basic Query Structure
Most queries follow this pattern:
- Action: What you want to calculate (probability, chance, likelihood)
- Event: What you're analyzing (coin flip, dice roll, etc.)
- Parameters: Specific values or conditions
Example Query Structure:
Action: "probability"
Event: "getting heads"
Parameters: "5 times"
Coin Flip Calculations
Coin flip models calculate probabilities for binary outcomes with equal probability (50/50).
When to Use
- Simple binary decisions or outcomes
- Educational probability examples
- Basic statistical understanding
Input Parameters
- Number of flips: How many times you flip the coin
- Desired outcome: Heads, tails, or specific sequences
Example Queries:
Best Practices:
- Clearly specify the number of flips
- Use "heads" or "tails" for single outcomes
- For multiple outcomes, specify "at least," "exactly," or "at most"
- Start with simple queries before moving to complex sequences
Dice Roll Calculations
Dice models handle discrete uniform distributions where each outcome has equal probability.
When to Use
- Gaming probability calculations
- Discrete uniform distribution problems
- Multiple independent events
Input Parameters
- Number of dice: How many dice to roll
- Die type: 6-sided (default), 4-sided, 8-sided, etc.
- Target outcome: Specific numbers or sums
Example Queries:
Best Practices:
- Specify the number of sides if not standard 6-sided
- Use "sum" when referring to total of multiple dice
- Be clear about "at least," "exactly," or "at most" for ranges
- Consider independence when rolling multiple dice
Normal Distribution
Normal distributions model continuous data that clusters around a mean with symmetric spread.
When to Use
- Height, weight, test scores, measurement errors
- Financial returns, manufacturing tolerances
- Any naturally occurring continuous variable
Input Parameters
- Mean (μ): Center of the distribution
- Standard deviation (σ): Measure of spread
- Value or range: What you want to calculate probability for
Example Queries:
Best Practices:
- Always specify both mean and standard deviation
- Use realistic values for your context
- Remember that 68% of data falls within 1 standard deviation
- Consider if your data truly follows a normal pattern
Common Mistakes:
- Using normal distribution for discrete data
- Forgetting to specify standard deviation
- Using negative standard deviation
- Applying to data that isn't bell-shaped
Binomial Distribution
Binomial distributions model the number of successes in a fixed number of independent trials.
When to Use
- Quality control testing
- Medical treatment success rates
- Survey responses (yes/no questions)
- Marketing conversion rates
Input Parameters
- Number of trials (n): How many attempts
- Probability of success (p): Success rate per trial
- Number of successes (k): How many successes you want
Example Queries:
Best Practices:
- Ensure trials are independent
- Verify constant success probability
- Use percentages or decimals for probability
- Consider normal approximation for large n
Poisson Distribution
Poisson distributions model the number of events occurring in a fixed interval of time or space.
When to Use
- Website visits per hour
- Phone calls to a call center
- Defects in manufacturing
- Radioactive decay events
Input Parameters
- Rate (λ): Average number of events per interval
- Number of events (k): Specific count you want probability for
Example Queries:
Best Practices:
- Events should be rare and independent
- Rate should remain constant over the interval
- Use for counting events, not measurements
- Ensure events cannot occur simultaneously
Monte Carlo Simulation
Monte Carlo methods use random sampling to solve complex probability problems that are difficult to calculate analytically.
When to Use
- Complex systems with multiple variables
- Financial risk modeling
- Project timeline estimation
- When analytical solutions are impractical
Input Parameters
- Number of simulations: How many trials to run
- Variable distributions: Define each random variable
- Target outcome: What you want to measure
Example Queries:
Best Practices:
- Use more simulations for more accurate results
- Clearly define all random variables
- Validate results with known analytical solutions when possible
- Consider computational time vs. accuracy trade-offs
Bayesian Analysis
Bayesian methods update probabilities as new evidence becomes available.
When to Use
- Medical diagnosis with test results
- Spam filtering
- A/B testing analysis
- Updating beliefs with new data
Input Parameters
- Prior probability: Initial belief
- Likelihood: Probability of evidence given hypothesis
- Evidence: New information observed
Example Queries:
Best Practices:
- Use informed priors when available
- Consider the quality of your evidence
- Update incrementally as new data arrives
- Validate with subject matter experts
Exponential Distribution
Exponential distributions model the time between events in a Poisson process.
When to Use
- Time until next customer arrival
- Component lifetime analysis
- Time between phone calls
- Radioactive decay timing
Input Parameters
- Rate parameter (λ): Events per unit time
- Time value: Specific time you want probability for
Example Queries:
Best Practices:
- Verify the memoryless property applies
- Use for continuous time intervals
- Ensure constant rate over time
- Consider if events are truly random
Hypothesis Testing
Statistical tests to determine if observed data supports or contradicts a hypothesis.
When to Use
- A/B testing for website changes
- Quality control testing
- Research study validation
- Comparing groups or treatments
Input Parameters
- Null hypothesis: What you're testing against
- Alternative hypothesis: What you suspect is true
- Significance level: Usually 0.05
- Sample data: Your observations
Example Queries:
Best Practices:
- Define hypotheses before collecting data
- Use appropriate test for your data type
- Check assumptions (normality, independence)
- Consider practical significance, not just statistical
Stock Price Simulation
Models stock price movements using geometric Brownian motion for financial analysis.
When to Use
- Option pricing models
- Portfolio risk assessment
- Investment strategy backtesting
- Financial planning scenarios
Input Parameters
- Initial price: Starting stock price
- Expected return (μ): Annual drift rate
- Volatility (σ): Annual standard deviation
- Time period: Duration to simulate
Example Queries:
Best Practices:
- Use historical data to estimate parameters
- Run multiple simulations for robust results
- Consider transaction costs and dividends
- Validate against historical performance
Common Mistakes:
- Using unrealistic volatility values
- Ignoring market conditions and trends
- Over-relying on historical patterns
- Not accounting for extreme events
General Tips for Success
Query Writing Tips
- Be specific with your parameters
- Use clear, natural language
- Start simple and add complexity gradually
- Include units when relevant (minutes, dollars, etc.)
Interpreting Results
- Always read the explanation provided
- Check if results make intuitive sense
- Consider the assumptions of your chosen model
- Use visualizations to understand distributions
Model Selection
- Match the model to your data type (discrete vs. continuous)
- Consider the underlying assumptions
- Start with simpler models before moving to complex ones
- Validate results with domain expertise
Pro Tips:
- Save frequently used queries for quick access
- Export results for documentation and sharing
- Use the calculation history to track your analysis
- Experiment with different parameters to understand sensitivity