R scripts for simualtions conducted for the article Inference in the presence of heteroskedasticity in linear models.