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
Danial1
Level II

Need help to "Connect cell Means" in Variability Chart

Unable to "connect cell means" in variability chart even after I selected this option in the drop down menu. Is there anything I'm missing?

Danial1_1-1605176453513.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
ragnarl
Level II

Re: Need help to "Connect cell Means" in Variability Chart

The "connect cell means" will draw lines between the means within each group. In your example there is only one set of values in each group therefore there is no line.

This simple example should illustrate (copy and paste into a script window, then run it): 

New Table( "Untitled",
	New Column( "value",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4, 3, 2] )
	),
	New Column( "group1",
		Character,
		"Nominal",
		Set Values( {"a", "a", "b", "b", "a", "b"} )
	),
	New Column( "group2",
		Character,
		"Nominal",
		Set Values( {"c", "c", "c", "c", "d", "d"} )
	)
);
Variability Chart(
	Y( :value ),
	X( :group1, :group2 ),
	Connect Cell Means( 1 )
);

View solution in original post

2 REPLIES 2
ragnarl
Level II

Re: Need help to "Connect cell Means" in Variability Chart

The "connect cell means" will draw lines between the means within each group. In your example there is only one set of values in each group therefore there is no line.

This simple example should illustrate (copy and paste into a script window, then run it): 

New Table( "Untitled",
	New Column( "value",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4, 3, 2] )
	),
	New Column( "group1",
		Character,
		"Nominal",
		Set Values( {"a", "a", "b", "b", "a", "b"} )
	),
	New Column( "group2",
		Character,
		"Nominal",
		Set Values( {"c", "c", "c", "c", "d", "d"} )
	)
);
Variability Chart(
	Y( :value ),
	X( :group1, :group2 ),
	Connect Cell Means( 1 )
);
Danial1
Level II

Re: Need help to "Connect cell Means" in Variability Chart

Thanks. It made sense! Is there other example you could recommend me to show the mean graph? I was thinking a boxplot