cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Kaik
Level I

Fit data to a logistic function with a known asymptote

My goal is to fit this data to a logistic function (Logistic 3P for example). The y variable represents a proportion, so the maximum possible value is 100%. So I need to specify the asymptote as 100% because the model gives me values up this limit, and this is empirically impossible (attached image).

 

Thak you for the help. 

 

Kaik_0-1715174886341.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
peng_liu
Staff

Re: Fit data to a logistic function with a known asymptote

If I understand correctly, you need to fit Logistic-2P, because the asymptote is known.

In that case, you need to normalize your data, such that Y is between 0 and 1. In your case, I guess that you should divided your Y by 100.

After that, the Logistic-2P will be available:

peng_liu_1-1715568564067.png

Scaling your data should not impact the other two parameter estimates, i.e. the remaining two estimates are same. Unless you want to do some kind of prediction of Y given "cp", then your need to scale back after prediction using the fitted model.

 

View solution in original post

7 REPLIES 7

Re: Fit data to a logistic function with a known asymptote

It's hard to tell from just the screenshot: are you using Fit Curve, Nonlinear, or FDE platforms? Also, is it possible to share an anonymized set of the data to work with?

peng_liu
Staff

Re: Fit data to a logistic function with a known asymptote

If I understand correctly, you need to fit Logistic-2P, because the asymptote is known.

In that case, you need to normalize your data, such that Y is between 0 and 1. In your case, I guess that you should divided your Y by 100.

After that, the Logistic-2P will be available:

peng_liu_1-1715568564067.png

Scaling your data should not impact the other two parameter estimates, i.e. the remaining two estimates are same. Unless you want to do some kind of prediction of Y given "cp", then your need to scale back after prediction using the fitted model.

 

Kaik
Level I

Re: Fit data to a logistic function with a known asymptote

Thank you so much! I have another doubt related to this kind of analysis. 

 

When I try to compare parameter estimates, I obtain this error: 

 

Kaik_3-1715685535285.png

And when I try to make a custom inverse prediction, the std error in two variables is massive (the others are so good): 

 

Kaik_4-1715685599842.pngKaik_5-1715685620881.png

Is it possible that these two treatments cannot be modelled? Is there a possible solution? They are the two curves marked with an arrow (yellow and purple).

Kaik_6-1715685759678.png

 

Thak you for the help to all users!

 

peng_liu
Staff

Re: Fit data to a logistic function with a known asymptote

There is not enough information here so that I can tell what is going on. From the fitted curve, I suspect the Growth Rate estimates of those two are relatively large. From the inverse prediction, seems the models have large uncertainties. I cannot tell where the uncertainties are from based on what I see here.

Kaik
Level I

Re: Fit data to a logistic function with a known asymptote

Thank you for you help Peng. 

 

If you want, I can pass to you an anonymous data set to "play" with it, to discover what is happening here :).

 

 

 

Re: Fit data to a logistic function with a known asymptote

Should you be concerned at the lack of parallelism among these curves?

Kaik
Level I

Re: Fit data to a logistic function with a known asymptote

Hello Mark, 

 

Not so much, because they are different treatments, and each one reacts different. If you want, I can send you an anonymous dataset to investigate it :). 

 

Thank you so mucho for your help!