You are not logged in.

- Topics: Active | Unanswered

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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-06 18:46:46)*

Offline

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

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.

**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

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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 ? ?

Offline

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

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?

**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

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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 ?

Offline

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

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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-07 18:15:51)*

Offline

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

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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

Offline

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

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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 ? ?

Offline

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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 ?

thanksDo 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

Offline

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

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

bobbym wrote:

HY .. but i do't need post #1 now .

Please look at current problem ./

thanksUntil 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 ?

Offline

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

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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 .

Offline

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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 01:20:19)*

Offline

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

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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 ..

Offline

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

And how are the bins labeled?

**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

**tina123****Member**- Registered: 2012-04-29
- Posts: 83

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

Offline

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

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline