cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

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

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 III

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

Recommended Articles