cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP 19 is here! See the new features at jmp.com/new.
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
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