Heteroscedasticity Test for Random Effects Model : <p>everyone</p>

<p>I'm running a random effects model using the <code>plm</code> package and now I need to test for the presence of heteroscedasticity, but I'm not sure how to process it in the mentioned package. </p>

<p>My model:</p>

<pre><code>random &lt;- plm(Y ~ X, data=panel_data, model= "random", effect = "twoways")
</code></pre>

<p>Thank you in advance!</p>
