=== Test: test_B_measurement_plus_probit ===
Timestamp: 2025-12-01 07:42:13.716152

--- 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.378952026367 9.72062643995741e-05 8.00849428807541e-07 TRUE
2 2 FALSE -29.5515537243072 -29.5515785217285 2.47974213216651e-05 8.39123409378357e-07 TRUE
3 0.5 FALSE 142.174148471172 142.174163818359 1.5347187286352e-05 1.07946386841138e-07 TRUE
4 1.5 FALSE -1.61220280758313 -1.61216227213542 4.05354477146513e-05 2.5143528300634e-05 TRUE
5 1.2 FALSE -83.5505264698015 -83.5506121317546 8.5661953107774e-05 1.02527020355865e-06 TRUE
6 0.6 FALSE 211.306449453018 211.306457519531 8.0665128621149e-06 3.81744739692553e-08 TRUE
7 1 FALSE 14.238857267372 14.2389144897461 5.7222374136856e-05 4.01873149656624e-06 TRUE
8 0.8 FALSE -89.6587670517736 -89.6587219238281 4.51279455120357e-05 5.03330234289703e-07 TRUE
9 0.4 FALSE 166.638899989865 166.638885498047 1.4491818433271e-05 8.69654066033754e-08 TRUE
10 0.5 FALSE -35.1424536976327 -35.1424179077148 3.5789917902207e-05 1.01842502687756e-06 TRUE
11 0.7 FALSE 8.08459768995569 8.08457183837891 2.58515767850298e-05 3.19764327682856e-06 TRUE
12 0.9 FALSE -0.187613426340352 -0.187545776367188 6.76499731646629e-05 0.000360711792475742 TRUE

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

Summary of relative errors:
     Min.   1st Qu.    Median      Mean   3rd Qu.      Max. 
0.0000000 0.0000000 0.0000001 0.0152073 0.0000003 1.1860899 

--- 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.828628404818915 0.0776225179673902 0.828620293498085 0.0776243082072414 -2.20775619844076 -2.20780977582905
T1_int 2 2.00068506543006 2.04644617543309 0.0535402510298817 2.04644506914471 0.053540006528233 0.867500143157124 0.867483441942087
T1_sigma 0.5 1.06870392027954 0.491274865253637 0.0254640631875902 0.491276404529241 0.0254639791565957 -0.342645032023599 -0.342585713611831
T2_int 1.5 1.51739222472919 1.5707720568293 0.0636287406544761 1.57077098555805 0.0636286218967853 1.11226555957814 1.11225079922135
T2_lambda 1.2 0.5 1.16648901417978 0.046168710637468 1.16649380245708 0.0461692873776808 -0.72583759341597 -0.725724815044944
T2_sigma 0.6 1.28130771654586 0.644889606307624 0.0288297340958055 0.644889424944606 0.0288297578601597 1.5570593248779 1.55705175056775
T3_int 1 1.01692510815933 1.05300073814812 0.0425330423269203 1.05300001819052 0.0425329622035427 1.24610738495365 1.2460928053139
T3_lambda 0.8 0.5 0.788346916911677 0.0305487325531656 0.788350241224343 0.0305491243153977 -0.381458807433096 -0.38134509701103
T3_sigma 0.4 0.85354121047643 0.410691075427047 0.0193629018342047 0.410690793143501 0.0193629056873764 0.552142210841631 0.552127522393041
y_int 0.5 0.282264679632654 0.403360702063529 0.0862727915425834 0.403369871038119 0.0862757459232028 -1.12015962632635 -1.12001499294941
y_beta1 0.7 0.520294087806175 0.74181454118598 0.0879611451495402 0.741833480894205 0.0879645119559541 0.475375134269709 0.475572250263285
y_loading 0.9 0.5 0.918371492677261 0.122025744284014 0.918431353487215 0.122035503975854 0.150554235788977 0.151032714961883

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

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