hanaml.chisquared.RdDraw samples from a chisquared distribution.
hanaml.chisquared( connection.context, m = NULL, d = NULL, seed = NULL, thread.ratio = NULL )
| connection.context |
|
|---|---|
| m |
|
| d |
|
| seed |
Note that when multithreading is enabled, the random number sequences
of different runs might be different even if the |
| thread.ratio |
|
DataFrame containing the generated random samples, structured as follows:
ID: type INTEGER, ID column
GENERATED_NUMBER: type DOUBLE, sample values
Draw samples from a Chisquared distribution:
> chisquared <- hanaml.chisquared(connection.context = conn,
d = 4,
m = 20,
seed = 1,
thread.ratio = 0)
Output:
> chisquared$collect()
ID GENERATED_NUMBER
1 0 0.040571
2 1 2.680756
3 2 1.119563
4 3 1.174072
5 4 0.872421
6 5 0.327169
7 6 1.113164
8 7 1.549585
9 8 0.013953
10 9 0.011735