def test_01_varimax_ml_3_factors():

    test_name = 'test01'
    factors = 3
    method = 'ml'
    rotation = 'varimax'

    for check in check_scenario(test_name, factors, method, rotation):
        assert check > THRESHOLD
def test_01_none_minres_3_factors():

    test_name = 'test01'
    factors = 3
    method = 'uls'
    rotation = 'none'

    for check in check_scenario(test_name, factors, method, rotation):
        assert check > THRESHOLD
def test_08_none_ml_2_factors():

    test_name = 'test08'
    factors = 2
    method = 'ml'
    rotation = 'none'

    for check in check_scenario(test_name, factors, method, rotation):
        assert check > THRESHOLD
def test_07_varimax_minres_3_factors():

    test_name = 'test07'
    factors = 3
    method = 'uls'
    rotation = 'varimax'

    for check in check_scenario(test_name, factors, method, rotation):
        assert check > THRESHOLD
def test_01_varimax_minres_2_factors():

    test_name = 'test01'
    factors = 2
    method = 'uls'
    rotation = 'varimax'

    for check in check_scenario(test_name,
                                factors,
                                method,
                                rotation,
                                check_scores=True):
        assert check > THRESHOLD
def test_01_none_minres_3_factors_use_corr():

    test_name = 'test01'
    factors = 3
    method = 'uls'
    rotation = 'none'

    for check in check_scenario(test_name,
                                factors,
                                method,
                                rotation,
                                use_corr_matrix=True):
        assert check > THRESHOLD
def test_10_promax_minres_3_factors():

    test_name = 'test10'
    factors = 3
    method = 'uls'
    rotation = 'promax'

    for check in check_scenario(test_name,
                                factors,
                                method,
                                rotation,
                                ignore_value=True,
                                ignore_communalities=True):
        assert check > THRESHOLD
def test_10_none_ml_3_factors():

    test_name = 'test10'
    factors = 3
    method = 'ml'
    rotation = 'none'

    for check in check_scenario(test_name,
                                factors,
                                method,
                                rotation,
                                ignore_value=True,
                                ignore_communalities=True):
        assert check > THRESHOLD
Example #9
0
def test_02_none_principal():

    test_name = 'test02'
    factors = 3
    method = 'principal'
    rotation = 'none'

    for check in check_scenario(test_name,
                                factors,
                                method,
                                rotation,
                                ignore_value=True,
                                ignore_communalities=True):
        assert check > THRESHOLD
def test_01_promax_ml_3_factors_use_corr():

    test_name = 'test01'
    factors = 3
    method = 'ml'
    rotation = 'promax'

    for check in check_scenario(test_name,
                                factors,
                                method,
                                rotation,
                                use_corr_matrix=True,
                                ignore_value=True,
                                ignore_communalities=True):
        assert check > THRESHOLD
def test_01_promax_minres_2_factors():

    test_name = 'test01'
    factors = 2
    method = 'uls'
    rotation = 'promax'

    for check in check_scenario(test_name,
                                factors,
                                method,
                                rotation,
                                ignore_value=True,
                                ignore_communalities=True,
                                check_structure=True,
                                check_scores=True):
        assert check > THRESHOLD
Example #12
0
def test_15_none_principal():

    test_name = 'test15'
    factors = 20
    method = 'principal'
    rotation = 'none'
    svd_method = 'lapack'

    for check in check_scenario(test_name,
                                factors,
                                method,
                                rotation,
                                svd_method=svd_method,
                                ignore_value=True,
                                ignore_communalities=True):
        assert check > THRESHOLD