This example demonstrates the GetBCLowerBoundsEx and GetBCUpperBoundsEx methods.
Imports AmosEngineLib.AmosEngine.TMatrixID
Module MainModule
' GetBCLowerBoundsEx, GetBCUpperBoundsEx Methods Example
Sub Main()
Dim Sem As New AmosEngineLib.AmosEngine
Sem.Bootstrap(2000)
Sem.ConfidenceBC(90) '90% confidence intervals
Sem.NeedBCLowerBounds(FactorScoreWeights)
Sem.NeedBCUpperBounds(FactorScoreWeights)
Sem.BeginGroup(AmosEngine.AmosDir & "Examples\English\UserGuide.xls", "Grnt_fem")
Sem.AStructure("visperc = (1) spatial + (1) err_v")
Sem.AStructure("cubes = spatial + (1) err_c")
Sem.AStructure("lozenges = spatial + (1) err_l")
Sem.AStructure("paragraph = (1) verbal + (1) err_p")
Sem.AStructure("sentence = verbal + (1) err_s")
Sem.AStructure("wordmean = verbal + (1) err_w")
Dim am As New AmosEngineLib.AmosMatrix
Dim ad As New AmosDebug.AmosDebug
Sem.GetBCLowerBoundsEx(FactorScoreWeights, am)
ad.PrintX(am, "Confidence intervals on factor score weights -- lower bounds")
Sem.GetBCUpperBoundsEx(FactorScoreWeights, am)
ad.PrintX(am, "Confidence intervals on factor score weights -- upper bounds")
Sem.Dispose()
End Sub
End Module