bookworm121
New Member
- Joined
- Jun 22, 2011
- Messages
- 39
I'm trying to convolve two discrete distributions in excel using VBA. (Discrete Convolutions)
The distributions are presented as follows:
[table="width: 350"]
[tr]
[td]A[/td]
[td]B[/td]
[/tr]
[tr]
[td]Number[/td]
[td]Probability[/td]
[/tr]
[tr]
[td]0[/td]
[td]0.2[/td]
[/tr]
[tr]
[td]1[/td]
[td]0.3[/td]
[/tr]
[tr]
[td]2[/td]
[td]0.5[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[/tr]
[tr]
[td]Number[/td]
[td]Probability[/td]
[/tr]
[tr]
[td]0[/td]
[td]0.1[/td]
[/tr]
[tr]
[td]1[/td]
[td]0.2[/td]
[/tr]
[tr]
[td]2[/td]
[td]0.3[/td]
[/tr]
[tr]
[td]3[/td]
[td]0.3[/td]
[/tr]
[tr]
[td]4[/td]
[td]0.1[/td]
[/tr]
[/table]
Any ideas?
The distributions are presented as follows:
[table="width: 350"]
[tr]
[td]A[/td]
[td]B[/td]
[/tr]
[tr]
[td]Number[/td]
[td]Probability[/td]
[/tr]
[tr]
[td]0[/td]
[td]0.2[/td]
[/tr]
[tr]
[td]1[/td]
[td]0.3[/td]
[/tr]
[tr]
[td]2[/td]
[td]0.5[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[/tr]
[tr]
[td]Number[/td]
[td]Probability[/td]
[/tr]
[tr]
[td]0[/td]
[td]0.1[/td]
[/tr]
[tr]
[td]1[/td]
[td]0.2[/td]
[/tr]
[tr]
[td]2[/td]
[td]0.3[/td]
[/tr]
[tr]
[td]3[/td]
[td]0.3[/td]
[/tr]
[tr]
[td]4[/td]
[td]0.1[/td]
[/tr]
[/table]
Any ideas?