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
- :
- How to create a category nominal variable with more than 2 levels from an JMP da...

Topic Options

- Start Article
- 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

Sep 9, 2015 8:42 AM
(7435 views)

New to JMP - just wondering how to create a >2 category nominal variable from an existing continuous JMP dataset variable? Thanks!

Solved Go to Solution

2 ACCEPTED SOLUTIONS

Accepted Solutions

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

Hi Al,

Let's say you have a continuous column named A with values between zero and one. Create a column named B, character data type and nominal modeling type. Build a formula for B as follows:

You can add an arbitrary number of clauses to the If function using the caret "^" button in the formula builder.

Best,

Jordan

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

6 REPLIES 6

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

Hi Al,

Let's say you have a continuous column named A with values between zero and one. Create a column named B, character data type and nominal modeling type. Build a formula for B as follows:

You can add an arbitrary number of clauses to the If function using the caret "^" button in the formula builder.

Best,

Jordan

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

Re: How to create a >2 category nominal variable from an existing continuous JMP dataset variable?

Thank you!

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

Re: How to create a >2 category nominal variable from an existing continuous JMP dataset variable?

In JMP 12 there is an option *Make Binning Formula*. It's found in *Cols/Utilities *that may do what you need*. *I think it is limited to equal-width bins.

(On my machine it doesn't work at all, which seems to be related to me using comma as decimal delimiter which breaks the graphics script. If changing to an OS with english localization, the *Make Binning Formula* works beautifully).

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

Re: How to create a >2 category nominal variable from an existing continuous JMP dataset variable?

Thank you!

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

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

Re: How to create a >2 category nominal variable from an existing continuous JMP dataset variable?

If you have a lot of categories, another approach would be to use the Loc Sorted() function, with or without a lookup table. The following link takes you to a tutorial:

http://blogs.sas.com/content/jmp/2014/04/02/lookup-tables-in-jmp/

Cheers,

Brady