Power law model fitting
Returning to the example involving power laws, we ask the question of finding the ‘‘best’’ model of the form
given experiments with several input vectors and associated outputs , . Here the variables of our problem are , and the vector . Taking logarithms, we obtain
which can be rearranged to the linear form
where , and and are the logarithms of and , respectively. We can represent the above linear equations compactly as
In practice, the power law model is only an approximate representation of reality. Finding the best fit can be formulated as the optimization problem
where , , with the -th column of given by , and .
See also: Power laws.