error while using variance_inflation_factor in python
i want to VIF analysis on a dataset df. Here, X is the subsetset of df with only the independant variables. this is my code:
i want to VIF analysis on a dataset df. Here, X is the subsetset of df with only the independant variables. this is my code: