#include <stdio.h>#include <stdlib.h>#include <math.h>#include "include/aic.h"Functions | |
| double | aicSS (double ss, int n, int k) |
| int | aicWeights (double *aic, double *w, int n) |
| double | aicWeightedAvg (double *w, double *p, int n) |
| double | aicModel (double *w, int n) |
|
||||||||||||
|
Calculates a value describing the relative goodness of models, based on an array of model weights.
|
|
||||||||||||||||
|
Computation of AIC in the special case of sum-of-squares optimization from the SS, nr of fitted points and nr of fitted parameters. If variance is different between the data points, weighted SS must be given.
|
|
||||||||||||||||
|
Computation of the Akaike weighted model parameter average. Requires arrays of AIC weight values, and corresponding parameter values.
|
|
||||||||||||||||
|
Computation of the Akaike weights for model averaging. Requires an array of AIC values, and an output array for weights.
|
1.4.1