Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

How do I use the model DRM fit to my data in R (forward prediction - not inverse prediction)?

$
0
0

First - thanks to all who contributed to writing the drc package!

I have a four parameter logistic LL.4 model that fits my data well. Yay! I can't find documentation detailing usage of the model though! :(

I want to find the intersection between two lines: 1 - the tangent to the point of inflection and 2 the upper asymptote.

To get the line tangent to the point of inflection: The model spits out the independent value at the POI, but now I need to 1) use the model to get the value of the dependent variable at the POI and 2) plug the POI into the first derivative function. This will give me y, m and x so I can get b (y = mx + b).

To get the intersection: I can find X where this line crosses the line of the upper limit (upper asymptote) UA = mx + b.

I don't get how to use the resulting functions from drm to get y and m in this case.

Thanks for any help!


Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>