statsmodels icon indicating copy to clipboard operation
statsmodels copied to clipboard

Bad links of user examples?

Open chemman26 opened this issue 3 years ago • 2 comments

Hello! It seems that on the page https://github.com/statsmodels/statsmodels/wiki/Examples, the User-contributed examples lead to "400 : Bad Request" in nbviewer (I tested all the GEE links in the end, and some in other sections too). It would be grateful to have these nice examples available again! Thanks!

chemman26 avatar Jun 12 '22 08:06 chemman26

These aren't really maintained. It looks like the underlying notebooks were removed. Not ised where these notebooks were stored though since it isn't easy to resolve.

bashtage avatar Jun 13 '22 07:06 bashtage

Or perhaps something happened with nb viewer, which seems more likely.

bashtage avatar Jun 13 '22 07:06 bashtage

I have contacted Professor Kerby Shedden who had given GEE in Python workshops at UMich in the past. He has shared that UMich have migrated form box to dropbox so the old links are broken. The notebooks are not actively maintained but they can be found here: www.dropbox.com/scl/fo/mylhfjbpl2zlc5z5m4prq/h?dl=0&rlkey=li52chs6rcl6lejspde6n0oqf

His more recent tutorials can be found here: github.com/kshedden/case_studies

racng avatar Jan 18 '23 22:01 racng

You might ask him if he would put them in github somewhere.

bashtage avatar Jan 19 '23 07:01 bashtage

Should we add them to statsmodels/examples/notebooks, or is it better for these to stay outside the main repo?

kshedden avatar Jan 19 '23 18:01 kshedden

Thanks Kerby.

If you allow us to add them to statsmodels (which would make them BSD3 licensed), then adding them to examples/notebooks would be best. The notebooks would be automatically tested and would be easier to maintain when there are changes.

If we cannot or don't want to add all of them to the included docs, then a repo in the statsmodels organization would be an alternative.

josef-pkt avatar Jan 19 '23 18:01 josef-pkt

Great, I will PR them soon.

kshedden avatar Jan 19 '23 18:01 kshedden

two issues

We might want to keep time consuming Monte Carlo simulations out of the doc examples because the doc build runs with the CI testing. We can also move them later if the time increase is too large.

Author name: I started to add author name to my notebooks. I think it's appropriate to credit the author in the notebooks that are not mainly collaborative creations as most earlier notebooks. Whether you want to add your author name is up to you.

josef-pkt avatar Jan 19 '23 18:01 josef-pkt