Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: √ ∞ ≠ ≤ ≥ ≈ ⇒ ∈ Δ θ ∴ ∑ ∫ π -

Login

Username

Password

Not registered yet?

  • Index
  •  » Help Me !
  •  » How to get the area of bin from 0 to 6 if frequency of bins are given

#1 2012-09-07 16:24:27

tina123
Full Member

Offline

How to get the area of bin from 0 to 6 if frequency of bins are given

If we have data of 352* 288 dimension. and data is represented as histogram with 20 bins . where Each bin have from 0 to 9 . and the frequency of each bin is given below.

255 , 70 , 60 , 50 ,10 , 5 ,4 , 4 , 60, 50 , 30 , 10 , 5 , 2, 2 , 1 , 0 , 5 , 3, 3

The issue is : I need to find area from
bin 7 to 13 : frequency are 60 ,50,,30,10,5

How to do that ?
Area meant number of data. like 3*3 . area will be 9.
That meant area is number of  data . Since frequency represent the occurence of pixels .Can we say that area will be sum of frequency ?

Please help me to get the area of bin from 7 to 13 in which frequency are :
60 ,50,30,10,5

Please guide me thanks

Edited:

one way is defined in calculus i-e " Area under the curve . "
see Finding Areas using Definite Integration in this link : http://www.intmath.com/integration/3-area-under-curve.php

Now in our case we have low bound is i = 7 and upper bound i = 13 .
then area would be f(b) - f(a) = 13 - 7 = 6
Area could not be 6 .. its wrong .
How  can we get area under the histogram curve .
thanks

Last edited by tina123 (2012-09-07 16:46:46)

#2 2012-09-07 19:15:31

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

Hi tina123;

I am not sure what you mean. Please look here so that you will understand a little better and maybe can phrase the question so that I can understand.

http://quarknet.fnal.gov/toolkits/ati/histograms.html


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#3 2012-09-07 20:51:58

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

okkkk Well i think if we use "  area under the curve  " from calculus .
then area calculation would be from bin 5 to bin 10 ..
how ???
Well we have interval  between bin 5 to bin 10 .
so we have total 5 , 6 , 7 , 8 , 9 , 10 intervals in bin range 5 to 10 .
and frequency corsponding to each bin is calculated.
so we get area .
A = frequecny1 * bin [5] + frequecny2 * bin[6] + .....frequecnt5*bin[10]

the sum will be our area .
Right  ? ?

#4 2012-09-07 21:49:14

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

Hi;

I am still not understanding why you are going from 5 to 10.

Using a very simple example from that page if we had data like {3,11,12,19,22,23,24,25,27,29,35,36,37,45,49}.

The histogram could be the drawing below. That means from 0 to 10 there is 1 piece of data, from 10 to 20 there are 3 pieces of data etc. To get the area of 10 to 40 we would just add up areas of rectangles. 30 + 60 + 30 = 120.

How do you relate this to your problem? What does the histogram look like?


Uploaded Images
View Image: 2012-09-07_044428.gif      


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#5 2012-09-07 21:52:24

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

hmm i see . i got it .
So how about to get the 1st moent,.
I think the quantity that i computed that 1st moment not  area . sorry .
also how can we get variance ?

#6 2012-09-07 22:16:44

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

Hi;

It is best to see the raw data, the first moment is just the mean. The variance is a measure of dispersion of the data from the mean. Both are calculated from the data.

For instance for the set of test data from that page

{3,11,12,19,22,23,24,25,27,29,35,36,37,45,49}

the mean is 397 / 15 and the variance is 16708 / 105.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#7 2012-09-08 15:47:58

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

Hy bobbym,

How  can we get energy from histogram ?
like if we have high frequecny --> high energy
low frequency --> low energy .

Also how can we get probability from frequency distribution histogram

but how can we get energy and probability  from histogram ?
Any idea .
please help thanks

Last edited by tina123 (2012-09-08 16:15:51)

#8 2012-09-08 21:20:29

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

Hi tina123;

I do not know. But aren't we still working on the histogram?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#9 2012-09-08 21:39:38

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

bobbym wrote:

Hi tina123;

I do not know. But aren't we still working on the histogram?

