This repository contains a series of Jupyter Notebooks that explore different simulation and statistical analysis problems using Python. Each notebook is built from scratch without relying on external simulation packages, making them ideal for educational purposes and foundational understanding.
- Reviews the Cumulative Distribution Function (CDF) for the Uniform Distribution.
- Explains the theoretical foundation behind the uniform distribution and how the CDF is derived.
- Includes Python examples demonstrating:
- Generating uniform random variables
- Visualizing the PDF and CDF
- Calculating probabilities using the CDF
- Shows how to construct a confidence interval for the mean of simulated data using the Student’s t-distribution.
- Uses an example of 10 simulation runs to estimate the mean number in a system.
- Includes code for:
- Computing sample mean and standard deviation
- Calculating confidence intervals
- Evaluating whether the margin of error is within 5% or 10% of the true mean
- Implements a Discrete Event Simulation (DES) of a system with three FCFS (First-Come-First-Served) servers.
- Models routing behavior where jobs are probabilistically sent to one of two entry servers (Node 1 or 2), and then all go to Node 3.
- Estimates the average number of jobs at Node 3 over time.