cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Identifying multiple Peaks in different batches

Hello everyone, 

I have a data set similar to the one in the example below, but the length-time profiles are assigned to different batches indicated by an additional column with the batch nr.

Solved: find multiple peak values in a column - JMP User Community

 

Is there a way to adapt the peak detection column formula in the thread above to perform the peak identification for each batch?

Thanks in advance!

2 REPLIES 2
jthi
Super User

Re: Identifying multiple Peaks in different batches

Which JMP version are you using (JMP17/18? JMP Standard / JMP Pro?) as there might be jmp platforms to do this. Column formula could also be modified by adding additional check for the batch changes.

-Jarmo
jthi
Super User

Re: Identifying multiple Peaks in different batches

This is one possible formula option (:B is group column)

New column("Peak", Numeric, Nominal, Formula(
	prev_val = Col Moving Average(:Length, 1, 1, 0, :B) * 2 - :Length;
	next_val = Col Moving Average(:Length, 1, 0, 1, :B) * 2 - :Length;
	
	:Length - prev_val > 0 & :Length - next_val > 0
));

jthi_0-1717487573127.png

 

 

-Jarmo

Recommended Articles