Hi All
I am working with immunoassays and need to apply a weighted 5-parameter logistic regression model to standard curve fitting (where a particular "dosage" of a target analyte produces a "response"). However, I can't find enough information for me to understand if it can be done in STATA and how to do it.
The 5-PL model is the best option for curve fitting in immunoassays (to account for a potentially asymmetric sigmoid-shaped curve). The equation is:
y=d+ ( (a-d) / (1+(x/c)^b)^g ),
where a,b,c,d,g are the parameters,
y is the response,
x is the dosage on log scale
I tried to use the non-linear least-squares estimation command like this:
where od is the response variable, vegf_stc is the dosage variable, and n is the weight variable (number of replicates).
However, it generated an infinite iteration process (I broke the loop at the 1600th iteration).
Afterwards I tried to limit the iteration process using:
And it produced an output after 107 iterations, which was not what would be expected for the 5PL model (no relation to data: graph attached).
Could someone help?
Best regards,
I am working with immunoassays and need to apply a weighted 5-parameter logistic regression model to standard curve fitting (where a particular "dosage" of a target analyte produces a "response"). However, I can't find enough information for me to understand if it can be done in STATA and how to do it.
The 5-PL model is the best option for curve fitting in immunoassays (to account for a potentially asymmetric sigmoid-shaped curve). The equation is:
y=d+ ( (a-d) / (1+(x/c)^b)^g ),
where a,b,c,d,g are the parameters,
y is the response,
x is the dosage on log scale
I tried to use the non-linear least-squares estimation command like this:
Code:
nl (od={d=1}+ ({a=1}-{d=1})/((1+(vegf_stc/{c=1})^{b=1})^{g=1})) [aw=n]
However, it generated an infinite iteration process (I broke the loop at the 1600th iteration).
Afterwards I tried to limit the iteration process using:
Code:
nl (od={d=1}+ ({a=1}-{d=1})/((1+(vegf_stc/{c=1})^{b=1})^{g=1})) [aw=n], delta(0.02)
Could someone help?
Best regards,
Comment