`main.m1391 chars37 lines`

To use this function, call it with the desired values of sensitivity, specificity, and prior probability. For example:

main.m35 chars2 lines

This will return the probability of a negative test to be correct given a sensitivity of 0.9, specificity of 0.8, and prior probability of 0.1.

design the function function tn= true_negative(sens, spec, prior) that calculates the probability of a negative test to be correct bayes in matlab

how to calculate the binomial distribution in matlab

how to calculate the 99th percentile in matlab

how to calculate cumulative distribution function in matlab

how to perform a ztest in matlab

how to calculate the normal distribution in matlab

how to plot the binomial distribution in matlab

calculate the area of a triangle in matlab

calculate the area of a sphere in matlab

find the slope of a set of points in matlab

gistlibby LogSnag