Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2013-02-24 22:13:42

panicoschr
Member
Registered: 2013-02-24
Posts: 11

Standard Deviation

Hello. Can someone help me on this ?
Is it possible to calculate Standard Deviation for points distrubuted in 3-axis?
X Y Z.

Thanks

Offline

#2 2013-02-24 22:20:24

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

Hi;

Welcome to the forum. You could get the standard deviation of the x's, then the y's and then the z's.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2013-02-24 23:35:12

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

Standard deviation like a mean works on a list of elements not on 3 at a time.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#4 2013-03-21 02:35:29

panicoschr
Member
Registered: 2013-02-24
Posts: 11

Re: Standard Deviation

Hello again
i have another issue, if you could assist.
I have an array of integers from 0 - 250 positions, each one containing an integer. Is it possible to get a single value for this array, so that I can tell the difference between this array and other future arrays? Perhaps an integral?

Offline

#5 2013-03-21 02:39:17

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

There are several ideas but I would need to know a little bit more.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#6 2013-03-21 03:10:16

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

Hi;

You are saying that you are using an array to keep track of 251 colors. You are assigning each box to a color and incrementing it by one each time you find one?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#7 2013-03-21 03:19:42

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

Okay, what are you trying to do with that? Do you have some other array to compare it to?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#8 2013-03-21 03:26:52

panicoschr
Member
Registered: 2013-02-24
Posts: 11

Re: Standard Deviation

it would be easy to compare it with another array, slot by slot. But i want to get a value out of each array. Thinking of the array as a graph-> can i get a value out of it? area perhaps?distance of the area from 0? perhaps 2 or 3 small areas on a graph separated by 0 color values? sorry i can not think anything to compare 2 graphs that may look completely different.

Offline

#9 2013-03-21 03:35:11

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

You want to turn the array into a single number? This could very well take much more time than comparing them element by element.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#10 2013-03-21 03:37:17

panicoschr
Member
Registered: 2013-02-24
Posts: 11

Re: Standard Deviation

can i do this, turn it to a number?

Offline

#11 2013-03-21 03:44:18

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

You are using some programming language?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#12 2013-03-21 03:46:22

panicoschr
Member
Registered: 2013-02-24
Posts: 11

Re: Standard Deviation

yes I am using C++ in eclipse.

Offline

#13 2013-03-21 03:49:30

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

Does the new C++ have multiprecision arithmetic yet?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#14 2013-03-21 03:54:03

panicoschr
Member
Registered: 2013-02-24
Posts: 11

Re: Standard Deviation

I don't know what is this.
But i know it has fields like float and double.

Last edited by panicoschr (2013-03-21 03:54:25)

Offline

#15 2013-03-21 03:56:06

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

It still only has 16 digits of precision is what I mean. Basically that means only 16 digits in any number.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#16 2013-03-21 04:14:59

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

No, not exactly. Remember order counts in your array so you just can't add up the numbers or multiply them. The simplest thing of course is the decimal system. How high are the numbers in the each array?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#17 2013-03-21 06:42:31

panicoschr
Member
Registered: 2013-02-24
Posts: 11

Re: Standard Deviation

sorry i had to leave for some time. I made a small testing , saw max no = 160. Of course most of the slots are value 0. Lets say only 30 slots have a value {3,4, 10 , 20 , 34 etc)

Offline

#18 2013-03-21 10:40:17

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Standard Deviation

Hmmm, that is going to be a problem.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#19 2014-12-29 22:05:16

DeanPemberton
Member
From: USA
Registered: 2014-10-30
Posts: 20
Website

Re: Standard Deviation

Standard deviation is a quantity calculated to indicate the extent of deviation for a group. I don't think it will work for points distributed in 3-axis.

Offline

Board footer

Powered by FluxBB