Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “视频如何估计总时间超过 9 小时的概率?”

3 keyword matches

Understanding your question. You can explore the search results below now.

Find a method

↗

The video estimates the probability by counting how many simulated totals exceed 9 hours and dividing that count by the total number of trials. This implements the empirical-frequency estimator for the exceedance probability.

Conditions: The event is well-defined for each trial.; The denominator is the total number of simulated trials.

Find a method

↗

The two report completion-time arrays are generated using the `np.random.uniform` function. Report A is modeled by drawing `sims` independent values from a uniform distribution on the interval from 1 to 5 hours, and Report B is modeled by drawing `sims` independent values from a uniform distribution on the interval from 2 to 6 hours.

Conditions: Use the uniform model introduced earlier.; `sims` must already be defined.

Find a method

↗

The video computes the total time to complete both reports by performing an elementwise addition of the two simulated completion-time arrays. The total time is simply their summation, represented in code as `duration = A+BA + B`.

Conditions: A and B must be arrays of the same length.; Addition is performed entrywise across matched simulation runs.