Questions tagged [standard-deviation]

Standard deviation (represented by the symbol sigma, σ) shows how much variation or "dispersion" exists from the average (mean, or expected value).

The standard deviation of a random variable, statistical population, data set, or probability distribution is the square root of its . A standard deviation close to 0 indicates that the data points tend to be very close to the mean (also called the expected value) of the set, while a high standard deviation indicates that the data points are spread out over a wider range of values.

The standard deviation of X is the quantity

enter image description here

870 questions
-1
votes
2 answers

Almost complete code for calculating mean and deviation

I am just confused about how to store the user's input for the array of numbers. User can input how many numbers they want in the array, but it doesn't ask for the numbers themselves. import java.util.Scanner; public class Exercise_0_2 { public…
-1
votes
1 answer

Is it possible to calculate standard deviation from known confidence interval?

I have a value of a confidence interval for a parameter and I want to calculate the standard deviation, t value, and standard error of the parameter. Is it possible to calculate these statistics while having only the confidence interval (I don't…
-1
votes
5 answers

Compute the mean and std over a column with awk

I have this file: Took: 15.473214149475098 seconds Took: 12.94953465461731 seconds Took: 2.235722780227661 seconds Took: 40.53083419799805 seconds Took: 21.840606212615967 seconds Took: 35.777870893478394 seconds Took: …
dada
  • 1,390
  • 2
  • 17
  • 40
-1
votes
1 answer

Write a program that prompts the user to enter ten numbers and displays their mean and standard deviation

A program that prompts the user to enter ten numbers and displays their mean and standard deviation. The mean and standard deviation of n numbers are computed as follows: The code that solve the equation import java.util.Scanner; public class…
Basma Elshoky
  • 151
  • 1
  • 10
-1
votes
1 answer

Different result - Z-score vs. Bollinger Bands

I have one time serie where I want to calculate Z-score, but if I applicate Bollinger Band for verification, I get different result. If I understand correctly, from both (Zscore, BB) we should get the same result, in Zscore is result only…
Franta
  • 23
  • 2
-1
votes
1 answer

Losing degrees of freedom in standard deviation and t test are same?

We lose one degree of freedom in calculating sample standard deviation because sample mean is used, why do we lose one degree of freedom in one sample t-test?
Nizam
  • 147
  • 1
  • 1
  • 8
-1
votes
1 answer

getting inf when calculating standard devation in c

Attempting to write a program in c that intakes in an amount of numbers. ie 1, 2, 3, 4, and returns size, max, min, average and standard deviation. While trying to calculate standard deviation when calculating sumx ( line 51) it begins returng inf.…
asdf
  • 29
  • 4
-1
votes
1 answer

Removing bias in user ratings

I have got a dataset with users ratings on images. I am normalizing the ratings using mean- standard deviation normalization to remove bias in the dataset due to user specific preferences. Is this a correct way to handle bias or is there any other…
-1
votes
2 answers

Most "thorough" distribution of points around a circle

This question is intended to both abstract and focus one approach to my problem expressed at "Find the most colourful image in a collection of images". Imagine we have a set of circles, each has a number of points around its circumference. We want…
hippietrail
  • 15,848
  • 18
  • 99
  • 158
-1
votes
2 answers

Find the 3 most alike values in a list in Python

Given the sorted list item_list = [41, 53, 54, 57, 315, 324, 340] How would I find the three values that have the lowest standard deviation from their own average? The correct answer for the example is these three values answer = [53, 54,…
Eloque
  • 311
  • 2
  • 10
-1
votes
1 answer

The 95% of non-normally distributed points around a mean/median

I asked users to tap a location repeatedly. To calculate the size of a target in that location, such that 95% of users will hit that target successfully, I usually measure 2 std of the tap offsets from the centroid. That works if the tap offsets are…
-1
votes
1 answer

Calculate the variance of a dataset?

I have 2 datasets, one which contains "jittery"/varying data points, and another dataset which contains the smoothed values. I will demonstrate using an image below: How can I calculate smoothness/the variance of each line. I would like to be able…
user3185731
  • 189
  • 1
  • 12
-1
votes
3 answers

Find the set of 3 values having the best variance in a table of 3 by n

Edit, I have reformulated for more clarity (I hope): So to give some background, our app manages transactions belonging to accounts. For each account, we have detected a number of patterns composed of 3 amounts. For example: Account 123456…
-1
votes
1 answer

Get the Population Standard Deviation of streaming input data

So let's say I have a sensor that's giving me a number, let's say the local temperature, or whatever really, every 1/100th of a second. So in a second I've filled up an array with a hundred numbers. What I want to do is, over time, create a…
-1
votes
1 answer

I am not able to plot 2 sigma lines and color them diffferently

Suppose I have the following data, how can plot 2 sigma lines around its mean and how to color them red when a point is above the 2 sigma lines. 20 1 15 19 23 19 2 14 20 66 18 3 13 3 34 17 4 12 4 12 16 5 11 5 45 15 6 …