题目内容

Are the following two distributions equivalent?import random def dist3(): return int(random.random() * 10) def dist4(): return random.randrange(0, 10)

A. Yes
B. No

查看答案
更多问题

Are the following two distributions equivalent?import random def dist1(): return random.random() * 2 - 1 def dist2(): if random.random() > 0.5: return random.random() else: return random.random() - 1

A. Yes
B. No

Which modelling system would be best to model a bank account?

A. Discrete
B. Continuous
C. Either discrete or continuous would work, depending on the specifics of the model you wish to use.

Let's say you run a stochastic simulation 100 times. How many times do you need to run the simulation again to get the same result?

A. 1 time
B. 99 times
C. 100 times
D. 101 times
E. All of the above will give you the same result.
F. None will necessarily give you the same result.

If you are using differential equations to model a simulation, are you more likely to be doing a discrete or continuous model?

A. Discrete
B. Continuous

答案查题题库