Skip to content

Commit 5615801

Browse files
committed
DOC: Switch to https where used
Switch links to https
1 parent 66fc298 commit 5615801

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+108
-106
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ notifications:
9494

9595
# Setup anaconda
9696
before_install:
97-
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
97+
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
9898
- chmod +x miniconda.sh
9999
- ./miniconda.sh -b -p /home/travis/miniconda
100100
- export PATH=/home/travis/miniconda/bin:$PATH

CHANGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Release Notes
22
=============
33

4-
The list of changes for each statsmodels release can be found [here](http://www.statsmodels.org/devel/release/index.html). Full details are available in the [commit logs](https://github.com/statsmodels/statsmodels).
4+
The list of changes for each statsmodels release can be found [here](https://www.statsmodels.org/devel/release/index.html). Full details are available in the [commit logs](https://github.com/statsmodels/statsmodels).

CONTRIBUTING.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Making Changes to the Code
2020
For a pull request to be accepted, you must meet the below requirements. This greatly helps in keeping the job of maintaining and releasing the software a shared effort.
2121

2222
- **One branch. One feature.** Branches are cheap and github makes it easy to merge and delete branches with a few clicks. Avoid the temptation to lump in a bunch of unrelated changes when working on a feature, if possible. This helps us keep track of what has changed when preparing a release.
23-
- Commit messages should be clear and concise. This means a subject line of less than 80 characters, and, if necessary, a blank line followed by a commit message body. We have an `informal commit format standard <http://www.statsmodels.org/devel/dev/maintainer_notes.html#commit-comments>`_ that we try to adhere to. You can see what this looks like in practice by ``git log --oneline -n 10``. If your commit references or closes a specific issue, you can close it by mentioning it in the `commit message <https://help.github.com/articles/closing-issues-via-commit-messages>`_. (*For maintainers*: These suggestions go for Merge commit comments too. These are partially the record for release notes.)
24-
- Code submissions must always include tests. See our `notes on testing <http://www.statsmodels.org/devel/dev/test_notes.html>`_.
23+
- Commit messages should be clear and concise. This means a subject line of less than 80 characters, and, if necessary, a blank line followed by a commit message body. We have an `informal commit format standard <https://www.statsmodels.org/devel/dev/maintainer_notes.html#commit-comments>`_ that we try to adhere to. You can see what this looks like in practice by ``git log --oneline -n 10``. If your commit references or closes a specific issue, you can close it by mentioning it in the `commit message <https://help.github.com/articles/closing-issues-via-commit-messages>`_. (*For maintainers*: These suggestions go for Merge commit comments too. These are partially the record for release notes.)
24+
- Code submissions must always include tests. See our `notes on testing <https://www.statsmodels.org/devel/dev/test_notes.html>`_.
2525
- Each function, class, method, and attribute needs to be documented using docstrings. We conform to the `numpy docstring standard <https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt#docstring-standard>`_.
2626
- If you are adding new functionality, you need to add it to the documentation by editing (or creating) the appropriate file in ``docs/source``.
2727
- Make sure your documentation changes parse correctly. Change into the top-level ``docs/`` directory and type::
@@ -41,7 +41,7 @@ So you want to submit a patch to `statsmodels` but aren't too familiar with gith
4141
2. `Create a new feature branch <http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging>`_. Each branch must be self-contained, with a single new feature or bugfix.
4242
3. Make sure the test suite passes. This includes testing on Python 3. The easiest way to do this is to either enable `Travis-CI <https://travis-ci.org/>`_ on your fork, or to make a pull request and check there.
4343
4. Document your changes by editing the appropriate file in ``docs/source/``. If it is a big, new feature add a note and an example to the latest ``docs/source/release/versionX.X.rst`` file. See older versions for examples. If it's a minor change, it will be included automatically in our relase notes.
44-
5. Add an example. If it is a big, new feature please submit an example notebook by following `these instructions <http://www.statsmodels.org/devel/dev/examples.html>`_.
44+
5. Add an example. If it is a big, new feature please submit an example notebook by following `these instructions <https://www.statsmodels.org/devel/dev/examples.html>`_.
4545
6. `Submit a pull request <https://help.github.com/articles/using-pull-requests>`_
4646

4747
Mailing List
@@ -52,7 +52,7 @@ Conversations about development take place on the `statsmodels mailing list <htt
5252
Learn More
5353
~~~~~~~~~~
5454

55-
The ``statsmodels`` documentation's `developer page <http://www.statsmodels.org/stable/dev/index.html>`_
55+
The ``statsmodels`` documentation's `developer page <https://www.statsmodels.org/stable/dev/index.html>`_
5656
offers much more detailed information about the process.
5757

5858
License

INSTALL.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ You will need a C compiler installed.
111111
Installing from Source on Windows
112112
---------------------------------
113113

114-
See http://www.statsmodels.org/devel/install.html#windows.
114+
See https://www.statsmodels.org/devel/install.html#windows.
115115

116116

117117
Documentation
@@ -120,4 +120,4 @@ Documentation
120120
You may find more information about the project and installation in our
121121
documentation
122122

123-
http://www.statsmodels.org/devel/install.html
123+
https://www.statsmodels.org/devel/install.html

README.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ Documentation
1313

1414
The documentation for the latest release is at
1515

16-
http://www.statsmodels.org/stable/
16+
https://www.statsmodels.org/stable/
1717

1818
The documentation for the development version is at
1919

20-
http://www.statsmodels.org/dev/
20+
https://www.statsmodels.org/dev/
2121

2222
Recent improvements are highlighted in the release notes
2323

24-
http://www.statsmodels.org/stable/release/version0.9.html
24+
https://www.statsmodels.org/stable/release/version0.9.html
2525

26-
Backups of documentation are available at http://statsmodels.github.io/stable/
27-
and http://statsmodels.github.io/dev/.
26+
Backups of documentation are available at https://statsmodels.github.io/stable/
27+
and https://statsmodels.github.io/dev/.
2828

2929

3030

@@ -125,7 +125,7 @@ https://github.com/statsmodels/statsmodels/tags
125125

126126
Binaries and source distributions are available from PyPi
127127

128-
http://pypi.python.org/pypi/statsmodels/
128+
https://pypi.org/project/statsmodels/
129129

130130
Binaries can be installed in Anaconda
131131

@@ -137,7 +137,7 @@ Installing from sources
137137

138138
See INSTALL.txt for requirements or see the documentation
139139

140-
http://statsmodels.github.io/dev/install.html
140+
https://statsmodels.github.io/dev/install.html
141141

142142
License
143143
=======

docs/source/about.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ development of statsmodels:
5757

5858
We would also like to thank our hosting providers, `github
5959
<https://github.com/>`_ for the public code repository, `github.io
60-
<http://www.statsmodels.org/stable/index.html>`_ for hosting our documentation and `python.org
60+
<https://www.statsmodels.org/stable/index.html>`_ for hosting our documentation and `python.org
6161
<https://www.python.org/>`_ for making our downloads available on PyPi.
6262

6363
We also thank our continuous integration providers,

docs/source/conf.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -301,12 +301,12 @@
301301

302302
# Example configuration for intersphinx: refer to the Python standard library.
303303
intersphinx_mapping = {
304-
'numpy' : ('https://docs.scipy.org/doc/numpy/', None),
305-
'python' : ('https://docs.python.org/3.2', None),
306-
'pydagogue' : ('http://matthew-brett.github.io/pydagogue/', None),
307-
'patsy' : ('http://patsy.readthedocs.io/en/latest/', None),
308-
'pandas' : ('http://pandas.pydata.org/pandas-docs/stable/', None),
309-
}
304+
'numpy': ('https://docs.scipy.org/doc/numpy/', None),
305+
'python': ('https://docs.python.org/3/', None),
306+
'pydagogue': ('https://matthew-brett.github.io/pydagogue/', None),
307+
'patsy': ('https://patsy.readthedocs.io/en/latest/', None),
308+
'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
309+
}
310310

311311
from os.path import dirname, abspath, join
312312
plot_basedir = join(dirname(dirname(os.path.abspath(__file__))), 'source')

docs/source/datasets/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Using Datasets from Stata
2525
Using Datasets from R
2626
---------------------
2727

28-
The `Rdatasets project <http://vincentarelbundock.github.io/Rdatasets/>`__ gives access to the datasets available in R's core datasets package and many other common R packages. All of these datasets are available to statsmodels by using the :func:`get_rdataset` function. The actual data is accessible by the ``data`` attribute. For example:
28+
The `Rdatasets project <https://vincentarelbundock.github.io/Rdatasets/>`__ gives access to the datasets available in R's core datasets package and many other common R packages. All of these datasets are available to statsmodels by using the :func:`get_rdataset` function. The actual data is accessible by the ``data`` attribute. For example:
2929

3030
.. ipython:: python
3131

docs/source/dev/examples.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Examples are best contributed as IPython notebooks. Save your notebook with all
2626
The Example Gallery
2727
~~~~~~~~~~~~~~~~~~~
2828

29-
We have a gallery of example notebooks available `here <http://www.statsmodels.org/devel/examples/index.html>`_. If you would like your example to show up in this gallery, add a link to the notebook in ``docs/source/examples/landing.json``. For the thumbnail, take a screenshot of what you think is the best "hook" for the notebook. The image will be displayed at 360 x 225 (W x H). It's best to save the image as a PNG with a resolution that is some multiple of 360 x 225 (720 x 450 is preferred).
29+
We have a gallery of example notebooks available `here <https://www.statsmodels.org/devel/examples/index.html>`_. If you would like your example to show up in this gallery, add a link to the notebook in ``docs/source/examples/landing.json``. For the thumbnail, take a screenshot of what you think is the best "hook" for the notebook. The image will be displayed at 360 x 225 (W x H). It's best to save the image as a PNG with a resolution that is some multiple of 360 x 225 (720 x 450 is preferred).
3030

3131

3232
Before submitting a PR

docs/source/dev/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Making Changes to the Code
2121
For a pull request to be accepted, you must meet the below requirements. This greatly helps the job of maintaining and releasing the software a shared effort.
2222

2323
- **One branch. One feature.** Branches are cheap and github makes it easy to merge and delete branches with a few clicks. Avoid the temptation to lump in a bunch of unrelated changes when working on a feature, if possible. This helps us keep track of what has changed when preparing a release.
24-
- Commit messages should be clear and concise. This means a subject line of less than 80 characters, and, if necessary, a blank line followed by a commit message body. We have an `informal commit format standard <http://www.statsmodels.org/devel/dev/maintainer_notes.html#commit-comments>`_ that we try to adhere to. You can see what this looks like in practice by ``git log --oneline -n 10``. If your commit references or closes a specific issue, you can close it by mentioning it in the `commit message <https://help.github.com/articles/closing-issues-via-commit-messages/>`_. (*For maintainers*: These suggestions go for Merge commit comments too. These are partially the record for release notes.)
24+
- Commit messages should be clear and concise. This means a subject line of less than 80 characters, and, if necessary, a blank line followed by a commit message body. We have an `informal commit format standard <https://www.statsmodels.org/devel/dev/maintainer_notes.html#commit-comments>`_ that we try to adhere to. You can see what this looks like in practice by ``git log --oneline -n 10``. If your commit references or closes a specific issue, you can close it by mentioning it in the `commit message <https://help.github.com/articles/closing-issues-via-commit-messages/>`_. (*For maintainers*: These suggestions go for Merge commit comments too. These are partially the record for release notes.)
2525
- Code submissions must always include tests. See our notes on :ref:`testing`.
2626
- Each function, class, method, and attribute needs to be documented using docstrings. We conform to the `numpy docstring standard <https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt#docstring-standard>`_.
2727
- If you are adding new functionality, you need to add it to the documentation by editing (or creating) the appropriate file in ``docs/source``.

docs/source/dev/maintainer_notes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,4 @@ Prefix commit messages in the master branch of the main shared repository with t
189189
.. vbench
190190
.. ------
191191
..
192-
.. See :ref:`vbenchdoc` notes for working with the `statsmodels vbench suite <http://www.statsmodels.org/vbench>`_. The github repository is available `here <https://github.com/statsmodels/vbench>`_.
192+
.. See :ref:`vbenchdoc` notes for working with the `statsmodels vbench suite <https://www.statsmodels.org/vbench>`_. The github repository is available `here <https://github.com/statsmodels/vbench>`_.

docs/source/faq.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ How does statsmodels handle missing data?
2222

2323
Missing data can be handled via the ``missing`` keyword argument. Every model takes this keyword. You can find more information in the docstring of :class:`statsmodels.base.Model <base.model.Model>`.
2424

25-
.. `Model class <http://www.statsmodels.org/devel/dev/generated/statsmodels.base.model.Model.html#statsmodels.base.model.Model>`_.
25+
.. `Model class <https://www.statsmodels.org/devel/dev/generated/statsmodels.base.model.Model.html#statsmodels.base.model.Model>`_.
2626
2727
.. _build-faq:
2828

docs/source/gettingstarted.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ Data
3434
----
3535

3636
We download the `Guerry dataset
37-
<http://vincentarelbundock.github.io/Rdatasets/doc/HistData/Guerry.html>`_, a
37+
<https://raw.githubusercontent.com/vincentarelbundock/Rdatasets/doc/HistData/Guerry.html>`_, a
3838
collection of historical data used in support of Andre-Michel Guerry's 1833
3939
*Essay on the Moral Statistics of France*. The data set is hosted online in
4040
comma-separated values format (CSV) by the `Rdatasets
41-
<http://vincentarelbundock.github.io/Rdatasets/>`_ repository.
41+
<https://github.com/vincentarelbundock/Rdatasets/>`_ repository.
4242
We could download the file locally and then load it using ``read_csv``, but
4343
``pandas`` takes care of all of this automatically for us:
4444

docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ of many different statistical models, as well as for conducting statistical test
88
data exploration. An extensive list of result statistics are available for each estimator.
99
The results are tested against existing statistical packages to ensure that they are correct. The
1010
package is released under the open source Modified BSD (3-clause) license.
11-
The online documentation is hosted at `statsmodels.org <http://www.statsmodels.org/>`__.
11+
The online documentation is hosted at `statsmodels.org <https://www.statsmodels.org/>`__.
1212

1313

1414
Minimal Examples

docs/source/release/version0.5.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Alternatively, each model in the usual ``statsmodels.api`` namespace has a ``fro
2626
import pandas as pd
2727
import statsmodels.formula.api as smf
2828
29-
url = 'http://vincentarelbundock.github.io/Rdatasets/csv/HistData/Guerry.csv'
29+
url = 'https://raw.githubusercontent.com/vincentarelbundock/Rdatasets/csv/HistData/Guerry.csv'
3030
data = pd.read_csv(url)
3131
3232
# Fit regression model (using the natural log of one of the regressors)
@@ -108,15 +108,15 @@ The power module (``statsmodel.stats.power``) currently implements power and sam
108108

109109
Other important new features
110110
----------------------------
111-
* **IPython notebook examples**: Many of our examples have been converted or added as IPython notebooks now. They are available `here <http://www.statsmodels.org/devel/examples/index.html#notebook-examples>`_.
111+
* **IPython notebook examples**: Many of our examples have been converted or added as IPython notebooks now. They are available `here <https://www.statsmodels.org/devel/examples/index.html#notebook-examples>`_.
112112

113113
* **Improved marginal effects for discrete choice models**: Expanded options for obtaining marginal effects after the estimation of nonlinear discrete choice models are available. See :py:meth:`get_margeff <statsmodels.discrete.discrete_model.DiscreteResuls.get_margeff>`.
114114

115115
* **OLS influence outlier measures**: After the estimation of a model with OLS, the common set of influence and outlier measures and a outlier test are now available attached as methods ``get_influnce`` and ``outlier_test`` to the Results instance. See :py:class:`OLSInfluence <statsmodels.stats.outliers_influence.OLSInfluence>` and :func:`outlier_test <statsmodels.stats.outliers_influence.outlier_test>`.
116116

117117
* **New datasets**: New :ref:`datasets <datasets>` are available for examples.
118118

119-
* **Access to R datasets**: We now have access to many of the same datasets available to R users through the `Rdatasets project <http://vincentarelbundock.github.io/Rdatasets/>`_. You can access these using the :func:`sm.datasets.get_rdataset <statsmodels.datasets.get_rdataset>` function. This function also includes caching of these datasets.
119+
* **Access to R datasets**: We now have access to many of the same datasets available to R users through the `Rdatasets project <https://vincentarelbundock.github.io/Rdatasets/>`_. You can access these using the :func:`sm.datasets.get_rdataset <statsmodels.datasets.get_rdataset>` function. This function also includes caching of these datasets.
120120

121121
* **Improved numerical differentiation tools**: Numerical differentiation routines have been greatly improved and expanded to cover all the routines discussed in::
122122

docs/source/release/version0.8.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ recent numpy and pandas releases.
1919

2020
Statsmodels is using now github to store the updated documentation which
2121
is available under
22-
http://www.statsmodels.org/stable for the last release, and
23-
http://www.statsmodels.org/devel/ for the development version.
22+
https://www.statsmodels.org/stable for the last release, and
23+
https://www.statsmodels.org/devel/ for the development version.
2424

2525
This is the last release that supports Python 2.6.
2626

docs/source/release/version0.9.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Release summary
1212

1313
Statsmodels is using github to store the updated documentation which
1414
is available under
15-
http://www.statsmodels.org/stable for the last release, and
16-
http://www.statsmodels.org/devel/ for the development version.
15+
https://www.statsmodels.org/stable for the last release, and
16+
https://www.statsmodels.org/devel/ for the development version.
1717

1818

1919
**Warning**

docs/themes/statsmodels/indexsidebar.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ <h3>Download</h3>
33
{% if 'dev' in version %}
44

55
<p>This documentation is for version <b>{{ version }}</b>, which is not
6-
released yet. Grab the source code from <a href="https://github.com/statsmodels/statsmodels/">Github</a> to install this version. You can go to the documentation for the last release <a href="http://www.statsmodels.org">here</a>.</p>
6+
released yet. Grab the source code from <a href="https://github.com/statsmodels/statsmodels/">Github</a> to install this version. You can go to the documentation for the last release <a href="https://www.statsmodels.org">here</a>.</p>
77

88
{% else %}
99

@@ -14,7 +14,7 @@ <h3>Download</h3>
1414
or conda:
1515

1616
<pre style="margin:0px 1px">conda install statsmodels</pre>
17-
Documentation for the current development version is <a href="http://www.statsmodels.org/devel/">here</a>.</p>
17+
Documentation for the current development version is <a href="https://www.statsmodels.org/devel/">here</a>.</p>
1818

1919
{% endif %}
2020

examples/notebooks/chi2_fitting.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"cell_type": "markdown",
9999
"metadata": {},
100100
"source": [
101-
"To fit a straight line use the weighted least squares class [WLS](http://www.statsmodels.org/devel/generated/statsmodels.regression.linear_model.WLS.html) ... the parameters are called:\n",
101+
"To fit a straight line use the weighted least squares class [WLS](https://www.statsmodels.org/devel/generated/statsmodels.regression.linear_model.WLS.html) ... the parameters are called:\n",
102102
"* `exog` = `sm.add_constant(x)`\n",
103103
"* `endog` = `y`\n",
104104
"* `weights` = `1 / sqrt(y_err)`\n",

0 commit comments

Comments
 (0)