<p><span>We investigate 16 solar energetic electron (SEE) events measured by WIND/3DP with a double power-law spectrum and the associated western hard X-ray (HXR) flares measured by RHESSI with good count statistics, from 2002 February to 2016 December. In all 16 cases, the presence of an SEE power-law spectrum extending down to </span><span>6</span><span>5 keV at 1 AU implies that the SEE source would be high in the corona, at a heliocentric distance of </span><span>></span><span>1.3 </span><span>solar radii</span><span>, while the footpoint or footpoint-like emissions shown in HXR images suggest that the observed HXRs are likely produced mainly by thick target bremsstrahlung processes very low in the corona. </span><span>We find that in 8 cases (the other 8 cases), the power-law spectral index of HXR-producing electrons, estimated under the relativistic thick-target bremsstrahlung model, is significantly larger than (similar to) the observed high-energy spectral index of SEEs, with a positive correlation. In addition, the estimated number of SEEs is only </span><span>&#8764;</span><span>10</span><span>-</span><span>4 </span><span>- </span><span>10</span><span>-</span><span>2 </span><span>of the estimated number of HXRproducing electrons at energies above 30 keV, but also with a positive correlation. </span><span>These results suggest that in these cases, SEEs are likely formed by upward-traveling electrons from an acceleration source high in the corona, while their downward-traveling counterparts may undergo a secondary acceleration before producing HXRs via thick-target bremsstrahlung processes. In addition, the associated </span><span>3</span><span>He</span><span>=</span><span>4</span><span>He ratio is positively correlated with </span><span>the observed high-energy spectral index of SEEs</span><span>, indicating a possible relation of the </span><span>3</span><span>He ion acceleration with high-energy SEEs</span></p>