Questions tagged [deviation]

98 questions
1
vote
1 answer

Gnuplot: Calculate the difference and deviation between two interpolations

I have the following data sets: 1 3 2 4 3 2 4 10 5 9 6 8 7 6 8 2 9 1 10 0.5 and 0.1 8 1.2 8 2.1 7 3.4 6 4.3 6 5.2 7 4.5 5 6.4 8 7.2 4 8.2 3 9.1 2 I have plotted both with the following command: plot 'data1' using 1:2 lc rgb 'blue' smooth…
Vlad Chalapco
  • 41
  • 1
  • 3
1
vote
2 answers

filter out deviating record with sql

We have this set of data that we need to get the average of a column. a select avg(x) from y does the trick. However we need a more accurate figure. I figured that there must be a way of filtering records that has either too high or too low…
ken
  • 4,886
  • 4
  • 30
  • 26
1
vote
1 answer

How do you do an ANOVA with means and standard deviation as values?

I want to check whether there is a difference between three treatment groups with the help of a One-way ANOVA. The values I have for each treatment group are means with standard deviation. Even though I know the values from which the means are…
Joey
  • 11
  • 3
1
vote
1 answer

C++ compute standard deviation

I'm trying to write a simple data analysis program but i'm having issues with computing the standard deviation of a ten elements array We should use the square approximation (stddev = sqrt(meanofsquares/90-squareofmeans900)) instead of the standard…
1
vote
1 answer

awk Standard Deviation

I'm trying to work out the standard deviation for a set of students marks in different subjects. I'm just a bit stuck on the last calculation I need to do and I'm just not sure what the issue is. BEGIN { i=0 printf("\nResults for form…
1
vote
3 answers

Mean and standard deviation of triplicated vector data

I have an experiment where I measured a bit less than 200 variables in triplicate. In other words, I have three vectors of ~ 200 values. I want a quick way to determine if I should use mean or median for my calculations. I can do the mean easily…
Turtle23
  • 13
  • 3
1
vote
1 answer

Standard deviation of each row between two columns in R

I have a simple query. I am trying to get the standard deviation of each row between two columns in an array (n=2 for the length of the array; I know it's a small sample size) It forms part of a longer code but simply: data$i <- sd(data$x,…
squishy
  • 489
  • 1
  • 6
  • 19
1
vote
1 answer

Map Function practice in Scheme

I am having trouble using a map function to return a list of the square of the deviation of a given set of numbers. I wrote my square-of-deviation function as follows, but I don't know how to map this. Is there a way to right my square-of-deviation…
John Friedrich
  • 343
  • 5
  • 21
1
vote
3 answers

Mean and Standard Deviation wrong c#

I've been doing an app since few days ago but it's wrong and I do not know why. I've done the same operation in various ways. I've searched here on the blog, but I still get the incorrect result. I hope you can help me: I'm calculating the ** Mean…
Jean
  • 593
  • 2
  • 6
  • 19
1
vote
1 answer

Gaussian distribution of normals' angular deviation

Recently I read NVidia's Mipmapping-Normal-Maps In the "Estimating Normal Variation" section, it assumes a Gaussian distribution of the angular deviation and give a figure (sorry but I cannot post an image as a new user, please refer to Figure_2 in…
sHeldON
  • 11
  • 2
1
vote
1 answer

How does this deviation come out after I use Evaluate and Plot in Mathematica?

I ran into this problem when I try to solve a partial differential equation. Here is my code: dd = NDSolve[{D[tes[t, x], t] ==D[tes[t, x], x, x] + Exp[-1/(tes[t, x])], tes[t, 0] == 1, tes[t, -1] == 1, tes[0, x] == 1}, {tes[t, x]}, {t, 0, 5}, {x,…
xzczd
  • 299
  • 5
  • 20
0
votes
1 answer

Deviations from type average

I have a df like this: structure(list(Date = structure(c(18605, 18604, 18598, 18597, 18590, 18584, 18583, 18578, 18570, 18569, 18563, 18562, 18557, 18549, 18548, 18542, 18541, 18536, 18534, 18529, 18521, 18520, 18515, 18508, 18500, 18499, 18493,…
alec22
  • 735
  • 2
  • 12
0
votes
1 answer

Find the variance based on a threshold in R

This datasets contains 42 IDs with 1440 observations per ID. This means that the dataset got 60480 observations in total. The values of the columns AI_1..., to AI_7 got values that range from 0.00 to approx 3.. (depending on ID). I try to make…
0
votes
1 answer

How do I aggregate using standard deviation using raster::aggregate?

For my model I need to aggregate my raster datasets using standard deviation. Is there a 'fun' abbreviation for this purpose? I am currently using mean but wish to use standard deviation instead. This is my code library(raster) merge1 <-…
0
votes
1 answer

Standard Deviation of certain cells in excel

for eg I have 5 numbers in excel, in A1,A2 etc numbers could be 95 99 98 96 97, (not sorted). How do I get the standard deviation for the top 4 numbers only (ie: dropping the lowest number) Thanks in advance.