Hello, I was hoping you may be able to advise on this

I am running analyses on a simple exposure outcome relationship using linear regression. The population was oversampled for one of the covariates (50% exposed compared to ~10% exposed in general population). Is it possible to use the iweight command to account for this? I was not able to find any examples of this online, so any advice would be greatly appreciated

Many thanks