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

You are not logged in.

## #26 2012-09-23 00:39:06

tina123
Full Member

Offline

### Re: detect peaks and valleys

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

## #27 2012-09-23 00:42:10

bobbym

Online

### 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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #28 2012-09-23 01:06:17

tina123
Full Member

Offline

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

## #29 2012-09-23 01:10:52

bobbym

Online

### 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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #30 2012-09-23 01:13:10

tina123
Full Member

Offline

### Re: detect peaks and valleys

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

## #31 2012-09-23 01:15:47

bobbym

Online

### 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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #32 2012-09-23 01:17:15

tina123
Full Member

Offline

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

## #33 2012-09-23 01:23:11

bobbym

Online

### 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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #34 2012-10-01 02:13:30

tina123
Full Member

Offline

### Re: detect peaks and valleys

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

## #35 2012-10-01 02:30:54

bobbym

Online

### Re: detect peaks and valleys

Hi;

Yes, those are peaks.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #36 2012-10-01 02:35:09

tina123
Full Member

Offline

### Re: detect peaks and valleys

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 .

## #37 2012-10-01 02:39:42

bobbym

Online

### 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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #38 2012-10-01 02:42:06

tina123
Full Member

Offline

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

## #39 2012-10-01 03:17:40

bobbym

Online

### 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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #40 2012-10-01 03:39:03

tina123
Full Member

Offline

### Re: detect peaks and valleys

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

## #41 2012-10-01 03:54:07

bobbym

Online

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