[GENERAL INFORMATION]
Function Name=TwoSiteComp
Brief Description=Two site competition
Function Source=fgroup.Competition2
Function Type=Built-in
Function Form=Expression
Number Of Parameters=5
Number Of Independent Variables=1
Number Of Dependent Variables=1


[FITTING PARAMETERS]
Naming Method=User-Defined
Names=A1, A2, logx0_1, logx0_2, fraction
Meanings=top asymptote,bottom asymptote, first center, second center, fraction
Lower Bounds=--(I,Off),--(I,Off),0(X,Off),0(X,Off),0(X,Off)
Upper Bounds=--(I,Off),--(I,Off),--(I,Off),--(I,Off),1(X,Off)
Number Of Significant Digits=


[FORMULA]

y = A2 + (A1-A2) * (fraction/(1 + 10^(x-logx0_1) + (1 - fraction)/(1 + 10^(x-logx0_2))


[CONSTRAINTS]


[Parameters Initialization]
sort(x_y_curve);
smooth(x_y_curve);
A1 = max( y_data );
A2 = min( y_data );
logx0_1 = 0.9 * xaty50( x_y_curve );
logx0_2 = 1.1 * xaty50( x_y_curve );
fraction = 0.5;


[CONSTANTS]


[INITIALIZATIONS]



[AFTER FITTING]



[INDEPENDENT VARIABLES]
x=


[DEPENDENT VARIABLES]
y=


[CONTROLS]
General Linear Constraints=Off
Initialization Scripts=Off
Scripts After Fitting=Off
Number Of Duplicates=N/A
Duplicate Offset=N/A
Duplicate Unit=N/A


