cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
Titanescu
Level I

Sensitivity and specificity with CI 95% using nominal variable with JMP 13

Dear Members of JMP community,

 

I have JMP 13

 

I'm attending to assess sensitivity and specificity (with CI 95%) of a nominal variable for another nominal variable.

 

I'm not able to perform this

 

May you indicate how to proceed?

3 REPLIES 3

Re: Sensitivity and specificity with CI 95% using nominal variable with JMP 13

So you have the confusion matrix, not the original data (observation pairs)? That is, you have a table of true levels versus predicted levels? If so, then JMP has no built-in analysis to help you. It works with the data, not a summary of the data. You would need a script to calculate the sensitivity and specificity. This calculation is simple from the confusion matrix.

 

Is it a 2x2 table?

Titanescu
Level I

Re: Sensitivity and specificity with CI 95% using nominal variable with JMP 13

Thank you very much

I have the original data; for each test perform I have the value of the
nominal variable 1 (gold standard: "control" or "disease") and the value of
the nominal variable 2 (test result : "postive" or "negative" )

This look like:

Gold standard Test result
Test 1 Control Negative
Test 2 Control Negative
Test 3 Disease Positive
Test 4 ect....

Sorry for not having mentionned this at the stage of my first message

Thank you again for your help,

With my best regards

Alan

Re: Sensitivity and specificity with CI 95% using nominal variable with JMP 13

You can get the confusion matrix this way:

 

  1. Be sure that the Gold Standard and Test Result data columns are using the Nominal modeling type.
  2. Select Analyze > Fit Model.
  3. Select the Test Result column and click Y.
  4. Select the Gold Standard column and click Add.
  5. Click Run.
  6. Click the red triangle at the top and select Confusion Matrix.

 

You can perform the calculations for both point estimates and interval estimates of the sensitivity and specificity based on this article.