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
- :
- Discussions
- :
- Can proportion density figures be made with Graph ...

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
- Permalink
- Email to a Friend
- Report Inappropriate Content

Nov 22, 2014 9:38 AM
(1705 views)

Any advice on how I can get JMP Pro to make proportion density figures using the Graph Builder? These figures are useful for a manuscript I'm working on but I would like to be able to panel by different outcomes and time points by randomization assignment which can not be done in the oneway platform, example of them is here:

Additional Examples of the Oneway Platform

It would also be nice to be able to use the lambda smoother in the Graph Builder so I can make the proportion line smoother as the one way platform can be very noisy with certain distributions.

Anyone have any advice on how to do this in JMP (or SAS).

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Nov 25, 2014 8:13 AM
(1547 views)

The Area element in Graph Builder can stack filled areas, but you'll need to get the proportions first. They can be computed from Distribution, though it takes a few steps.

You can recreate the Oneway density curves in the Distribution platform by using Red Triangle Menu > Continuous Fit > Smooth Curve. There you can adjust the smoothing parameter and you can click the smoother's Red Triangle Menu and choose Save Density Formula to create a formula column. Since you're planning to panel the output, you should use a BY variable when you launch distribution and it will be accounted for in the saved formula column.

Being a nonparametric fit, the formula is enormous.

Once you have the formula, you can create a new data table with an artificial grid of input values (Right-click > Fill and Column Info > Initialize Data are handy), copy in the formula to get the smooth response column, and then make another formula to turn those into proportions. Finally, you can plot the proportions in Graph Builder with the Area element.

I tried with Big Class to see proportions of M/F over the ages that had more than two rows of each (12 - 15). Here's by grid table:

Density holds the formula from the smooth curve fit, and Proportion is the new formula, the ratio of the density and the sum with its neighbor.

Using the Area element in Graph Builder, you can panel by Age and overlay by Sex to get:

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Nov 26, 2014 6:35 AM
(1547 views)