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

Hide excluded regions in EWMA chart

Hello,

 

I have a table where I exclude certain rows and then perform an EWMA on it. I would like the excluded regions not to be displayed, as is done for control charts with the “show excluded regions” option. Except that I don't see such an option for EWMA, unless I'm mistaken? Is there another option? I would like to avoid creating a subset as much as possible; I would like to stay on the same table.

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Quality Control/Clips1.jmp" );
dt << Clear Select << Select Rows( Index( 6, 13 ) ) << Exclude;
dt << clear select();
obj = dt << EWMA Control Chart( Y( :Gap ) );

SophieCuvillier_0-1753889012124.png

 

4 REPLIES 4
jthi
Super User

Re: Hide excluded regions in EWMA chart

You can enable it with scripting. Example directly from Scripting Index for EWMA

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Clips1.jmp");
dt << Select Rows({31, 32, 33, 34, 35, 36, 37, 38, 39, 40}) <<
exclude << hide;
obj = dt << EWMA Control Chart(
	Y(:Gap),
	Subgroup(:Sample),
	Show Excluded Region(0)
);
-Jarmo

Re: Hide excluded regions in EWMA chart

Hello, thank you for your response ! Indeed, but it shows white space it does not rescale automatically for instance:

 

SophieCuvillier_0-1753891017150.png

 

jthi
Super User

Re: Hide excluded regions in EWMA chart

Have you tried enabling automatic recalc?

-Jarmo

Re: Hide excluded regions in EWMA chart

Yes and I have still the whitespace issue. But is seems to be corrected, I have JMP 18.0.0 but for my colleague in 18.0.1 the same script gives different results and works as I wanted, without whitespace

Recommended Articles