Slope of logisitic function at a certain point (p=0.5)
2 次查看(过去 30 天)
显示 更早的评论
Can anybody help me how to calculate the slope of a logistic function at a certain point (p=0.5) using Matlab?
The function looks as follows:
log(p/1-p) = intercept + slope x t
data =
56.2500 0 5.0000
78.7500 0 5.0000
101.2500 3.0000 5.0000
123.7500 4.0000 5.0000
146.2500 5.0000 5.0000
168.7500 4.0000 5.0000
191.2500 5.0000 5.0000
213.7500 5.0000 5.0000
[b1,d1,s1] = glmfit(data(:,1),[data(:,2) data(:,3)],'binomial')
b1 =
-6.4717 --- Intercept
0.0601 --- slope
How to calculate the slope at p=0.5 ? Any suggestions?
Thanks, Mark
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!