Google Spreadsheets currently does not support the standard function TDIST - i.e. the Student's t-distribution. This function is critical for calculating p-values. It seems that this is related to the fact that no integral-using functions (AFAIC...

I have this dataset for income: Income Number of people 0 245981 8.8 150444 30 126063 49.9 123519 70 115029 90.7 277149 109.1 355768 130 324246 150.3 353239 170.2 39600...

Is there a scientific library in JavaScript that can generate probability distributions like this library in Ruby? http://rb-gsl.rubyforge.org/ For more details on the use cases see this related question: Generate Array of Numbers that fit to a Pro...

Is there some way to store: A visitor's IP Address What time a visitor visited my site How many times they visited I know there is a way to do this without PHP, just with Javascript and some text files. How it would I do this in PHP?...

I am trying to make good use of the D3 histogram function and am struggling due to an awkward fat tail data distribution. The data_points array below pertain to country population densities across multiple years. Cities like Hong Kong with high popul...

I want to make points distribution form. I got 4 inputs type number value 0-100 and total = 100 points. So we can put 25 points in each input. I already get it work to validate inputs number min 0 max 100 and it subtracts from total changed input val...

I am trying to perform multivariable linear regression with a single dependent variable Y and two independent variables x1, x2. This is simply an OLS regression with an additional dependent variable: Y = b0 + b1 x1 + b2 x2 I need to also calculat...

I'm using var crypto = require('crypto'); var uid = crypto.pseudoRandomBytes(8); to generated 64-bit IDs. I don't need these to be truly random, but I would like them to be uniformly distributed between 0 and ffffffffffffffff. How...

The following will output the slope, intercept and correlation coefficient R^2 for a given set of x and y values. let linearRegression = (y,x) => { let lr = {} let n = y.length let sum_x = 0 let sum_y = 0 l...

I wrote a simple piece of code to compare random array difference and found something ... that I don't quite understand. I generate 2 arrays filled with random numbers Add up the differences between the random numbers Print out the average diff...

©2020 All rights reserved.