cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
bzanos
Level III

Variability Chart - Cannot Add Line For Each Data Point In Each Group

I plot variability chart and want to add line to connect each data point for each group to show the trend.

However, the line cannot be added.

Could you take a look if I missing anything in my code?

dt= Current Data Table();

Rp = dt << Variability Chart(
	Y( :Qty ),
	X( :Product, :Lot, :Defect, :Sublot, :workweek ),
	Max Iter( 100 ),
	Conv Limit( 0.00000001 ),
	Number Integration Abscissas( 128 ),
	Number Function Evals( 65536 ),
	Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
	Show Range Bars( 0 ),
	Show Cell Means( 0 ),
	Connect Cell Means( 1 ),
	Std Dev Chart( 0 ),
	Points Jittered( 1 ),
	AIAG Labels( 0 ),
	SendToReport(
		Dispatch(
			{"Variability Chart for Qty"},
			"Variability Chart",
			FrameBox,
			{Frame Size( 575, 240 ), Grid Line Order( 3 ), Reference Line Order( 4 )
			}
		),
		Dispatch(
			{"Variability Chart for Qty"},
			"",
			NomAxisBox,
			{Rotated Tick Labels( 0 )}
		)
	)
);

Variability.PNG

1 REPLY 1
andersonmj2
Level IV

Re: Variability Chart - Cannot Add Line For Each Data Point In Each Group

I was able to replicate your issue - and what seems to be the issue is that Sublot and Workweek are redundant - if you only use Product-Sublot on the x-axis you can connect means as expected, but as soon as you add workweek that stops.  I know that you cannot connect means across subgroups - so if you had different defect types you would only connect means within each Defect type. So what I think is happening is JMP is treating workweek as a distinct subgroup within Sublot and therefore is unable to connect.