ValueError: Dataset Duncan was not found
ValueError: Dataset Duncan was not found I am running this tutorial with statsmodel https://www.statsmodels.org/stable/examples/notebooks/generated/regression_plots.html However, in this line, prestige = sm.datasets.get_rdataset("Duncan", "car", cache=True).data i got the error: ValueError: Dataset Duncan was not found. Any idea how to fix that? Thanks. 1 Answer 1 change your code to prestige = sm.datasets.get_rdataset("Duncan", "carData", cache=True).data prestige = sm.datasets.get_rdataset("Duncan", "carData", cache=True).data Package name has been changed from "car" to "carData" in the Rdataset. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the websi...