(data)
| 41 | } |
| 42 | |
| 43 | function bootstrap(data) { |
| 44 | const len = data.length; |
| 45 | const arr = Array(len); |
| 46 | for (let j = 0; j < len; j++) { |
| 47 | arr[j] = data[(Math.random() * len) | 0]; |
| 48 | } |
| 49 | return arr; |
| 50 | } |
| 51 | |
| 52 | function calculateStandardErrorOfMean(data) { |
| 53 | const means = []; |
no outgoing calls
no test coverage detected