@@ -10,17 +10,18 @@ const SEM = StructuralEquationModels
1010include (joinpath (chop (dirname (pathof (SEM)), tail = 3 ), " test/examples/helper.jl" ))
1111
1212dat = example_data (" holzinger_swineford" )
13- dat_missing = example_data (" holzinger_swineford_missing" )
14- solution_lav = example_data (" holzinger_swineford_solution" )
13+ dat. school = Symbol .(replace .(dat. school, " -" => " _" ))
14+
15+ dat_miss = example_data (" holzinger_swineford_missing" )
16+ dat_miss. school = Symbol .(replace .(dat_miss. school, " -" => " _" ))
1517
16- dat_g1 = dat[dat. school .== " Pasteur" , :]
17- dat_g2 = dat[dat. school .== " Grant-White" , :]
18+ solution_lav = example_data (" holzinger_swineford_solution" )
1819
19- dat_miss_g1 = dat_missing[dat_missing . school .== " Pasteur" , :]
20- dat_miss_g2 = dat_missing[dat_missing . school .== " Grant-White " , :]
20+ dat_g1 = dat[dat . school .== : Pasteur , :]
21+ dat_g2 = dat[dat . school .== :Grant_White , :]
2122
22- dat . school = ifelse .(dat . school .== " Pasteur " , :Pasteur , :Grant_White )
23- dat_missing . school = ifelse .(dat_missing . school .== " Pasteur " , :Pasteur , :Grant_White )
23+ dat_miss_g1 = dat_miss[dat_miss . school .== :Pasteur , :]
24+ dat_miss_g2 = dat_miss[dat_miss . school .== :Grant_White , :]
2425
2526# ###########################################################################################
2627# ## specification - RAMMatrices
0 commit comments