StatTimeSerAnalysis.ARBurgFit Method

void ARBurgFit(TVec Data, TVec Phi, ref Double Sigma2, TVec StdErrs)

Burg AR estimation.

#NameDescription
1DataZero-mean time series. If this is not the case, subtract the mean from data.
2PhiReturns estimates for Phi coefficients. AR(p) order is determined by Phi length.
3Sigma2Returns Burg estimated variance for AR process.
4StdErrsReturns estimated phi coefficients standard errors.

Result: stored in self (calling object)

Remarks:

Performs Burg estimation for pure (AR) model.

Examples
using Dew.Math;
using Dew.Stats;
using Dew.Stats.Units;
namespace Dew.Examples
{
    private void Example()
    {
        Vector ts = new Vector(0);
        Vector phi = new Vector(0);
        Vector stdErr = new Vector(0);
        double s2;
        ts.LoadFromFile("timeser.vec");
        phi.Length = 3; // for AR(3) process
        StatTimeSerAnalysis.ARBurgFit(ts,phi,out s2,stdErr);
    }
}
See Also: StatTimeSerAnalysis.ARYuleWalkerFit