Top "Weighted" questions

Weighted standard deviation in NumPy

numpy.average() has a weights option, but numpy.std() does not. Does anyone have suggestions for a workaround?

python numpy statsmodels standard-deviation weighted
Calculating weighted mean and standard deviation

I have a time series x_0 ... x_t. I would like to compute the exponentially weighted variance of the data. …

r statistics mean weighted
Frequency tables with weighted data in R

I need to calculate the frequency of individuals by age and marital status so normally I'd use: table(age, marital_…

r weighted frequency-distribution
Weighted percentile using numpy

Is there a way to use the numpy.percentile function to compute weighted percentile? Or is anyone aware of an …

python numpy weighted percentile
Weighted Pearson's Correlation?

I have a 2396x34 double matrix named y wherein each row (2396) represents a separate situation consisting of 34 consecutive time segments. …

r correlation weighted
Weighted graph problems, TRUE/FALSE + explanation

I'm trying to get some true/false questions done. I'm getting worried when I'm answering many of them with true... …

graph weighted
"weighted" regression in R

I have created a script like the one below to do something I called as "weighted" regression: library(plyr) set.…

r linear-regression weighted
Weighted mean in numpy/python

I have a big continuous array of values that ranges from (-100, 100) Now for this array I want to calculate …

python numpy statistics mean weighted
Gomoku array-based AI-algorithm?

Way way back (think 20+ years) I encountered a Gomoku game source code in a magazine that I typed in for …

algorithm artificial-intelligence gomoku weighted
Select element from array with probability proportional to its value

I have an array of doubles and I want to select a value from it with the probability of each …

arrays numpy select random weighted