I am struggling to create a table with three dimension to look up a fourth.
Consider the following binomial table as an example
##===##=================##===##
|| || p || ||
|| n **-----+-----+-----** k ||
|| || .1 | .25 | .5 || ||
##===##=====*=====*=====##===##
|| || ... | ... | ... || 1 ||
|| **-----+-----+-----**---**
|| 3 || ... | ... | ... || 2 ||
|| **-----+-----+-----**---**
|| || ... | ... | ... || 3 ||
##===##=====*=====*==========##
|| || ... | ... | ... || 1 ||
|| **-----+-----+-----**---**
|| 4 || ... | ... | ... || 2 ||
|| **-----+-----+-----**---**
|| || ... | ... | ... || 3 ||
##===##=====*=====*==========##
|| || ... | ... | ... || 1 ||
|| **-----+-----+-----**---**
|| 5 || ... | ... | ... || 2 ||
|| **-----+-----+-----**---**
|| || ... | ... | ... || 3 ||
##===##=====*=====*=====##===##
Where *
is a single line crossing a double line and ...
are the corresponding b(n;p;k)
.
I am just asking for a convenient way to format a table like this, there is no need to calculate the binomial probabilities or something like that since this is just an example.