# Number of parameters in Akaike's information criterion

Akaike's information criterion is a measure of the goodness of fit of an estimated statistical model that accounts for both the fit quality and model complexity. One way to calculate AIC is as follows:

$\mathit{AIC}=2k + n[\ln(\mathit{RSS})]\,$

, where $k$ is the number of parameters in the model and $\mathit{RSS}$ is the residual sum of squares.

Assume two models:

$f_1(x) = ax$

and

$f_2(x) = \frac{ax}{b + cx} + d \sin(x)$

. Is the number of parameters, $k$, in both the models equal 1?

EDIT In the equations above only $x$ is a variable, while $a$, $b$, $c$ ... are constant parameters

-
a,b,c,d...I count four in the second one. – Steve Huntsman Jun 12 '10 at 0:07
Though I guess only three matter... – Steve Huntsman Jun 12 '10 at 6:30
a, b, c, d are constants x is the only variable in the equations – bgbg Jun 12 '10 at 18:16

The nonlinearity in $x$ in the $\sin x$ term is not a concern because $f_2(x)$ is linear in $\sin x$ and the parameter is multiplied by that. But I'm wondering whether fitting by minimizing the residual sum of square makes sense when you have nonlinearity in $x$ in the other term.