# Questions tagged [javascript]

JavaScript is an interpreted computer programming language. Use this tag for any *on-topic* question that (a) involves JavaScript either as a critical part of the question or expected answer, & (b) is not *just* about how to use JavaScript.

18 questions
Filter by
Sorted by
Tagged with
14 views

### Best statistical test to use here?

I am creating an optimization function. I'll give a rundown of what it does: Basically, the original algorithm takes a user's speed over a span of time, then calculates their average speed. It relies ...
11 views

### Handling fractions when normalizing a set

I currently have the following normalization function: ...
15 views

### Estimate contingency table entries from given marginal sums

I have got a table with known marginal sums: | | | | 7| | | | | 7| | | | | 6| | | | | 6| | | | | 5| | | | | 4| | | | | 3| +--+-+-+--+ |26|6|6|38| I want ...
98 views

### how to generate random data based on simple statistical meassures

0 I currently have a test data set that has 500k data points. I have an algorithm that process that data and returns some information. In order to establish the statistical significance of the ...
20 views

### MonteCarlo simulation for statistical significance in backtesting

I'm creating a back testing tool for trading, and after some reading determined that Monte Carlo Simulations can be a very good tool to establish the statistical significance of the initial results. ...
29 views

### Relating Chi Squared and Gamma Distributions using code?

How do we relate the chi squared and gamma distributions with code? For example if we have a chi squared distribution with cdf(x, k) and we calculate ...
1k views

### Eloquent Javascript - correlation and coefficient

Currently I'm reading Eloquent Javascript book and at chapter 4. This topic entitled 'The lycanthrope’s log ' is very confusing to me. How important is correlation and coefficient in real world ...
40 views

### prerequisites to algorithms and then to python and Machine Learning

I spent the last 5 months studying full-stack web development using the MERN stack, that is (MongoDB, Express, React and NodeJs). Now that I have seen the full picture of what I would be doing ...
342 views

### Time period diagram (bar chart) - what is its more precise/widely used name?

I want to make a diagram like this to display the career spans of several soccer players one below the next: I know it's basically a bar chart, but I was hoping this has a more specific name, because ...
191 views

### JavaScript/PHP libraries for calculating common

I am looking for a JavaScript or a PHP library to calculate common business/statistical metrics (e.g. ...
119 views

### Personal Names matching in JavaScript [closed]

According to this paper: A Comparison of Personal Name Matching: Techniques and Practical Issues several techniques are possibile in personal names matching, that ...
3k views

### Determine breakpoints in time series data where values change significantly

Given the following chart of data: which represents duration metrics gathered at absolute times, I am trying to determine when/if any of the values exhibit a jump in durations. In the example chart, ...
176 views

### How can I get output data of a trained neural network?

My neural network, which uses the back-propagation technique and the sigmoid activation function, should 'learn' the sine function. This is the networks structure: The following code should train ...
1k views

### How to verify implementation of SVD in Javascript

I have implemented the SVD algortihm for my Node.js project for collaborative filtering of a sparse dataset based on this paper by GroupLens. For calculating the SVD, I am using the package node-svd ...
127 views

### Turning categorized output into continuous

I'm using a NaiveBayes algorithm that generates categorized probabilities as output instead of continuous values, which is what I need for this webapp I'm working on. Unfortunately I can't switch ...
6k views

### How do you calculate the Ordinary Least Squares estimated coefficients in a Multiple Regression Model? [duplicate]

I recently began learning about OLS estimation of multiple regression models and came across the following formulas explaining the calculations: What would the formulas be for an OLS regression model ...