[General Information]

Function Name=Pareto2	 	; name show up in the select function dialog
Brief Description=Pareto function with two parameters.
Function Type=Built-in		; source type, built-in, user-defined, external dll
Function Form=Expression	; function form;
Function Source=fgroup.Pareto2
Number Of Parameters=2
Number Of Independent Variables=1
Number Of Dependent Variables=1


[Fitting Parameters]                        

Naming Method=user-defined
Names=a,b
Meanings=Shape,Scale
Lower bounds=--
Upper bounds=--
Meanings=cofficient

[Independent Variables]
x = 

[Dependent Variables]
y = 

[Constants]

[Formula]

y = 1 - (b/x)^a

[Constraints]

[Parameters Initialization]
sort( x_y_curve );
b = Curve_xfromY(&x_y_curve,0);
double temp = Curve_yfromX(&x_y_curve,b/2);
a = 1.4426*ln(1-2*temp);

[Initializations]

[After fitting]

[Controls]
General Linear Constraints=Off
Initialization scripts=Off
Scripts After fitting=Off

