Plot Receiver Operating Characteristics (ROC) curve from a given probability distribution of an input variable
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
I have a probability distribution function of an input variable (rupture time of a Ligand-Receptor bond).
where t is the rupture time
k, F, d, Kb and T are known constants.
I want to plot ROC curve from it. If an input (rupture time) is greater than a given threshold then there is a selection. Could anyone please help in getting this in MATLAB?
댓글 수: 0
답변 (1개)
KALYAN ACHARJYA
2021년 1월 19일
Hint:
Define rupture time (asssuming vector data)
t=
Define other Known Parameters
k=
F=
d=
Kb=
T=
Calculate P(t), whcih is function of t
Pt=k*exp((F*d)/(Kb*T))*exp(-k*exp((F*d)/(Kb*T))*t)
Define Threshold (th)
"If an input (rupture time) is greater than a given threshold then there is a selection"
Use the t>th for logical indexing then get the required plot. (Use Condition to cetegories the data)
Ensure that at the end you have two vector for x (may be rupture time) and y of equal length?? I am not sure here, after that just do that plot(t,??)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 ROC - AUC에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!