Problem 57605. Determine flows of given probability using empirical frequency analysis

Write a function that takes as input n observations of peak streamflow Qo and exceedance probabilities p1 expressed as percentages and returns the flows Q1 corresponding to the probabilities.
Use the empirical method of frequency analysis. Sort the observed flows in decreasing order and assign a rank m (e.g., the highest flow has m = 1). If a flow occurs multiple times, assign to that flow the average of the ranks attached to the multiple occurrences. Then compute the exceedance probabilities (in percent) with p = 100m/(n+1). Compute the flows corresponding to the requested exceedance probabilities with linear interpolation and return NaN for any probabilities that fall outside the range.

Solution Stats

100.0% Correct | 0.0% Incorrect
Last Solution submitted on Feb 10, 2023

Solution Comments

Show comments

Problem Recent Solvers5

Suggested Problems

More from this Author282

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!