IrishHawk01
New Member
- Joined
- Mar 20, 2014
- Messages
- 4
I'm spinning wheels. Here is what I'm attempting
I'm trying to use the empirical discrete probability distributions to generate 1000 days of Widget sales and returns.
I need to use Nested IF statements to generate the 1000 days of sales. So for 1000 days, generate a number in a column that represents widget sales for that day based upon the given probabilities.
[TABLE="width: 265"]
<tbody>[TR]
[TD]Number of Widgets Sold[/TD]
[TD]Probability[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]0.10[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0.21[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0.13[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0.23[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0.27[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]0.06[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to use the empirical discrete probability distributions to generate 1000 days of Widget sales and returns.
I need to use Nested IF statements to generate the 1000 days of sales. So for 1000 days, generate a number in a column that represents widget sales for that day based upon the given probabilities.
[TABLE="width: 265"]
<tbody>[TR]
[TD]Number of Widgets Sold[/TD]
[TD]Probability[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]0.10[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0.21[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0.13[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0.23[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0.27[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]0.06[/TD]
[/TR]
</tbody>[/TABLE]