r语言 把2条roc曲线画在同一个图上_医学统计与R语言:Logistic Distribution

本文介绍了如何在R语言中将两条ROC曲线绘制在同一图表上,涉及Logistic分布及其在统计和概率中的应用。内容涵盖Logistic分布的特性、ROC曲线的绘制方法,以及医学统计相关的R语言实践。
摘要由CSDN通过智能技术生成

微信公众号:医学统计与R语言如果你觉得对你有帮助,欢迎转发

Logistic distribution is a continuous probability distribution in probability and statistics theory. It has two parameters and is defined for all real numbers. The probability density function (PDF) plot is symmetric about the mean. The cumulative density function (CDF) of logistic distribution is logistic function which is used in logistic regression.

ea251da2fed1555248f58e3568449e93.png

The standard logistic distribution is the logistic distribution with the parameters μ=0 and s=1.

输入1:

xq(- 10, 10, by = 0.01) 
fx x,location = 0, scale = 1) 
Fx x) 
logitp logdata x,fx,Fx,logitp)
head(logdata,10)

fx Fxlogit(p) = log(p/(1-p))

结果1:

     x     
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值