=== Test: test_C_measurement_plus_oprobit ===
Timestamp: 2025-11-30 17:57:32.001306

--- 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: FALSE
True init converged: FALSE
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.98918495947745 0.00268216160247578 0.989185409814019 0.00268215861193852 -4.0322106291311 -4.03204722414416
T1_int 2 2.01933078655461 2.05339379933838 0 2.05339411170139 0 Inf Inf
T1_sigma 0.5 1.10566470672402 0.472178484138158 0 0.472178308756338 0 -Inf -Inf
T2_int 1.5 1.4823198875274 1.52497601485138 0 1.52497655993687 0 Inf Inf
T2_lambda 1.2 0.5 1.25227032336385 0 1.25227005819419 0 Inf Inf
T2_sigma 0.6 1.38885382556158 0.60118931925242 0 0.601189323859881 0 Inf Inf
T3_int 1 0.994788333041028 1.02244656583648 0 1.02244677876872 0 Inf Inf
T3_lambda 0.8 0.5 0.811972875038589 0 0.811972699304027 0 Inf Inf
T3_sigma 0.4 0.913047897734319 0.417855420886947 0.00851747781491951 0.41785545444294 0.00851746248629436 2.09632725496166 2.09633496732999
y_beta1 0.6 0.430368329721495 0.597173624638193 0.0391711160549794 0.597171520551035 0.0391711312550927 -0.0721545783336928 -0.0722082655858242
y_loading 0.8 0.5 0.721872221863925 0 0.721869342155721 0 -Inf -Inf
thresh1 -0.5 -0.786495898716848 -0.902389619266927 0 -0.902385616320196 0 -Inf -Inf
thresh_incr1 1 0.828172618035052 0.923029614932501 0 0.923025508415119 0 -Inf -Inf

Likelihood comparison:
source loglik convergence
True parameters -2162.99777049101 NA
Est (default init) -2128.34538654326 1
Est (true init) -2128.34538654656 1

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