cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to see how to import and prepare Excel data on Jan. 30 from 2 to 3 p.m. ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Tobias_Hofmann
New Member

Factor combinations in Graph Builder

Hello everybody,

so, I have the following relationship, looking at a timeseries (t,y), which is affected by additional variables A and B, as well as noise. My workflow is now: Design a DoE for variables A and B, measure, visualize, estimate/calculate effects of A and B. For this, we would like to plot and visually assess the data and the "disturbed" timeseries (t,y) depending on the factors.

This question is especially on the visualization of combined factors in GraphBuilder. See especially "plot2.png" produced by R and the corresponding "plot_jmp.png" produced by JMP. Please see how JMP keeps a space for non-existing groups, e.g. (FactorA,FactorB)=(1,10), (2,10), etc. whereas R reduces the plot automatically to the existing groups.

How would I do this the best way in JMP? I don't want to create a new column as a combination from factors A+B...

Example data given by the R-script.

Formula from my example:

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
hogi
Level XIII

Re: Factor combinations in Graph Builder

a common issue in JMP:
Remove empty subplots in Group X graph 

related:  X group: restrict the values on the axis to the respective group 


A workaround:

In R, there is no nesting of the X Groups.
As you said, a column which combines the 2 levels can be used to generate this design.
you don't have to add it as a column to the data table, a dummy transform column (just inside the plot) is sufficient.
Best: use newline to reproduce the "hierarchy".

"empty white space" was identified as an issue and developers might work on it.
e.g. Help shape the future of JMP: Take this year’s Wish List Prioritization Survey! :

hogi_0-1769429848607.png

 



View solution in original post

hogi
Level XIII

Re: Factor combinations in Graph Builder

hogi_0-1769431134598.png

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
Data Table( "Big Class Families" ) << Select where( :age > 13 & :sex == "F" ) << Exclude;
Graph Builder(
	Transform Column( "Concatenate[age,sex]", Character, Nominal, Formula( :sex || "
" || Char( :age ) ) ),
	Variables(
		X( :height ),
		Y( :weight ),
		Group X( :"Concatenate[age,sex]"n, Size( 52 ) ),
		Overlay( :sex, Overlay Encoding( "Style" ) ),
		Color( :age )
	),
	Elements( Points( X, Y ), Smoother( X, Y ) )
);

View solution in original post

2 REPLIES 2
hogi
Level XIII

Re: Factor combinations in Graph Builder

a common issue in JMP:
Remove empty subplots in Group X graph 

related:  X group: restrict the values on the axis to the respective group 


A workaround:

In R, there is no nesting of the X Groups.
As you said, a column which combines the 2 levels can be used to generate this design.
you don't have to add it as a column to the data table, a dummy transform column (just inside the plot) is sufficient.
Best: use newline to reproduce the "hierarchy".

"empty white space" was identified as an issue and developers might work on it.
e.g. Help shape the future of JMP: Take this year’s Wish List Prioritization Survey! :

hogi_0-1769429848607.png

 



hogi
Level XIII

Re: Factor combinations in Graph Builder

hogi_0-1769431134598.png

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
Data Table( "Big Class Families" ) << Select where( :age > 13 & :sex == "F" ) << Exclude;
Graph Builder(
	Transform Column( "Concatenate[age,sex]", Character, Nominal, Formula( :sex || "
" || Char( :age ) ) ),
	Variables(
		X( :height ),
		Y( :weight ),
		Group X( :"Concatenate[age,sex]"n, Size( 52 ) ),
		Overlay( :sex, Overlay Encoding( "Style" ) ),
		Color( :age )
	),
	Elements( Points( X, Y ), Smoother( X, Y ) )
);

Recommended Articles