What is the equivalent Julia code for statsmodels.api.OLS

Thank you so much for your replies. I don’t understand why you’ve used the constant 3/2. Anyway, the result is still different:

Am I missing something here?