=== Test: test_C_measurement_plus_oprobit ===
Timestamp: 2025-11-30 22:15:44.697603

--- Gradient Check ---
Pass: TRUE
Max error: 4.97e-05

param_idx param_value fixed analytical finite_diff abs_error rel_error pass
1 1 TRUE -93.2919422600957 -93.2920379638672 9.57037714641729e-05 1.02585143976852e-06 TRUE
2 2 FALSE 11.6090301918271 11.6090621948242 3.20029971128122e-05 2.75672544222223e-06 TRUE
3 0.5 FALSE 97.9236458802626 97.923828125 0.00018224473740247 1.86108673335191e-06 TRUE
4 1.5 FALSE -47.0994975319929 -47.0994466145833 5.09174095739695e-05 1.08106173710763e-06 TRUE
5 1.2 FALSE -1.59484568154477 -1.59492492675781 7.92452130384813e-05 4.96858577535509e-05 TRUE
6 0.6 FALSE 138.723805772351 138.723770141602 3.56307497781927e-05 2.56846751943252e-07 TRUE
7 1 FALSE -50.1021378935309 -50.1020812988281 5.65947027553193e-05 1.12958785919025e-06 TRUE
8 0.8 FALSE -63.8303540200706 -63.8303375244141 1.64956565171792e-05 2.58429724124048e-07 TRUE
9 0.4 FALSE 268.654012364698 268.654022216797 9.85209896953165e-06 3.66720694826644e-08 TRUE
10 0.6 FALSE -2.7319543078555 -2.73199462890625 4.03210507484708e-05 1.47588323644008e-05 TRUE
11 0.8 FALSE -40.2363009119961 -40.2362670898438 3.38221523037419e-05 8.40588721320003e-07 TRUE
12 -0.5 FALSE -139.143496532751 -139.1435546875 5.81547486433465e-05 4.179478436781e-07 TRUE
13 1 FALSE -93.8311603614681 -93.8311920166016 3.16551334833548e-05 3.37362584904112e-07 TRUE

--- Hessian Check ---
Pass: FALSE
Max error: 1.83e+00

Summary of relative errors:
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
 0.0000  0.7870  1.0096  0.9285  1.1134  1.8252 

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

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.989184852403563 0.00268216238544268 0.989184852282988 0.00268216238403771 -4.03224937279535 -4.03224941986192
T1_int 2 2.01933078655461 2.05339374964736 0 2.05339374959168 0 Inf Inf
T1_sigma 0.5 1.10566470672402 0.472178522775663 0 0.472178522814113 0 -Inf -Inf
T2_int 1.5 1.4823198875274 1.52497592744704 0 1.52497592740004 0 Inf Inf
T2_lambda 1.2 0.5 1.25227038613416 0 1.25227038605583 0 Inf Inf
T2_sigma 0.6 1.38885382556158 0.601189312563919 0 0.601189312755909 0 Inf Inf
T3_int 1 0.994788333041028 1.02244653647199 0 1.02244653642671 0 Inf Inf
T3_lambda 0.8 0.5 0.811972914839803 0 0.811972914851437 0 Inf Inf
T3_sigma 0.4 0.913047897734319 0.417855419686515 0.00851748065646179 0.417855419688682 0.00851748066239387 2.09632641466213 2.09632641345663
y_beta1 0.6 0.430368329721495 0.597174005171799 0.0391711141625622 0.597174005181117 0.0391711141496884 -0.072144867171082 -0.0721448669568938
y_loading 0.8 0.5 0.721872766245389 0 0.721872766276182 0 -Inf -Inf
thresh1 -0.5 -0.786495898716848 -0.902390374517442 0 -0.902390374486746 0 -Inf -Inf
thresh_incr1 1 0.828172618035052 0.92303038538104 0 0.923030385391046 0 -Inf -Inf

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

--- Overall Result ---
Test passed: FALSE
