Memuat
Memuat
Monte Carlo Simulation for Fisheries and Marine Science
0 views
Optimise net farm profit by tuning disease mortality probability and shrimp selling price with Monte Carlo Simulation. Monte Carlo simulation uses repeated random sampling to estimate the distribution of a model's output under uncertainty. It suits risk analysis, parameter uncertainty, and event probabilities that are hard to compute analytically.

Optimise net farm profit by tuning disease mortality probability and shrimp selling price with Monte Carlo Simulation.
| Role | Variable | Unit |
|---|---|---|
| Main | Net farm profit | Rp juta |
| Supporting 1 | Disease mortality probability | % |
| Supporting 2 | Shrimp selling price | Rp/kg |
A 5000-draw Monte Carlo run gives Net farm profit a mean of 21.97 (SD 5.12), a P5-P95 range of 14.45 to 30.76, and a 10.0% chance of exceeding the threshold.
Computed from illustrative synthetic data, not from a real study.
Monte Carlo simulation uses repeated random sampling to estimate the distribution of a model's output under uncertainty. It suits risk analysis, parameter uncertainty, and event probabilities that are hard to compute analytically.
Report the mean, percentile interval (for example 5 to 95), event probability, and number of runs. Include a convergence plot to show results are stable.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
import numpy as np
import matplotlib.pyplot as plt
rng = np.random.default_rng(30)
N = 20000
# Uncertain inputs: demand, unit price and unit cost
disease_mortality_probabilit = rng.normal(1000, 150, N) # demand
shrimp_selling_price = rng.triangular(8, 10, 13, N) # price
cost = rng.uniform(5, 8, N)
net_farm_profit = disease_mortality_probabilit * (shrimp_selling_price - cost) - 2000 # profit
print("Mean profit:", round(net_farm_profit.mean(), 1))
print("Std:", round(net_farm_profit.std(ddof=1), 1))
print("5th / 95th percentile:", np.percentile(net_farm_profit, [5, 95]).round(1))
print("P(profit < 0):", round((net_farm_profit < 0).mean(), 4))
running = np.cumsum(net_farm_profit) / np.arange(1, N + 1)
fig, ax = plt.subplots(1, 2, figsize=(10, 4))
ax[0].hist(net_farm_profit, bins=60)
ax[0].axvline(0, color="r"); ax[0].set_xlabel("Profit")
ax[1].plot(running); ax[1].set_xlabel("Runs"); ax[1].set_ylabel("Running mean")
plt.tight_layout()
plt.show()Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$22
excl. 11% VAT
Duration: 5 working days
Output: Python files + result figures
Deliverables
Package 2 · most chosen
US$59
excl. 11% VAT
Duration: 9 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$134
excl. 11% VAT
Duration: 14-17 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. Monte Carlo Simulation is commonly used at this level in Fisheries and Marine Science. We adapt the analysis to your research question, your own data and your supervisor's requirements.
No. The sheet is computed from illustrative synthetic data so you can see the kind of output Python gives. For your order we run the same method on your own data.
That is the point of the packages. Every script is commented, and Package 3 includes two coaching sessions plus practice questions so you can explain the method and the results at your seminar and defence.
Each project has three packages: Package 1 (code and explanation) US$22, Package 2 (your data analysis and interpretation) US$59 and Package 3 (full guidance) US$134, excluding 11% VAT. Larger datasets, extra methods or tight deadlines adjust the quote after a short consultation.
The result sheet uses illustrative synthetic data. Python is a trademark of the Python Software Foundation.
Back to Python portfolio