BookmarkSubscribeRSS Feed
Highlighted
lwx228

Regular Contributor

Joined:

Aug 14, 2018

How to express the Summary Statistics amount in the "table" with variables?


I need to pick your brain again:


Take this picture alone.The red box is where the number of columns is variable.

For the convenience of description, column 4 is used as the Group.

Column variables starting and ending in column 5 are the values requiring Summary.


How are the column names in the red boxes represented in the form of variables?

Thanks you!

 

 

dt = Open( "$SAMPLE_DATA/Boston Housing.jmp" );

2018-10-12_18-04-35.png

 

2 REPLIES
lwx228

Regular Contributor

Joined:

Aug 14, 2018

Re: How to express the Summary Statistics amount in the "table" with variables?

The following code was provided by Jim when I consulted with the decision tree example.
But I don't know how to apply this to Summary.
Thank you!




colNamesList = dt << get column names;
xFactorList = As List( colNamesList[5 :: N Items( colNamesList )] );

Partition(……,X( Eval( xFactorList ) ),……


lwx228

Regular Contributor

Joined:

Aug 14, 2018

Re: How to express the Summary Statistics amount in the "table" with variables?

I can only do variable form in this way at the moment.Thank you!

 

 

2018-10-12_22-53-31.png