Skip to content

Commit

Permalink
licence changed to CC
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Haslwanter committed Dec 20, 2015
1 parent 37b99c8 commit 16926b1
Show file tree
Hide file tree
Showing 49 changed files with 73 additions and 69 deletions.
Expand Up @@ -2,7 +2,7 @@
Based on the demo-code in http://lifelines.readthedocs.org, by Cam Davidson-Pilon
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
@@ -1,6 +1,7 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_lifelinesDemo** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_lifelinesDemo**

```yaml
Name of QuantLet: ISP_lifelinesDemo
Expand Down
Expand Up @@ -4,7 +4,7 @@
Note that this program requires a web-connection to load the dataset!
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import seaborn as sns
Expand Down
5 changes: 3 additions & 2 deletions ISP/Code_Quantlets/11_LinearModels/anscombe/README.md
@@ -1,6 +1,7 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_anscombe** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_anscombe**


```yaml
Expand Down
Expand Up @@ -3,7 +3,7 @@
- Correlation (Pearson-rho, Spearman-rho, and Kendall-tau)
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
5 changes: 3 additions & 2 deletions ISP/Code_Quantlets/11_LinearModels/bivariate/README.md
@@ -1,6 +1,7 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_bivariate** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_bivariate**


```yaml
Expand Down
Expand Up @@ -3,7 +3,7 @@
https://github.com/cgevans/scikits-bootstrap
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import matplotlib.pyplot as plt
Expand Down
5 changes: 3 additions & 2 deletions ISP/Code_Quantlets/11_LinearModels/bootstrapDemo/README.md
@@ -1,6 +1,7 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_bootstrapDemo** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_bootstrapDemo**


```yaml
Expand Down
2 changes: 1 addition & 1 deletion ISP/Code_Quantlets/11_LinearModels/fitLine/ISP_fitLine.py
Expand Up @@ -46,7 +46,7 @@
D. Altman, "Practical Statistics for Medicine"
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
6 changes: 4 additions & 2 deletions ISP/Code_Quantlets/11_LinearModels/fitLine/README.md
@@ -1,6 +1,8 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_fitLine** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_fitLine**


```yaml
Name of QuantLet: ISP_fitLine
Expand Down
Expand Up @@ -4,7 +4,7 @@
- using the formula-based approach
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
@@ -1,6 +1,7 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_ModelImplementations** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_modelImplementations**


```yaml
Expand Down
Expand Up @@ -3,7 +3,7 @@
- "polynomial_regression" shows how to work with simple design matrices, like MATLAB's "regress" command.
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
5 changes: 3 additions & 2 deletions ISP/Code_Quantlets/11_LinearModels/simpleModels/README.md
@@ -1,6 +1,7 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_simpleModels** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_simpleModels**


```yaml
Expand Down
Expand Up @@ -6,7 +6,7 @@
six-dimensional datasets.
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
@@ -1,6 +1,8 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_multipleRegression** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_multipleRegression**


```yaml
Name of QuantLet: ISP_multipleRegression
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Expand Up @@ -7,7 +7,7 @@
Taken from http://www.brightstat.com/index.php?option=com_content&task=view&id=41&Itemid=1&limit=1&limitstart=2
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
@@ -1,6 +1,7 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_logisticRegression** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_logisticRegression**


