Talk:Probabilistic choice: Difference between revisions

no edit summary
(→‎Convergence: new section)
No edit summary
Line 1:
== formatting trouble==
 
I tried to add the SAS code, but it kept messing up the entry for tcl. Here is it is, if anyone who can format it is watching:
 
data test;
do i = 1 to 1000000;
x=rand("TABLE",(1/5),1/6,1/7,1/8,1/9,1/10,1/11);
output;
end;
run;
 
/* output from above is integer values 1,...,8 */
/* to show results with labels */
proc format;
value hebrew
1 = "Aleph"
2 = "Beth"
3 = "Gimel"
4 = "Daleth"
5 = "He"
6 = "Waw"
7 = "Zayin"
8 = "Heth";
run;
 
/* check results */
proc freq data = test; tables x; format x hebrew.; run;
 
 
 
 
== J solution ==
 
Anonymous user