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

Showing results for

- JMP User Community
- :
- Discussions
- :
- Plotting censored values in a Life Distribution

- 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

Mar 23, 2015 8:10 AM
(2590 views)

10 REPLIES

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

Mar 23, 2015 11:50 AM
(2239 views)

Hi bradford.foulkes,

Does the Event Plot in Life Distribution plot the censored data in the manner that you're looking for?

Best,

Michael

open**(**"$SAMPLE_DATA/Reliability/Fan.jmp"**)**;

Life Distribution**(** Y**(**:Time**)**, Censor**(** :Censor **)**,

SendToReport**(**

Dispatch**(** **{}**, "Event Plot", OutlineBox, **{**Close**(** **0** **)}** **)**,

Dispatch**(** **{}**, "Compare Distributions", OutlineBox, **{**Close**(** **1** **)}** **)**

**)**

**)**;

Michael Crotty

Sr Statistical Writer

JMP Development

Sr Statistical Writer

JMP Development

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

Mar 23, 2015 11:58 AM
(2239 views)

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

Mar 23, 2015 12:02 PM
(2239 views)

Would it be possible to send a screenshot of what you're trying to recreate?

Michael Crotty

Sr Statistical Writer

JMP Development

Sr Statistical Writer

JMP Development

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

Mar 23, 2015 12:19 PM
(2239 views)

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

Mar 24, 2015 10:26 AM
(2239 views)

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

Mar 27, 2015 6:32 AM
(2239 views)

This is admittedly not the most robust or nicest looking script, but I think it should help you on your way toward getting a plot like you're looking for.

dt = open**(**"$DOCUMENTS/Temp/JMP_EXAMPLE_TABLE.jmp"**)**;

cvec = **(**dt:Aging << **get values)[**dt << **get rows where(**:Censor=="S"**)]**;

ld = Life Distribution**(** Y**(** :Aging **)**, Censor**(** :Censor **)**, Censor Code**(** "S" **)** **)**;

rp = report**(**ld**)**;

fb = rp**[**"Compare Distributions"**][**FrameBox**(****1)]**;

buildexpr = expr**(**Glue**())**;

for**(** i=**1**, i<=nrows**(**cvec**)**, i++,

insertinto**(**buildexpr,evalexpr**(**Marker**(1**,**{**Expr**(**cvec**[**i**])**,**0})))**

**)**;

nameexpr**(**buildexpr**)**;

addexpr = expr**(**Add Graphics Script**)**;

insertinto**(**addexpr,nameexpr**(**buildexpr**))**;

nameexpr**(**addexpr**)**;

finalexpr = expr**(**Send**(**fb**))**;

insertinto**(**finalexpr,nameexpr**(**addexpr**))**;

nameexpr**(**finalexpr**)**;

eval**(**finalexpr**)**;

Michael Crotty

Sr Statistical Writer

JMP Development

Sr Statistical Writer

JMP Development

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

Mar 24, 2015 10:27 AM
(2239 views)

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

Mar 26, 2015 8:01 AM
(2239 views)

I agree that does sound strange. Is there any way that you could share the data? I'd be interested to see if I can reproduce that behavior.

Regards,

Michael

Michael Crotty

Sr Statistical Writer

JMP Development

Sr Statistical Writer

JMP Development

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

Mar 26, 2015 8:15 AM
(2239 views)

Michael, when I load it like this, I only get failures to show on the plot. If I remove the “By” value, everything shows up. I’ve attached a document with some data that this is happening on too, so I’ll be curious to see if you can recreate it.

Brad