cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Fatemeh_2020
Level III

Generating ordinal data

Hello!

Does anyone know how I can generate ordinal data in JMP to simulate a sample?

I mean I need to simulate a sample including ordinal measurements by generating synthetic ordinal  data. 

Thank you in advance for your help. 

5 REPLIES 5
txnelson
Super User

Re: Generating ordinal data

What is the required distribution of the ordinal data?  Uniform???

Do you want the data to be whole numbers? (no decimals}

How many values do you want?

Do you want a random generation of values?

Jim
Fatemeh_2020
Level III

Re: Generating ordinal data

Thank you for your response.
The options for answering the questions are:

  • very important
  • important
  • moderately important
  • of little importance
  • not important

I want to replace the options by numbers 4, 3, 2, 1, and 0 when analyzing the data. I do not know the probability of each option being chosen by participants who will answer the survey.

Re: Generating ordinal data

I like all the other replies. I have another one. You can set up a simulation with a column formula for a specific outcome. For example, suppose that I expect the following outcome:

 

Capture.JPG

 

I can set up a data table with a Response column using the Value Labels and the Formula column properties like this:

 

Capture.JPG

 

The data table with 1000 rows might look like this (top 15 rows):

 

Capture.JPG

 

And the distribution of the ordinal responses might look like this:

 

Capture.JPG

 

This data table is attached here.

Fatemeh_2020
Level III

Re: Generating ordinal data

Thank you for your response.
The options for answering the questions are:

  • very important
  • important
  • moderately important
  • of little importance
  • not important


I want to replace the options by numbers 4, 3, 2, 1, and 0 when analyzing the data. I do not know the probability of each option being chosen by participants who will answer the survey.

Re: Generating ordinal data

Without an idea of what the distribution will be, your simulated data will not likely match reality. But, an easy way to generate some simulated data is to create a new column. Go to the Column Info for this new column. Under Initialize Data click on Missing/Empty and change it to Random. Select Random Integer and specify 0 for the minimum, 4 for the maximum. This will create a uniform distribution of those ordinal values. This is one easy way to simulate some data.

 

Note that since you are in the Column Info dialog, now would be the time to change the modeling type to Ordinal. You probably would also want to turn on the Value Labels option to specify 0 as Not Important, 1 as Of Little Importance, etc.

Dan Obermiller

Recommended Articles