MA beat out CA in the following categories:<p>* Percentage of state GDP spent in R&amp;D.<p>* Percentage of &quot;tech&quot; companies vs total companies.  This counts software, hardware, defense, pharmaceutical, biotech, renewable energy, etc.<p>* GDP &#x2F; employed person.<p>* Percentage of STEM employees &#x2F; total employees.<p>CA beat MA in the following categories:<p>* Percentage of STEM degree holders &#x2F; total population.<p>* Patents &#x2F; US Total and Patents &#x2F; million people.<p>All categories were equally weighted.