The Underlying Distribution of Optical to X-Ray Spectral Index for Quasars in the Presence of Detection Thresholds