Math Is Fun Forum

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

You are not logged in.

#26 2012-09-22 02:39:06

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

Re: detect peaks and valleys

tina123 wrote:
bobbym wrote:

Do you see what a peak is?

as i understand peak is maximum value ..  and 20 , 21 are the maximum . .

so those are peaks

Oh yar we are still not able to decide .

Offline

#27 2012-09-22 02:42:10

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

Re: detect peaks and valleys

Hi;

I drew arrows to the peaks in post #20.

To decide you need the data.


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

#28 2012-09-22 03:06:17

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

Re: detect peaks and valleys

hy no .. . How did say that its peak . We can see it graphically ,
but i still do't understand how can say its out peak .

Offline

#29 2012-09-22 03:10:52

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

Re: detect peaks and valleys

Do you have the data values? That is how you determine 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

#30 2012-09-22 03:13:10

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

Re: detect peaks and valleys

yes i already showed u data values in my #post 1 .

Offline

#31 2012-09-22 03:15:47

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

Re: detect peaks and valleys

Count up each type of data value the way I did in post #4. That is how you get those peaks and valleys. You do not need 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

#32 2012-09-22 03:17:15

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

Re: detect peaks and valleys

bobbym wrote:

Count up each type of data value the way I did in post #4. That is how you get those peaks and valleys. You do not need the histogram.

Oh u are making me confuse . leave it . now .
I need to work with  histogram .

Offline

#33 2012-09-22 03:23:11

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

Re: detect peaks and valleys

The histogram is for the eye to get an idea what the data looks like. The data itself is the best thing.

Look at post #4, the data.

There
4 ones
1 two
1 three
3 fours

you do the rest. You will see there are more ones than anything else. That is a peak.


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

#34 2012-09-30 04:13:30

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

Re: detect peaks and valleys

hy Bobby, from post #1, how can we get probability  ?

Offline

#35 2012-09-30 04:30:54

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

Re: detect peaks and valleys

Hi;


Yes, those are peaks.


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

#36 2012-09-30 04:35:09

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

Re: detect peaks and valleys

ok but i am asking about probability .
How can we compute probability of each bin ?
Also how  can we compute Bayesian formula in histogram post #1 . 
As Bayesian formula can show that posterior probability is proportional to density value .

Offline

#37 2012-09-30 04:39:42

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

Re: detect peaks and valleys

Hi;

Just take how many is in that bin and divide it by the total 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

#38 2012-09-30 04:42:06

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

Re: detect peaks and valleys

and how about Bayesian formula in histogram post@1 .
As Bayesian formula can show that posterior probability is proportional to density value .
That's y i am interested in Bayesian formula .

Offline

#39 2012-09-30 05:17:40

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

Re: detect peaks and valleys

Hi tina123;

I do not understand either term. You will have to explain to me what they mean.


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

#40 2012-09-30 05:39:03

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

Re: detect peaks and valleys

hy ,, its a just Bayes theorem on histogram data .

Offline

#41 2012-09-30 05:54:07

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

Re: detect peaks and valleys

Hi;

I am sorry but I can not apply Bayes theorem here. What question is being asked? I do not know. Hard enough to solve a problem but having to guess at what it is, is too tough.

Please go here so you can ask a specific problem:

http://en.wikipedia.org/wiki/Bayes%27_theorem


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

Board footer

Powered by FluxBB