```yaml
Expand Down
@@ -1,6 +1,7 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_ordinalLogisticRegression** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_ordinalLogisticRegression**


```yaml
Expand Down
Expand Up @@ -5,7 +5,7 @@
Input data are the recorded O-ring performances of the space shuttles before 1986.
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
4 changes: 2 additions & 2 deletions ISP/Code_Quantlets/14_Bayesian/bayesianStats/README.md
@@ -1,7 +1,7 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_bayesianStats** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)
![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_bayesianStats**

```yaml
Name of QuantLet: ISP_bayesianStats
Expand Down
2 changes: 1 addition & 1 deletion ISP/Code_Quantlets/Utilities/ISP_mystyle.py
Expand Up @@ -3,7 +3,7 @@
in the other modules.
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import matplotlib.pyplot as plt
Expand Down
5 changes: 2 additions & 3 deletions ISP/Code_Quantlets/Utilities/README.md
@@ -1,7 +1,6 @@
[<img src="../../../../pictures/quantletLogo_FH.png" alt="Intro to Statistics with Python">](https://github.com/thomas-haslwanter/statsintro_python)

![quantletLogo_FH](../../../../pictures/quantletLogo_FH.png)

## ![qlogo](http://quantnet.wiwi.hu-berlin.de/graphics/quantlogo.png) **ISP_mystyle**
## [<img src="../../../../pictures/qloqo.png" alt="Visit QuantNet">](http://quantlet.de/) **ISP_mystyle** [<img src="../../../../pictures/QN2.png" width="60" alt="Visit QuantNet 2.0">](http://quantlet.de/d3/ia)


```yaml
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F11_2_regressionLine.py
@@ -1,6 +1,6 @@
""" Figure with simple regression line """

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F11_2_sumOfSquares.py
@@ -1,6 +1,6 @@
'''Visualization of the Sum-of-Squares. '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F11_3_residuals.py
@@ -1,6 +1,6 @@
'''Demo-plot of residuals to a best-fit line '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F11_7_regModels.py
Expand Up @@ -5,7 +5,7 @@
http://connor-johnson.com/2014/02/18/linear-regression-with-python/
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F4_3_kdePrinciple.py
@@ -1,6 +1,6 @@
""" Plot explaining the principle of a Kernel-Density-Estimation (KDE). """

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F4_4_kdePlot.py
@@ -1,6 +1,6 @@
""" Plot showing the effekt of a Kernel-Density-Estimation (KDE). """

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
from scipy import stats
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F6_12_sds.py
@@ -1,6 +1,6 @@
''' Graphical display of data within 1,2,3 SD. '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F6_14_normalValueTest.py
@@ -1,6 +1,6 @@
''' Short demo of how to check for the significance of an individual value. '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F6_16_ttestStability.py
@@ -1,6 +1,6 @@
''' Stability of the T-distribution against outliers, compared to the normal distribution. '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F6_2_lognormal.py
@@ -1,6 +1,6 @@
''' Lognormal distribution functions. '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License


# Import standard packages
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F6_2_pdf.py
@@ -1,6 +1,6 @@
""" Plot demonstrating the integral as the area under a curve of a PDF. """

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F6_3_pdfCdf.py
@@ -1,6 +1,6 @@
''' Graphical display of PDF (probability density function) and CDF (cumulative density function) '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F6_5_sdUnderestimation.py
@@ -1,6 +1,6 @@
'''Sketch to indicate why the sample SD underestimates the population SD '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

import numpy as np
import matplotlib.pyplot as plt
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F6_6_sem.py
@@ -1,6 +1,6 @@
'''Scatterplot of normally distributed data, with Standard Deviation and Standard Error'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F6_7_skewness.py
@@ -1,6 +1,6 @@
''' Example for Skewness and Kurtosis '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F7_10_roc.py
Expand Up @@ -4,7 +4,7 @@
respectively, and a standard deviation of 2.
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F7_2_probplotChi2.py
@@ -1,6 +1,6 @@
''' Demonstration of the probplot of a non-normal distribution '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F7_4_exampleTtest.py
@@ -1,6 +1,6 @@
'''Figure for a an example of a T-test for a mean value '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F8_1_ttestExplanation.py
@@ -1,6 +1,6 @@
''' Figure explaining the T-Test '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F8_2_pairedTtest.py
@@ -1,7 +1,7 @@
''' Paired T-test
'''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F8_3_anova3way.py
@@ -1,6 +1,6 @@
""" Plotting a three-way ANOVA """

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import matplotlib.pyplot as plt
Expand Down
2 changes: 1 addition & 1 deletion ISP/Figures/F8_3_anovaOneway.py
@@ -1,6 +1,6 @@
''' Figure explaining the T-Test '''

# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the BSD 3-Clause License
# Copyright(c) 2015, Thomas Haslwanter. All rights reserved, under the CC BY-SA 4.0 International License

# Import standard packages
import numpy as np
Expand Down

0 comments on commit 16926b1

Please sign in to comment.