=== Test: test_B_measurement_plus_probit ===
Timestamp: 2025-12-04 15:32:58.461999

--- Gradient Check ---
Pass: TRUE
Max error: 3.61e-04

param_idx param_value fixed analytical finite_diff abs_error rel_error pass
1 1 TRUE -121.379049232632 -121.378936767578 0.000112465053447863 9.2656153071448e-07 TRUE
2 2 FALSE -29.5515537243072 -29.5515785217285 2.47974213074542e-05 8.39123408897474e-07 TRUE
3 0.5 FALSE 142.174148471172 142.174163818359 1.53471873147737e-05 1.07946387041046e-07 TRUE
4 1.5 FALSE -1.61220280758314 -1.61216735839844 3.54491847009974e-05 2.19885265114246e-05 TRUE
5 1.2 FALSE -83.5505264698014 -83.5506121317546 8.56619531219849e-05 1.02527020372874e-06 TRUE
6 0.6 FALSE 211.306449453018 211.30647277832 2.33253019246149e-05 1.10386121248095e-07 TRUE
7 1 FALSE 14.238857267372 14.2389144897461 5.72223741350797e-05 4.01873149644149e-06 TRUE
8 0.8 FALSE -89.6587670517736 -89.6587219238281 4.5127945483614e-05 5.03330233972704e-07 TRUE
9 0.4 FALSE 166.638899989865 166.638885498047 1.44918184616927e-05 8.69654067739341e-08 TRUE
10 0.5 FALSE -35.1424536976328 -35.1424179077148 3.57899179093124e-05 1.01842502707975e-06 TRUE
11 0.7 FALSE 8.08459768995569 8.08457183837891 2.58515767832534e-05 3.19764327660884e-06 TRUE
12 0.9 FALSE -0.187613426340346 -0.187545776367188 6.76499731580571e-05 0.00036071179244052 TRUE

--- Hessian Check ---
Pass: TRUE
Max error: 2.22e-05

Summary of relative errors:
     Min.   1st Qu.    Median      Mean   3rd Qu.      Max. 
3.800e-11 1.261e-08 7.806e-08 1.000e-06 2.922e-07 2.218e-05 

--- Estimation Comparison ---
Default init converged: TRUE
True init converged: TRUE
Default estimates reasonable: TRUE
True init estimates reasonable: TRUE

Parameter estimates:
parameter true_value default_init est_default se_default est_true_init se_true_init z_default z_true_init
f_var 1 1 0.82861716217914 0.0643465597508 0.828617162057253 0.0643465597331137 -2.66343435429319 -2.66343435691948
T1_int 2 2.00068506543006 2.04644428614612 0.0528153430626753 2.04644428610845 0.0528153430560103 0.87937109659602 0.879371095993689
T1_sigma 0.5 1.06870392027954 0.491276133543898 0.0255165631771541 0.491276133549504 0.0255165631770768 -0.34189033983672 -0.341890339618024
T2_int 1.5 1.51739222472919 1.57077006251867 0.0628682732971119 1.57077006247639 0.0628682732902542 1.12568802684015 1.12568802629035
T2_lambda 1.2 0.5 1.16649359307758 0.045560913890993 1.16649359310061 0.0455609138925416 -0.735419991850533 -0.735419991320097
T2_sigma 0.6 1.28130771654586 0.644889075593582 0.0286545327684412 0.644889075586082 0.0286545327687295 1.56656107277454 1.56656107249702
T3_int 1 1.01692510815933 1.05299939348817 0.042013745522406 1.05299939346011 0.0420137455177502 1.26147747193596 1.26147747140792
T3_lambda 0.8 0.5 0.788350080362606 0.0301353178714941 0.788350080378622 0.0301353178724772 -0.386586917286633 -0.386586916742565
T3_sigma 0.4 0.85354121047643 0.410690575965902 0.0192165384267297 0.410690575962162 0.0192165384267939 0.556321629239519 0.556321629043036
y_int 0.5 0.282264679632654 0.403362952331385 0.0821874418435726 0.403362952302084 0.0821874418404769 -1.17581281885551 -1.17581281925632
y_beta1 0.7 0.520294087806175 0.741821624306835 0.0824624814171459 0.741821624307387 0.0824624814171431 0.507159420722204 0.507159420728909
y_loading 0.9 0.5 0.91839624959089 0.10115940578969 0.91839624961715 0.101159405792804 0.181854069300643 0.181854069554629

Likelihood comparison:
source loglik convergence
True parameters -1952.1638495819 NA
Est (default init) -1939.20970387039 0
Est (true init) -1939.20970387039 0

--- Overall Result ---
Test passed: TRUE
