small update

This commit is contained in:
Morten Hjorth-Jensen
2023-09-03 14:22:23 +02:00
parent 3cc1f701c0
commit 7f3ecb7bb7
103 changed files with 16669 additions and 1168 deletions
+41 -41
View File
@@ -268,6 +268,16 @@ const thebe_selector_output = ".output, .cell_output"
Week 35: From Ordinary Linear Regression to Ridge and Lasso Regression
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="exercisesweek36.html">
Exercises week 36
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week36.html">
Week 36: Statistical interpretation of Linear Regression and Resampling techniques
</a>
</li>
</ul>
</div>
@@ -943,37 +953,27 @@ uncorrelated.</p>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>3.0818000034712947
[[1.82949718e-02 3.31658671e-01 3.68886089e-01 6.49666527e-01
1.49052317e-01 5.97305528e-01 4.57810898e-01 2.51578522e-01
2.89396164e-01 5.90342093e-01]
[3.31658671e-01 6.01244295e+00 6.68731669e+00 1.17774184e+01
2.70208087e+00 1.08281969e+01 8.29938171e+00 4.56071752e+00
5.24629107e+00 1.07019610e+01]
[3.68886089e-01 6.68731669e+00 7.43794243e+00 1.30993886e+01
3.00537912e+00 1.20436207e+01 9.23095558e+00 5.07264063e+00
5.83516719e+00 1.19032152e+01]
[6.49666527e-01 1.17774184e+01 1.30993886e+01 2.30700873e+01
5.29294618e+00 2.12107137e+01 1.62571673e+01 8.93371943e+00
1.02766489e+01 2.09634375e+01]
[1.49052317e-01 2.70208087e+00 3.00537912e+00 5.29294618e+00
1.21435514e+00 4.86635201e+00 3.72986500e+00 2.04965397e+00
2.35776087e+00 4.80961969e+00]
[5.97305528e-01 1.08281969e+01 1.20436207e+01 2.12107137e+01
4.86635201e+00 1.95011994e+01 1.49468927e+01 8.21369083e+00
9.44838453e+00 1.92738529e+01]
[4.57810898e-01 8.29938171e+00 9.23095558e+00 1.62571673e+01
3.72986500e+00 1.49468927e+01 1.14561980e+01 6.29546690e+00
7.24181044e+00 1.47726407e+01]
[2.51578522e-01 4.56071752e+00 5.07264063e+00 8.93371943e+00
2.04965397e+00 8.21369083e+00 6.29546690e+00 3.45951629e+00
3.97955570e+00 8.11793498e+00]
[2.89396164e-01 5.24629107e+00 5.83516719e+00 1.02766489e+01
2.35776087e+00 9.44838453e+00 7.24181044e+00 3.97955570e+00
4.57776818e+00 9.33823452e+00]
[5.90342093e-01 1.07019610e+01 1.19032152e+01 2.09634375e+01
4.80961969e+00 1.92738529e+01 1.47726407e+01 8.11793498e+00
9.33823452e+00 1.90491568e+01]]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>1.9474044318317307
[[16.27404277 4.07430684 4.90189742 9.80462258 9.27412395 4.40264255
5.15060311 17.7265799 -0.62769765 9.00658717]
[ 4.07430684 1.02002781 1.22722021 2.45464765 2.32183405 1.10222868
1.28948521 4.43795846 -0.15714797 2.25485457]
[ 4.90189742 1.22722021 1.47649841 2.95324615 2.79345488 1.32611807
1.55141095 5.33941551 -0.18906854 2.71287025]
[ 9.80462258 2.45464765 2.95324615 5.90699099 5.58738148 2.65246006
3.10308387 10.67973263 -0.37816901 5.42619859]
[ 9.27412395 2.32183405 2.79345488 5.58738148 5.28506507 2.50894343
2.93518534 10.10188442 -0.35770742 5.13260331]
[ 4.40264255 1.10222868 1.32611807 2.65246006 2.50894343 1.19105386
1.39340081 4.79559972 -0.16981204 2.43656628]
[ 5.15060311 1.28948521 1.55141095 3.10308387 2.93518534 1.39340081
1.63012429 5.61031939 -0.19866124 2.85051211]
[17.7265799 4.43795846 5.33941551 10.67973263 10.10188442 4.79559972
5.61031939 19.308763 -0.68372271 9.8104687 ]
[-0.62769765 -0.15714797 -0.18906854 -0.37816901 -0.35770742 -0.16981204
-0.19866124 -0.68372271 0.0242106 -0.3473884 ]
[ 9.00658717 2.25485457 2.71287025 5.42619859 5.13260331 2.43656628
2.85051211 9.8104687 -0.3473884 4.98453971]]
</pre></div>
</div>
</div>
@@ -1241,15 +1241,15 @@ more practically oriented methods like the blocking technique.</p>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-0.054244842835462305
4.000854409696581
0.13083543199018746
0.8437169762110144 8.948675162607389 10.317825933186352
2.601583341274718 2.1245596497124075 6.443538568902246
[[ 0.84371698 2.60158334 2.12455965]
[ 2.60158334 8.94867516 6.44353857]
[ 2.12455965 6.44353857 10.31782593]]
[16.80422999 0.07128434 3.23470374]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.08549632935144091
4.438111004052204
0.15485374225770068
0.8225325933960339 7.887392472315955 7.062734874360835
2.364244035362507 1.814860456269878 5.4421034379901165
[[0.82253259 2.36424404 1.81486046]
[2.36424404 7.88739247 5.44210344]
[1.81486046 5.44210344 7.06273487]]
[13.62123034 0.09662862 2.05480098]
</pre></div>
</div>
</div>
@@ -1579,7 +1579,7 @@ assumption for approximating <span class="math notranslate nohighlight">\(\sigma
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-0.048547423739546604 0.9959293935368551
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.029574060388349064 0.9577775794806141
</pre></div>
</div>
<img alt="_images/statistics_188_1.png" src="_images/statistics_188_1.png" />