I have a set of data (42 points):
{{1.1*10^6, 1/21}, {600., 3/7}, {80., 5/7}, {100., 29/42}, {600., 3/
7}, {600., 3/7}, {70., 31/42}, {500., 19/42}, {25., 37/42}, {25.,
37/42}, {300., 4/7}, {25., 37/42}, {15000., 5/42}, {150., 2/
3}, {1400., 13/42}, {10., 1}, {60., 16/21}, {200., 13/21}, {10000.,
4/21}, {10000., 4/21}, {1000., 5/14}, {50., 17/21}, {1500., 2/
7}, {200., 13/21}, {300., 4/7}, {5000., 3/14}, {10., 1}, {80000., 1/
14}, {20., 13/14}, {1575., 11/42}, {400., 1/2}, {1000., 5/
14}, {9.1671*10^6, 1/42}, {60000., 2/21}, {20., 13/14}, {50., 17/
21}, {400., 1/2}, {150., 2/3}, {10., 1}, {10000., 4/21}, {350., 11/
21}, {2200., 5/21}}
that's look like (Log-Log plot):
where x-coordinate represent area (of forest fire, in m^2), and y-coordinate represent number of fires that are equal or greater than value on x-coordinate, divided by total numbers of fire (cumulative distribution).
"First part" of data fits very good with so-called "stretched exponential":
(y=exp -(x/A)^beta),
where A and beta are constants that I must find.
"Second part" of data fits better to Power law
(y=C*x^(-alpha)),
where C and alpha are also constants that I must find.
My question is: how to make Mathematica to find best fit for this data and for BOTH function at the same time? I want to get X*-value that is "border" between this two function, all constants that are present in functions and curve that is smooth but consist of two part: left part ("before" X*) should be a part of stretched exponential (curve in this graph) and right part ("after" X*) should be plot of Power law (straight line in LogLogPlot).
How to do all of that?
Thanks for any help!
Piecewise
. $\endgroup$