yes we are still working on histogram .
Can we get energy from histogram ?
thanks

#10 2012-09-08 21:41:10

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

Hi;

I can not answer that yet because there are still questions to be answered about post #1.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#11 2012-09-08 21:42:22

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

tina123 wrote:

bobbym wrote:

Hi tina123;

I do not know. But aren't we still working on the histogram?

yes we are still working on histogram .
Can we get energy from histogram ?
thanks

Do you  know how probability  can compute from histogram ?
any one ? ?

#12 2012-09-08 22:50:26

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

tina123 wrote:

tina123 wrote:

bobbym wrote:

Hi tina123;

I do not know. But aren't we still working on the histogram?

yes we are still working on histogram .
Can we get energy from histogram ?
thanks

Do you  know how probability  can compute from histogram ?
any one ? ?

HY .. but i do't need post #1 now .
Please look at current problem ./
thanks

#13 2012-09-08 22:56:37

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

HY .. but i do't need post #1 now .
Please look at current problem ./
thanks

Until you clear up post #1 I can not do the next part of the problem.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#14 2012-09-08 23:08:43

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

bobbym wrote:

HY .. but i do't need post #1 now .
Please look at current problem ./
thanks

Until you clear up post #1 I can not do the next part of the problem.

you already answered about area calculation..i have no doubt in that .
what do u wanna make clear  ?

#15 2012-09-08 23:12:24

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

255 , 70 , 60 , 50 ,10 , 5 ,4 , 4 , 60, 50 , 30 , 10 , 5 , 2, 2 , 1 , 0 , 5 , 3, 3

Does this mean 255 zeroes, 70 ones, 60 twos etc?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#16 2012-09-08 23:15:42

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

bobbym wrote:

255 , 70 , 60 , 50 ,10 , 5 ,4 , 4 , 60, 50 , 30 , 10 , 5 , 2, 2 , 1 , 0 , 5 , 3, 3

Does this mean 255 zeroes, 70 ones, 60 twos etc?

Well that was a histogram that i supposed .
by considering a hill or mountain , i supposed that histogram .
that's it .

#17 2012-09-08 23:18:21

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

tina123 wrote:

bobbym wrote:

255 , 70 , 60 , 50 ,10 , 5 ,4 , 4 , 60, 50 , 30 , 10 , 5 , 2, 2 , 1 , 0 , 5 , 3, 3

Does this mean 255 zeroes, 70 ones, 60 twos etc?

Well that was a histogram that i supposed .
by considering a hill or mountain , i supposed that histogram .
that's it .

As i mentioned before. i can't ask any question related to my research.
i just need help in calculating things.
if you are interested in purpose then u can contact me rubi_faith@yahoo.com
then we could discuss issue and its solution. thanks .

Last edited by tina123 (2012-09-08 23:20:19)

#18 2012-09-08 23:22:04

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

I do not need the purpose of your research. I need clear explanations of what your terms mean.

To compute the probability I will need the frequency of the histogram in post #1. Are you not asking for the probability of it?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#19 2012-09-08 23:23:50

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

yes .. now i need probability yes ..
but these values

255 , 70 , 60 , 50 ,10 , 5 ,4 , 4 , 60, 50 , 30 , 10 , 5 , 2, 2 , 1 , 0 , 5 , 3, 3

are frequency of each bin ..

#20 2012-09-08 23:26:26

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

And how are the bins labeled?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#21 2012-09-08 23:30:27

tina123
Full Member

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

bin 0 , 1  , 2 , 3 , 4 , 5 , 6 , 7 ,8 , 9 , 10 ,11 , ...20 bins .
and frequencies are

255 , 70 , 60 , 50 ,10 , 5 ,4 , 4 , 60, 50 , 30 , 10 , 5 , 2, 2 , 1 , 0 , 5 , 3, 3

#22 2012-09-08 23:32:30

bobbym
Administrator

Offline

Re: How to get the area of bin from 0 to 6 if frequency of bins are given

What bins are involved in the probability? In other words do you want 0 to 6?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
  • Index
  •  » Help Me !
  •  » How to get the area of bin from 0 to 6 if frequency of bins are given

Board footer

Powered by FluxBB