cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
hogi
Level XII

Pareto Analysis - generate table

What is the fastest/easiest way to generate a table with he information that I get via % of total in Graph Builder?

 

Unfortunately, % of total in Summary and Tabulate take all rows of the table as a references.

But I need a separate analysis for each group - like in Graph Builder or in Pareto.

 

Per Unit Rates in Pareto gives the correct list - but unfortunately, it's into 2 DisplayBoxes.

 

As this is a very common task, I guess there is a direct way to generate such a list, but I couldn't find it ....

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

dt << Pareto Plot(
	Cause( :age ),
	X( :sex ),
	Percent Scale( 1 ),
	Show cumulative Percent Curve( 0 ),
	Per Unit Rates( 1 )
);

dt << Graph Builder(
	Variables( X( :age ), Group X( :sex ) ),
	Elements(
		Bar( X, Summary Statistic( "% of  Total" ) )
	)
);

dt  << Summary(
	Group( :sex ),
	"% of Total"n( :sex ),
	Subgroup( :age )
);

dt << Tabulate(
	Add Table(
		Column Table( Grouping Columns( :age ), Statistics( "% of Total"n ) ),
		Row Table( Grouping Columns( :sex ) )
	)
)
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Pareto Analysis - generate table

Tabulate most likely

jthi_0-1697739678574.png

 

-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: Pareto Analysis - generate table

Tabulate most likely

jthi_0-1697739678574.png

 

-Jarmo
jthi
Super User

Re: Pareto Analysis - generate table

Or distribution

jthi_0-1697739742162.png

 

-Jarmo
hogi
Level XII

Re: Pareto Analysis - generate table


@jthi wrote:

Tabulate most likely


 

Nice, thanks.

On a discovery summit there was a discussion about the pros and cons of Analyze/Tabulate and Tables/Summary.

 

So, + 1 Point for Tabulate.

 

It's interesting that the functionality is so "distributed" over the Platforms.
I would expect that each platform provides all possibilities and that the user can choose the platform by some personal preferences. 

 

hogi_0-1697740149485.png

 

Distribution has the same issue as Pareto: Result is split over several Display Boxes.

-> I will stick to Tabulate.