Inverse CDF for Generalized Linear Model (GLM) with Binomial Distribution

I am using glmfit to create a GLM that has a binomial distribution and logit link function.
The inputs to glmfit are a range of voltages (predictors) and the binary response at each of those voltages (i.e. worked or didnt work)
I am able to calculate the probability of working at a specific voltage by using glmval. However, I would also like to do the inverse of that and calculate the voltage at a given probability. For example, at what voltage is there a 50% probability of working?
Any help is much appreciated.

回答 (1 件)

Torsten
Torsten 2017 年 6 月 21 日
編集済み: Torsten 2017 年 6 月 21 日
Solve
glmval(Voltage) - (given probability) = 0
for "Voltage" using "fzero", e.g.
Best wishes
Torsten.

1 件のコメント

Nick C
Nick C 2017 年 6 月 21 日
Thanks for the feedback. Can you propose code to do this?

サインインしてコメントする。

質問済み:

2017 年 6 月 20 日

コメント済み:

2017 年 6 月 21 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by