title: how to run a pooled OLS regression on Python?
body: <p>Here I have a formula: </p>
  
  <p>,, =  + ,, + ,− + − +  +  + ,,,</p>
  
  <p>I gathered all the data from the Bloomberg terminal, observations in total 1627 rows as syndicated loans with 7 columns as "loan spread at close, log loan spread, loan maturity (months), loan amount, loan secured, profitability, leverage, total assets". </p>
  
  <p>How to code in order to get a pooled OLS regression as the picture below?</p>
  
  <p><a href="https://i.stack.imgur.com/ok0rN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ok0rN.png" alt="enter image description here"></a></p>