NMath Stats User's Guide

TOC |  Previous |  Next |  Index

13.2 Significance of Parameters (.NET, C#, CSharp, Visual Basic, VB.NET)

Instances of class GoodnessOfFitParameter test statistical hypothesis about individual parameters in a least squares model-fit.

Creating Goodness of Fit Parameter Objects

You can get an array of test objects for all parameters in a GoodnessOfFit using the Parameters property:

GoodnessOfFitParameter[] params = gof.Parameters; 

Properties of Goodness of Fit Parameters

Class GoodnessOfFitParameter provides the following properties:

Hypothesis Tests

Class GoodnessOfFitParameter provides the following methods for testing statistical hypotheses regarding parameter values:

For example, this code tests whether a parameter in a model is significantly different than zero:

double tstat = param.TStatistic( 0.0 );
double pValue = param.TStatisticPValue( 0.0 );
double criticalValue = param.TStatisticCriticalValue( 0.05 );
Interval confidenceInterval = param.ConfidenceInterval( 0.05 );

TOC |  Previous |  Next |  Index