Standard Error from Treatment Effect and p-Value
To avoid an infinitive return when p-value = 1, the p-value is automatically adjusted to 0.99999
Result
References
Altman D G, Bland J M. How to obtain the confidence interval from a P value BMJ 2011; 343 :d2090 doi:10.1136/bmj.d2090
Cochrane Handbook