title: Stata's equivalent codes on python
body: <p>I am trying to replicate an econ paper using python: The authors use following models (codes). Is there similar codes on <code>statsmodels</code> in python or how can I use similar models in python</p>
  <p>STATA codes:
  <strong>First model</strong></p>
  <p><code>wls0</code> <em>dependent_variable</em> <em>independent_variables</em>, <code>wvar</code>(some_variable) <code>type(abse)</code></p>
  <p><strong>Second Model:</strong></p>
  <p><code>reg</code> <em>dependent_variable</em> <em>independent_variables</em> [<code>pweight</code> = some_variable], <code>vce</code>(<code>cluster</code> some_variable)</p>
  <p>Thank you!</p>