The following program displays the probability that a chi square variable with one degree of freedom will exceed 3.841.
Imports System.Diagnostics
Imports AmosEngineLib
Module MainModule
' ChiSquareProbability Method Example
Sub Main()
Debug.WriteLine(AmosEngine.ChiSquareProbability(3.841, 1))
End Sub
End Module