turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Is it possible to create Histograms from a list?

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Nov 10, 2015 10:22 AM
(513 views)

I have data sets where data is in Columns. I want to create histograms for each parameter.

I know that I could stack the data and us the following command:

*Current Data Table() << Distribution( Continuous Distribution( Column( :param_value ) ), By( :param_name ) );*

I would like to use a list to create the histograms as I have code to work on each column individually.

I have tried the following with no luck:

*::param_list = {:parameter1, :parameter2, :parameter3, :parameter4};*

**Current Data Table() << Distribution( Continuous Distribution( Column( ::param_list ) ));**

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Nov 10, 2015 11:50 AM
(417 views)

You could grab the data from the table as a matrix. Take a single row of data and transpose it - giving you the list of data required by the distribution platform.

Best,

M

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Nov 10, 2015 2:53 PM
(417 views)

Try this (you need to evaluate the list!):

Semi_dt = Open( “$SAMPLE_DATA/Semiconductor Capability.jmp” );

cont_lst = Semi_dt << Get Column Names( Continuous );

Distribution( Column( Eval( cont_lst ) ), Ignore Platform Preferences( 1 ), Histograms Only );