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
-3
votes
1 answer

vector of struct in linear regression

I'm new to C++ programming and I'm trying to code a simple linear regression program that returns the parameters of the affine function y=ax+b. My concern is that I can't "use" the vector containing the x and y coordinates of my p points…
FredM5
  • 1
  • 1
-3
votes
3 answers

What is the fastest way to calculate min, max, mean, median and standard deviation from C# array?

I have a larger array or list of doubles which is not sorted and I want to calculate min, max, mean, median and standard deviation the most efficient way. Of course I could simply use Linq to calculate each one by one, but I think one can go faster.…
Anno
  • 761
  • 1
  • 10
  • 22
-3
votes
4 answers

How do I calculate standard deviation in python without using numpy?

I'm trying to calculate standard deviation in python without the use of numpy or any external library except for math. I want to get better at writing algorithms and am just doing this as a bit of "homework" as I improve my python skills. My goal is…
bkleeman
  • 109
  • 1
  • 14
-3
votes
3 answers

Calculate standard deviation using R

Using the R script solve the following: An expert on process control states that he is 95% confident that the new production process will save between $26 and $38 per unit with savings values around $32 more likely. If you were to model this…
N341
  • 25
  • 2
  • 7
-3
votes
1 answer

What is Segmentation Core dump? And how do I fix it?

I am trying to write a code that will take an input of 20 integers from the user and manipulate it to find the mean, max, min, and standard deviation. Everything I have found online says to pass an array by address, which I think I did correctly,…
Fredrick93
  • 15
  • 3
-3
votes
1 answer

3 standard deviations of the mean

I have a data set. It's biological material. I have put in my standard deviations and I can see that all of my data bar 2 data points are within 3sd of the mean. Is it accepted that data points that fall within 3sd of the mean are within normal…
Creaven
  • 319
  • 2
  • 16
-3
votes
1 answer

How to calculate population standard deviation?

Here is what I have so far. I need to use the number from a text file. Calculations class: public class Calculations { public void readFile(String fileName, double[] myArray) throws Exception { FileReader fr = null; …
song
  • 1
-3
votes
1 answer

Find the standard deviation with normal probabilities using R

Let's say that there is a variable A that has a Normal distribution N(μ,σ). I have two probabilities when P(A>a) and P(A
-3
votes
1 answer

Finding the standard deviation from a list of numbers (user input)

I have tried looking for an example on how to find the standard deviation from a list of numbers of user input. I was wondering if someone could explain how to find the standard deviation of a list of numbers from a scanner. Any advice would be…
JonyB
  • 3
  • 1
  • 1
  • 4
-4
votes
1 answer

How to get the Standard Deviation based on the sample

The situation is I have 96 sets of paper, 4 questions on every paper and categorized into 5 categories.Every options consisting marks of 0,1,2,3,4. What's the formula to calculate the Standard Deviation? | | 0 | 1 | 2 | 3 | 4 …
1myb
  • 3,536
  • 12
  • 53
  • 73
-4
votes
1 answer

Finding standard deviation of an image

Firstly, I want to find standard deviation of this image: Secondly, I want to find standard deviation of all lines in the image. But at the first step, somethings going wrong and I see this: >> A = imread('C:\Users\PC\Desktop\deneme.jpg'); >> std…
volkan
  • 195
  • 7
-4
votes
2 answers

Calculating standard deviation in java

Do I calculate my standard deviation in the loop. I know the formula for calculate the standard deviation, I just want to know how to take user inputs for the calculation. I'm new to programming so please explain everything. I also don't mind my…
-4
votes
1 answer

Calculate standard deviation from probability using Java

I have a normal distribution of data with a mean of 0. I know that 80% of the data falls within 3 units of the mean. So 80% of the data is from -3 to 3. How do I figure out the standard deviation? I'd like to implement this in Java. Input the…
Jeremy
  • 1,023
  • 3
  • 18
  • 33
-6
votes
1 answer

Standard Deviation addition and subtraction

Is there a formula to calculate the Standard deviation biased on the sum or subtraction of others data sets ? Example: Dataset1 (5 elements to count): values: 5,10,15,20,25 mean: 15 Sum of Squared mean: 275 (5^2+10^2+...)/5 Population variance:…
guga
  • 79
  • 10
-6
votes
1 answer

Read file with floats, calculate size, max, min, mean, median and standard deviaton in C

I need some help with writing such program which would read a .txt file containing large (but unknown) number of floating point numbers separated by whitespaces (name of the file has to be given by user) and calculate the size of the sample, max and…
xLokos
  • 69
  • 1
  • 9
1 2 3
57
58