1<!DOCTYPE html> 2 <html> 3 <head> 4 <!-- Google tag (gtag.js) -->
vendor: 64 bytes, lines 4-5
4 5<script async src="https://www.googletagmanager.com/gtag/js?id=
5G-8VG592TZ9S
vendor: 12 bytes, line 5
5"></script>
6<script> 7
vendor: 134 bytes, lines 7-11
7window.dataLayer = window.dataLayer || []; 8 function gtag(){dataLayer.push(arguments);} 9 gtag('js', new Date()); 10 11 gtag('config', '
11G-8VG592TZ9S
vendor: 4 bytes, line 11
11');
12</script>
12 13 14 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, minimum-scale=1.0, user-scalable=yes"/> 15 <title>Data Science Confidential</title> 16 <link rel="stylesheet" type="text/css" href="/css/syntax.css"> <!-- code listings--> 17 <link rel="stylesheet" href="/css/poole.css"> 18 <link rel="stylesheet" href="/css/lanyon.css"> 19 <link rel="stylesheet" href="/css/custom.css"> 20 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700%7CPT+Sans:400"> 21 <link rel="icon" href="/favicon.ico" /> 22
22<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
22 23
23<script type="text/x-mathjax-config"> 24 MathJax.Hub.Config({ 25 TeX: { 26 equationNumbers: { 27 autoNumber: "AMS" 28 } 29 }, 30 tex2jax: { 31 inlineMath: [ ['$','$'], ["\\(","\\)"] ], 32 processEscapes: true 33 } 34 }); 35</script>
vendor: 1 bytes, line 35
35
36<script 37 type="text/javascript" 38 charset="utf-8" 39 src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 40> 41</script>
vendor: 1 bytes, line 41
41
42<script 43 type="text/javascript" 44 charset="utf-8" 45 src="https://vincenttam.github.io/javascripts/MathJaxLocal.js" 46> 47</script>
47 48 49<!--</script>
vendor: 1 bytes, line 49
49
50<script type="text/x-mathjax-config"> 51 MathJax.Hub.Config({ 52 TeX: { 53 equationNumbers: { 54 autoNumber: "AMS" 55 } 56 }, 57 tex2jax: { 58 inlineMath: [ ['$','$'] ], 59 displayMath: [ ['$$','$$'] ], 60 processEscapes: true, 61 }, 62 CommonHTML: { linebreaks: { automatic: true } }, 63 "HTML-CSS": { linebreaks: { automatic: true } }, 64 SVG: { linebreaks: { automatic: true } } 65 }); 66</script>
vendor: 1 bytes, line 66
66
67<script type="text/javascript" 68 src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> 69</script>
69 70
71<script 72 type="text/javascript" 73 charset="utf-8" 74 src="https://vincenttam.github.io/javascripts/MathJaxLocal.js" 75> 76</script>
76 77--> 78 79 80 81 82 <meta prefix="og: http://ogp.me/ns#" property="og:title" content="Data Science Confidential" /> 83 84 <meta prefix="og: http://ogp.me/ns#" property="og:url" content="https://datascienceconfidential.github.io//about.html" /> 85 </head> 86 87 <body class="theme-base-0d sidebar-overlay"> 88 89 <!-- Sidebar should appear here! --> 90 <!-- Google search function -->
91<script language="Javascript" type="text/javascript"> 92 function search_google() { 93 var query = document.getElementById("google-search").value; 94 window.open("http://google.com/search?q=" + query + "%20site:" + "http://bruceeckel.github.io"); 95 } 96</script>
96 97<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular 98 styles, `#sidebar-checkbox` for behavior. --> 99<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox"> 100 101<!-- Toggleable sidebar --> 102<div class="sidebar" id="sidebar"> 103 <div class="sidebar-item"> 104 <p><a href="https://datascienceconfidential.github.io">Blog</a></p> 105 </div> 106 107 <nav class="sidebar-nav"> 108 <div class="sidebar-nav-item"> 109 Latest Posts 110 </div> 111 112 <a class="sidebar-nav-item" href="/economics/book-reviews/2026/09/05/ashbys-law.html">05 Sep 2026 » Ashby's Law of Requisite Variety</a> 113 114 <a class="sidebar-nav-item" href="/r/economics/book-reviews/2026/07/19/reading-radical-undertainty.html">19 Jul 2026 » Reading 'Radical Uncertainty'</a> 115 116 <a class="sidebar-nav-item" href="/r/predictive-models/2026/05/14/is-logistic-regression-regression.html">14 May 2026 » Is logistic regression regression?</a> 117 118 <a class="sidebar-nav-item" href="/mathematics/2026/05/08/subtraction-and-telephone-numbers-2.html">08 May 2026 » Subtraction and Telephone Numbers II</a> 119 120 <a class="sidebar-nav-item" href="/mathematics/2026/04/23/subtraction-and-telephone-numbers.html">23 Apr 2026 » Subtraction and Telephone Numbers</a> 121 122 <a class="sidebar-nav-item" href="/jekyll/2026/03/15/adding-citations.html">15 Mar 2026 » Adding a citation system</a> 123 124 <a class="sidebar-nav-item" href="/economics/ai/llm/r/2026/01/07/so-how-much-does-openai-owe-us.html">07 Jan 2026 » So how much does OpenAI owe us?</a> 125 126 <a class="sidebar-nav-item" href="/r/2025/12/04/embedding-quarto.html">04 Dec 2025 » Embedding a Quarto presentation in a blog post</a> 127 128 <a class="sidebar-nav-item" href="/economics/r/2025/11/17/von-thuenen.html">17 Nov 2025 » Thuenen's Natural Wage and the K-shaped Economy</a> 129 130 <a class="sidebar-nav-item" href="/r/ai/deep-learning/predictive-models/2025/10/26/double-descent-explained.html">26 Oct 2025 » Double Descent Explained</a> 131 132 <a class="sidebar-nav-item" href="/economics/r/javascript/fermi-estimation/2025/10/02/2d-growth-model.html">02 Oct 2025 » Adding random transport links to a 2D growth model</a> 133 134 <a class="sidebar-nav-item" href="/economics/games/2025/09/10/million-dollar-secret.html">10 Sep 2025 » Millionaires and Werewolves</a> 135 136 <a class="sidebar-nav-item" href="/ai/economics/r/2025/08/05/ai-replacement-wash-hires.html">05 Aug 2025 » AI Replacement and Wash Hires</a> 137 138 <a class="sidebar-nav-item" href="/economics/2025/07/24/matching-frictions.html">24 Jul 2025 » What the Job Market is Like</a> 139 140 <a class="sidebar-nav-item" href="/statistics/economics/r/2025/07/10/paradoxes-in-credit-risk-II.html">10 Jul 2025 » Paradoxes in Credit Risk II: The Through-the-Door Problem</a> 141 142 <a class="sidebar-nav-item" href="/statistics/r/2025/06/17/post-bayesian.html">17 Jun 2025 » Post-Bayesianism? Let's try it!</a> 143 144 <a class="sidebar-nav-item" href="/statistics/r/2025/05/28/conclave.html">28 May 2025 » Applying GARCH and INGARCH models to papal conclaves</a> 145 146 <a class="sidebar-nav-item" href="/economics/r/2025/04/28/how-the-dsge-sausage-is-made.html">28 Apr 2025 » How the DSGE sausage is made</a> 147 148 <a class="sidebar-nav-item" href="/python/2025/03/30/python-for-machine-learning.html">30 Mar 2025 » How to set up Python for machine learning on Windows 11</a> 149 150 <a class="sidebar-nav-item" href="/economics/r/2025/02/06/yuan-dynasty-inflation.html">06 Feb 2025 » Inflation in mediaeval China</a> 151 152 <a class="sidebar-nav-item" href="/economics/2024/12/23/paper-plates.html">23 Dec 2024 » Paper Plates and Interest Rates</a> 153 154 <a class="sidebar-nav-item" href="/statistics/probability/2024/12/02/mount-everest.html">02 Dec 2024 » Death on Mount Everest, Regression to the Mean, and the Gambler's Fallacy</a> 155 156 <a class="sidebar-nav-item" href="/economics/r/fermi-estimation/2024/11/08/interview-hell.html">08 Nov 2024 » How many interview rounds is too many?</a> 157 158 <a class="sidebar-nav-item" href="/statistics/economics/2024/09/30/paradoxes-in-credit-risk-1.html">30 Sep 2024 » Paradoxes in Credit Risk I: Simpson's Paradox</a> 159 160 <a class="sidebar-nav-item" href="/probability/bayesian/python/r/2024/08/13/raygun.html">13 Aug 2024 » Raygun: A Bayesian Breakdown</a> 161 162 <a class="sidebar-nav-item" href="/python/ai/llm/2024/07/19/linkedin-profile-photo-chooser.html">19 Jul 2024 » Using open source AI to choose a LinkedIn profile photo</a> 163 164 <a class="sidebar-nav-item" href="/economics/2024/06/27/monetary-versus-fiscal-policy.html">27 Jun 2024 » Monetary versus Fiscal Policy</a> 165 166 <a class="sidebar-nav-item" href="/python/nlp/2024/05/14/things-central-bankers-say.html">14 May 2024 » Things Central Bankers Say</a> 167 168 <a class="sidebar-nav-item" href="/bayesian/2024/03/19/layoffs-revisited.html">19 Mar 2024 » All models are useless, but some are wrong</a> 169 170 <a class="sidebar-nav-item" href="/nlp/llm/2024/02/23/onegin-markov.html">23 Feb 2024 »
170 Academia? Are you... Are you OK?</a> 171 172 <a class="sidebar-nav-item" href="/python/llm/chatgpt/nlp/2024/02/06/olmo.html">06 Feb 2024 » Worse than Useless?</a> 173 174 <a class="sidebar-nav-item" href="/bayesian/2023/12/08/triceratops.html">08 Dec 2023 » Triceratopic</a> 175 176 <a class="sidebar-nav-item" href="/bayesian/2023/05/19/tech-layoff-epidemic.html">19 May 2023 » When will the tech bloodbath end?</a> 177 178 <a class="sidebar-nav-item" href="/ai/chatgpt/2023/03/11/testers-will-be-kings.html">11 Mar 2023 » Testers will be Kings</a> 179 180 <a class="sidebar-nav-item" href="/statistics/video/2022/10/31/power-laws-and-popularity.html">31 Oct 2022 » Power Laws and Popularity</a> 181 182 <a class="sidebar-nav-item" href="/deep-learning/nlp/python/2021/11/07/never-minus-june-blance.html">07 Nov 2021 » Never Minus June Blance</a> 183 184 <a class="sidebar-nav-item" href="/statistics/linear-regression/r/neural-networks/2021/08/10/perceptron-regression-puzzle.html">10 Aug 2021 » Solving a regression puzzle with a custom perceptron</a> 185 186 <a class="sidebar-nav-item" href="/statistics/linear-regression/python/2021/06/01/r-squared.html">01 Jun 2021 » Bad Statistical Terminology 3: R Squared</a> 187 188 <a class="sidebar-nav-item" href="/mathematics/algebra/2021/03/23/kaplansky-conjecture.html">23 Mar 2021 » Giles Gardam settled Kaplansky's Conjecture</a> 189 190 <a class="sidebar-nav-item" href="/statistics/2021/03/12/powers-logs.html">12 Mar 2021 » Powers, logs and Lambert W</a> 191 192 <a class="sidebar-nav-item" href="/statistics/2020/10/20/ridit.html">20 Oct 2020 » Why Ridits?</a> 193 194 <a class="sidebar-nav-item" href="/statistics/linear-regression/2020/08/16/line-of-best-fit.html">16 Aug 2020 » Bad Statistical Terminology 2: Line of Best Fit</a> 195 196 <a class="sidebar-nav-item" href="/statistics/probability/2020/07/23/confidence-intervals.html">23 Jul 2020 » Bad Statistical Terminology 1: Confidence Level</a> 197 198 <a class="sidebar-nav-item" href="/mathematics/probability/2020/04/30/gladiator2.html">30 Apr 2020 » Gladiator Simulator, Part II</a> 199 200 <a class="sidebar-nav-item" href="/mathematics/probability/2020/04/14/gladiator.html">14 Apr 2020 » Gladiator Simulator</a> 201 202 <a class="sidebar-nav-item" href="/deep-learning/nlp/predictive-models/python/2020/03/29/cat-or-dog.html">29 Mar 2020 » Cat or Dog? Classifying pets by name</a> 203 204 <a class="sidebar-nav-item" href="/predictive-models/r/exploratory-data-analysis/time-series/2019/05/30/board-game-eda.html">30 May 2019 » Board Game Group EDA</a> 205 206 <a class="sidebar-nav-item" href="/predictive-models/python/r/2019/02/26/independence-of-rows.html">26 Feb 2019 » A Cautionary Tale about SMOTE</a> 207 208 <a class="sidebar-nav-item" href="/javascript/games/2018/05/05/roc-game.html">05 May 2018 » ROC game</a> 209 210 <a class="sidebar-nav-item" href="/predictive-models/javascript/2018/04/18/ROC-and-CAP.html">18 Apr 2018 » ROC versus CAP</a> 211 212 <a class="sidebar-nav-item" href="/puzzle/python/mathematics/r/2018/02/07/jigsaw-equation.html">07 Feb 2018 » Jigsaw Equation</a> 213 214 <a class="sidebar-nav-item" href="/r/2017/12/28/how-to-read-source-code-internal-r-function.html">28 Dec 2017 » How to read the source code of an internal R function</a> 215 216 <a class="sidebar-nav-item" href="/r/2017/12/11/tibbles.html">11 Dec 2017 » Tibbles</a> 217 218 <a class="sidebar-nav-item" href="/r/graphics/2017/11/23/soothing-pastel-colours-in-r.html">23 Nov 2017 » Soothing Pastel Colours in R</a> 219 220 <a class="sidebar-nav-item" href="/github/jekyll/2017/10/29/jekyll-blog.html">29 Oct 2017 » Creating a blog with Github Pages</a> 221 222 </nav> 223 224 <div class="sidebar-item"> 225 <p> 226 © 2026 Data Science Confidential</br>All rights reserved 227 </p> 228 </div> 229 230 <div class="sidebar-item"> 231 Links 232 </div> 233 234 <div class="sidebar-nav-item"> 235 <!-- <p> 236 <a href="https://rtrvale.github.io">My homepage</a> 237 </p> --> 238 <p> 239 <a href="https://www.r-bloggers.com/">R Bloggers</a> 240 </p> 241 </div> 242</div> 243 244 245 246 247 248 <!-- Wrap is the content to shift when toggling the sidebar. We wrap the 249 content to avoid any CSS collisions with our real content. --> 250 <div class="wrap"> 251 <div class="masthead"> 252 <div class="container"> 253 <h3 class="masthead-title"> 254 <a href="https://datascienceconfidential.github.io" title="Home">Main</a> | <a href="https://datascienceconfidential.github.io/about.html" title="Home">About</a> | 255 <a href="/categories/"> 256 Categories</a> | <a href="/feed.xml">Feed</a> 257 </h3> 258 </div> 259 </div> 260 261 <div class="container content"> 262 <div class="blurb"> 263 <h1 style="font-family:monospace; font-weight:bold;">Data Science Confidential</h1> 264 <p>This is a blog about the theory and practice of statistics, machine learning, data visualisation, and so on. I am also very interested in economics. Here's a <a href="https://rtrvale.github.io/">link to my homepage</a> with some other projects I have done, as well as lecture notes from old courses. 265 </p> 266 <p> 267 If you find something useful on here, please consider leaving a comment or even clicking the donation button at the bottom of each post! Or even better, what I would really like is a job! 268 </p> 269</div><!-- /.blurb --> 270 271 <p> 272 None of the information in this blog is confidential. The title was inspired by the mov
272ie 273 <a href="https://en.wikipedia.org/wiki/Kansas_City_Confidential">Kansas City Confidential</a>. 274 </p> 275 <p> 276 This blog is hosted on <a href="https://pages.github.com/">Github Pages</a> 277 and is powered by <a href="https://jekyllrb.com/">Jekyll</a>. The style is based on 278 <a href="https://github.com/poole/lanyon">Poole/Lanyon</a>. If you want to make your own blog on Github Pages, 279 start <a href="http://jmcglone.com/guides/github-pages/">here.</a> 280 </p> 281 282<div class="posts"> 283 284</div> 285 286<div class="pagination"> 287 288 <!-- <span class="pagination-item older"></span> --> 289 290 291 <!-- <span class="pagination-item newer"></span> --> 292 293</div> 294 295 </div> 296 </div> 297 298 <label for="sidebar-checkbox" class="sidebar-toggle"></label> 299 300
300<script> 301 (function(document) { 302 var toggle = document.querySelector('.sidebar-toggle'); 303 var sidebar = document.querySelector('#sidebar'); 304 var checkbox = document.querySelector('#sidebar-checkbox'); 305 document.addEventListener('click', function(e) { 306 var target = e.target; 307 if(!checkbox.checked || 308 sidebar.contains(target) || 309 (target === checkbox || target === toggle)) return; 310 checkbox.checked = false; 311 }, false); 312 })(document); 313 </script>
313 314 315 <!-- <label for="sidebar-checkbox" class="sidebar-toggle"></label> --> 316 <!-- <nav> 317 <ul> 318 <li><a href="/">Home</a></li> 319 <li><a href="/about">About</a></li> 320 <li><a href="/cv">CV</a></li> 321 <li><a href="/blog">Blog</a></li> 322 </ul> 323 </nav> --> 324
324<script>
vendor: 345 bytes, lines 324-330
324 325 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 326 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 327 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 328 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 329 330 ga('create', '
330UA-106000030-1
vendor: 39 bytes, lines 330-332
330', 'auto'); 331 ga('send', 'pageview'); 332
333</script>
333 334 335 </body> 336 337
337<script> 338 const element = document.getElementById('copyBibTeX'); 339 if (element) { 340 element.onclick = function(){ 341 var code = document.getElementById('citation').innerText; 342 navigator.clipboard.writeText(code); 343 }; 344 } 345 </script>
345 346 </html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.