Question: Your assignment is to write a MATLAB script which can take data from a diagnostic trial and calculate the parameters to evaluate the efficacy of

Your assignment is to write a MATLAB script which can take data from a diagnostic trial and calculate the parameters to evaluate the efficacy of the diagnostic.

We will use the imaging diagnostic that we performed in lecture. You should run you code on at least your own data set, but you can also generate multiple data sets (from you or friend or pet or whomever) to compare diagnostic skills.

We will also generate a purely random diagnostic using Excel. To generate a random integer 1-5 in Excel, you can use the command =CEILING(RAND()*5,1) in a cell.

We only have 20 samples for this project, but your script should be set up to handle any data set size so that it could be used for any type of diagnostic. Your script should also be able to use thresholds from any diagnostic - not just the 1-5 rating scale that we used. You might even be able to use this script later in your BME education (like senior design, depending on your project). I expect VERY LITTLE text discussion of results: just report the required numbers. You should only write a shortparagraph of text drawing conclusions from the results.

Here are the required elements. You need to compare your diagnosis with the random Excel diagnosis:

Receiver Operating Characteristic (ROC) curve

Area under the ROC

Choose a "threshold" value to use for the diagnostic from the ROC. At that threshold value, show the confusion matrix and calculate the following:

Accuracy

Prevalence

Sensitivity

Specificity

Positive Predictive Value

Negative Predictive Value

One conclusion paragraph.

Your script should output all of these elements and it should not be much work to put them in a Word (or similar) document for export to .pdf.

Your assignment is to write a MATLAB script which can take data

from a diagnostic trial and calculate the parameters to evaluate the efficacy

of the diagnostic. We will use the imaging diagnostic that we performed

Trial Rating Truth 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!