Environment for creative processing of text
and numerical data | |
Simulating results of Bernoulli trials 100000 times
Beginning status (before activations):
1 *
2 *FILE MAKE BSIMUL,1,100000,X,1
3 *
4 *N=13 p=1/3
5 *TIME COUNT START
6 *VAR X=BIN.G(N,p,rand(2001)) TO BSIMUL
7 *TIME COUNT END
8 *
9 *........................................................................
10 *
11 *STAT BSIMUL,CUR+1
12 *
Ending status (after activations):
1 *
2 *FILE MAKE BSIMUL,1,100000,X,1
3 *
4 *N=13 p=1/3
5 *TIME COUNT START
6 *VAR X=BIN.G(N,p,rand(2001)) TO BSIMUL
7 *TIME COUNT END 4.006
8 *
9 *........................................................................
10 *
11 *STAT BSIMUL,CUR+1
12 *Basic statistics: BSIMUL N=100000
13 *Variable: X ~BIN.G(N,p,rand(2001))
14 *min=0 in obs.#276
15 *max=12 in obs.#7314
16 *mean=4.33786 stddev=1.706441 skewness=0.193648 kurtosis=-0.10077
17 *lower_Q=3 median=4 upper_Q=5
18 *X f % *=512 obs.
19 * 0 522 0.5 *
20 * 1 3462 3.5 ******
21 * 2 9957 10.0 *******************
22 * 3 18100 18.1 ***********************************
23 * 4 22989 23.0 ********************************************
24 * 5 20749 20.7 ****************************************
25 * 6 13832 13.8 ***************************
26 * 7 6841 6.8 *************
27 * 8 2595 2.6 *****
28 * 9 785 0.8 *
29 * 10 145 0.1 :
30 * 11 21 0.0 :
31 * 12 2 0.0 :
32 *
Previous
| Next