cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

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

Make Combined Data Table - various Group By columns - is there a BUG?

Let's run this code:

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

fg = dt << Fit Group(
	Bivariate(
		Y( :height ),
		X( :weight ),
		Group By(:age),
		Fit Line
	),
	Bivariate(
		Y( :height ),
		X( :weight ),
		Group By(:age),
		Fit Line
	),
	Bivariate(
		Y( :height ),
		X( :weight ),
		Group By(:age),
		Fit Line
	),		
	Bivariate(
		Y( :height ),
		X( :weight ),
		Group By(:sex),
		Fit Line
	),
	<<{Arrange in Rows( 4 )}
);

You'll get a Fit Group where the last Bivariate has a different Group By column (:sex instead of :age)

Then let's click on the first "Summary of Fit" and select Make Combined Data Table.

We'll see that the age column has missing values for the plot that has Group By column NOT :age, and there is no column called "sex"

Age column has missing values where Group By column is not AgeAge column has missing values where Group By column is not Age

Seems like a bug. At least I did not expect that behavior.

Group By column is also a variable - same as X or Y.

I would expect it to either concatenate tables and have a column for for each Group By variable, or, to make further analysis easier - jsut stack them and output just two columns: Group By Name and Group By Value.

If it's a bug - where would I submit it? 

 

1 REPLY 1
jthi
Super User

Re: Make Combined Data Table - various Group By columns - is there a BUG?

Send a message to JMP Support

-Jarmo

Recommended Articles