Post hoc analyses of participants with greater insomnia and pain severity at baseline ( n = 98 ) showed significant ( P = 0.01 ) 18-mo reductions in pain comparing CBT-PI versus CBT-P ( adjusted mean difference [ AMD ] = -1.29 [ 95 % confidence interval ( CI ) : -2.24 , -0.33 ] ) .