Relating Traits to Electrophysiology using Factor Models