<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Simon&#39;s snippets</title>
    <link>https://old.simoncoulombe.com/</link>
    <description>Recent content on Simon&#39;s snippets</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 06 Aug 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://old.simoncoulombe.com/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>tidymodels and insurance loss cost models</title>
      <link>https://old.simoncoulombe.com/2023/08/index.en-us/</link>
      <pubDate>Sun, 06 Aug 2023 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2023/08/index.en-us/</guid>
      <description>Objective The data {rsample} Grouped and stratified train/test split and resamples {doMC} Set up parallel processing Logistic Regression with formula pre-processor Reproducing “non-tidymodels” specs in tidymodels GLM (unweighted) GLM (weighted) GAM (with splines) (weighted) XGBoost (weighted) lightgbm (unweighted) lightgbm weighted (not implemented in tidymodels) Use workflow_set to fit all logitics models specification on all resamples Add hyperparameter tuning to the workflow_set Logistic Regression with recipe pre-processor Tweedie regression Estimate tweedie “p” parameter Reproducing “non-tidymodels” specs in tidymodels GLM weighted GAM (with splines) weighted XGBoost weighted TODO: Poisson regression Reproducing “non-tidymodels” specs in tidymodels GLM weighted GAM (with splines) weighted xgboost weighted TODO: Gamma regression resources Objective I want to implement a tweedie regression similar to what one would face in the insurance industry using the {tidymodels} ecosystem.</description>
    </item>
    
    <item>
      <title>Corrélation élection serrée vs taux de participation?</title>
      <link>https://old.simoncoulombe.com/2022/10/taux_de_participation_vs_serre/</link>
      <pubDate>Tue, 04 Oct 2022 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2022/10/taux_de_participation_vs_serre/</guid>
      <description>Question: Est-ce que le taux de participation est corrélée avec le fait d’avoir une élection “serrée” dans une circonscription?
Réponse : pas vraiment.
Nouvelle hypothèse: peut-être qu’On devrait mettre le nombre de victoires du parti dominant dans les 10 dernières élections en X.
données proviennent d’ici: https://www.dgeq.org/donnees.html
on utilise https://www.dgeq.org/circonscriptions.csv pour le taux de participation et candidats.csv pour le nombre de votes des candidats.
Le même graphique mais interactif pour pouvoir identifier les circonscriptions (mettez votre curseur vis à vis un point pour identifier la circonscription).</description>
    </item>
    
    <item>
      <title>Combien rapporterait la taxe sur la richesse de QS ?</title>
      <link>https://old.simoncoulombe.com/2022/09/combien-taxe-richesse/</link>
      <pubDate>Thu, 08 Sep 2022 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2022/09/combien-taxe-richesse/</guid>
      <description>Ça parle beaucoup d’impôt sur le patimoine (ou avoir net) ces temps-ci au Québec!
Dans un post précédent, j’ai validé la proportion des gens qui seraient touchés par la taxe sur la richesse proposée.
Rappelons les paramètres:
Impôt sur les grandes fortunes :
Le premier million d’actifs net est exempté d’impôt Entre 1 million et 9,9 millions: 0,1% de l’actif net Entre 10 millions et 99 millions: 1% de l’actif net Plus de 100 millions: 1,5% de l’actif net La question que je me pose aujourd’hui:</description>
    </item>
    
    <item>
      <title>L&#39;impôt foncier comme alternative à l&#39;impôt sur l&#39;avoir net</title>
      <link>https://old.simoncoulombe.com/2022/09/impot-foncier/</link>
      <pubDate>Wed, 07 Sep 2022 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2022/09/impot-foncier/</guid>
      <description>Ça parle beaucoup d’impôt sur le patimoine (ou avoir net) ces temps-ci au Québec
Un échange intéressant entre Pierre-Yves McSween (@PYMcsween) et Olivier Jacques (@OliJacques89) sur twitter m’a fait réaliser que l’impôt foncier ressemble vaguement à un impôt sur le patrimoine. Quand je dis que je suis un économiste non pratiquant, c’est un bon exemple de mon manque de culture. :)
Regardez le comparatif global. (rapport de la commission qui devrait être mis à jour, mais c&amp;#39;est une base de référence).</description>
    </item>
    
    <item>
      <title>taxer les ultras riches</title>
      <link>https://old.simoncoulombe.com/2022/09/ultra-riches/</link>
      <pubDate>Tue, 06 Sep 2022 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2022/09/ultra-riches/</guid>
      <description>Aujourd’hui, on vous annonce deux nouveaux outils fiscaux qui ne s’appliqueront qu’aux gens ayant plus d’un million de dollars d’actifs nets: un impôt sur les grandes fortunes et un impôt sur les grandes successions. #qc2022
&amp;mdash; Gabriel Nadeau-Dubois (@GNadeauDubois) September 6, 2022 Résultat des courses: 95% des Québécois ne paieront rien de plus. Le 5% le plus riche devra payer un peu plus. Ce n’est pas un impôt sur les riches, c’est un impôt sur les ultra-riches.</description>
    </item>
    
    <item>
      <title>Regardons donc les dons</title>
      <link>https://old.simoncoulombe.com/2022/09/les-dons/</link>
      <pubDate>Mon, 05 Sep 2022 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2022/09/les-dons/</guid>
      <description>Données annuelles aggrégées Évolution du don moyen
## [1] &amp;quot;/home/simon/git/snippets/content/post/2022-09-05-regardons-donc-les-dons/output/evolution_des_dons.png&amp;quot; Données annuelles par circonscriptions Rétention et attraction Rétention: Quel est le pourcentage de donateurs qui de 2021 qui ont aussi donné en 2022 ? Attraction: Quel est le pourcentage des donateurs de 2022 qui n’avaient pas donné en 2021 ?
## # A tibble: 5 × 7 ## entite_politique pct_retention pct_nouveau total_donneurs_… don_2021_seul ## &amp;lt;chr&amp;gt; &amp;lt;dbl&amp;gt; &amp;lt;dbl&amp;gt; &amp;lt;int&amp;gt; &amp;lt;int&amp;gt; ## 1 Québec solidaire 0.</description>
    </item>
    
    <item>
      <title>elections-quebec-2022</title>
      <link>https://old.simoncoulombe.com/2022/09/index.en-us/</link>
      <pubDate>Sat, 03 Sep 2022 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2022/09/index.en-us/</guid>
      <description>WORK IN PROGRESS, CODE DÉGUEUX, J’AI MÊME PAS ATTEIT MON OBJECTIF ENCORE Ok j’ai envie de sortir les données par bureau de scrutin et regarder le lift de quelques variables sur le pourcentage de vote de chaque parti.
On va vouloir -résultats par section de vote aux élections générales de 2018. (https://www.dgeq.org/archives.html)
les package cancensus (données du recensement) et tongfen de Jens Von Bergman https://www.dgeq.org/sections_vote_2018_shapefile.zip # supposé être ISO 8859‑1 https://www.</description>
    </item>
    
    <item>
      <title>How to create a new post for the site</title>
      <link>https://old.simoncoulombe.com/2022/09/how-to-create-a-new-post-for-the-site/</link>
      <pubDate>Fri, 02 Sep 2022 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2022/09/how-to-create-a-new-post-for-the-site/</guid>
      <description>General workflow for contributing library(leaflet) map &amp;lt;- leaflet::leaflet() %&amp;gt;% addTiles() %&amp;gt;% fitBounds(0, 40, 10, 50) %&amp;gt;% addPopups(-93.65, 42.0285, &amp;#34;Here is the &amp;lt;b&amp;gt;Department of Statistics&amp;lt;/b&amp;gt;, ISU&amp;#34;) learn::save_and_use_widget(map, &amp;#34;map.html&amp;#34;) </description>
    </item>
    
    <item>
      <title>Quelles villes perdent leur français?</title>
      <link>https://old.simoncoulombe.com/2022/08/quelles-villes-perdent-leur-fran%C3%A7ais/</link>
      <pubDate>Fri, 19 Aug 2022 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2022/08/quelles-villes-perdent-leur-fran%C3%A7ais/</guid>
      <description>Les données de langue du Recensement de 2021 sont sorties cette semaine et elles ont déjà été ajoutées à l’excellent package {cancensus} de Jens von Bergmann. (merci!)
Je me demandais quelles villes du Québec perdent le plus leur français. Ma définition (c’est mon blog, c’est moi qui décide) de perdre le français, c’est que le pourcentage de gens dont la première langue officielle parlée est le français diminue entre 2016 et 2021.</description>
    </item>
    
    <item>
      <title>Carte des résultats des élections municipales de Montréal 2021</title>
      <link>https://old.simoncoulombe.com/2021/11/mtl2021/</link>
      <pubDate>Fri, 26 Nov 2021 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2021/11/mtl2021/</guid>
      <description>Merci d’accepter mon choix éditorial de couleurs.</description>
    </item>
    
    <item>
      <title>Quels sont les monuments les plus courants?</title>
      <link>https://old.simoncoulombe.com/2021/10/monument/</link>
      <pubDate>Fri, 01 Oct 2021 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2021/10/monument/</guid>
      <description> Petit projet vite-fait bien-fait qui utilise les données de openstreetmaps pour cartographier les monuments, mémoriaux et autres “artwork” de la province de Québec. Ensuite, je regarde quels sont les top 10 mots les plus courants parce que c’est possible.
quels sont les mots les plus utilisés dans les titres?
## word n ## 1 monument 42 ## 2 murale 29 ## 3 statue 12 ## 4 jean 9 ## 5 cartier 7 ## 6 george 7 ## 7 historique 7 ## 8 site 7 ## 9 croix 6 ## 10 guerre 6 ## 11 louis 6 ## 12 maison 6 ## 13 mémorial 6 ## 14 buste 5 ## 15 cenotaph 5 ## 16 charles 5 ## 17 hommage 5 ## 18 jeanne 5 ## 19 joseph 5 ## 20 marie 5 ## 21 saint 5 ## 22 braves 4 ## 23 canada 4 ## 24 cénotaphe 4 ## 25 cœur 4 ## 26 goélette 4 ## 27 henry 4 ## 28 ii 4 ## 29 jardin 4 ## 30 lieu 4 ## 31 national 4 ## 32 patrimonial 4 ## 33 sculpture 4 ## 34 sir 4 ## 35 soldats 4 ## 36 st 4 ## 37 tour 4 ## 38 war 4 ## 39 andré 3 ## 40 bataille 3 ## 41 char 3 ## 42 fontaine 3 ## 43 grand 3 ## 44 jacques 3 ## 45 john 3 ## 46 l&amp;#39;homme 3 ## 47 maisonneuve 3 ## 48 martello 3 ## 49 mémoire 3 ## 50 memorial 3 ## 51 mont 3 ## 52 montréal 3 ## 53 morts 3 ## 54 patriotes 3 ## 55 paul 3 ## 56 petit 3 ## 57 pierre 3 ## 58 pionniers 3 ## 59 plaque 3 ## 60 pont 3 ## 61 sacré 3 ## 62 thomas 3 ## 63 totem 3 ## 64 village 3 ## 65 world 3 ## 66 1812 2 ## 67 algonquin 2 ## 68 ancienne 2 ## 69 anishinabe 2 ## 70 ans 2 ## 71 arbres 2 ## 72 art 2 ## 73 arts 2 ## 74 avenue 2 ## 75 bernier 2 ## 76 blanc 2 ## 77 boat 2 ## 78 bourgeoys 2 ## 79 canon 2 ## 80 cécile 2 ## 81 centenaire 2 ## 82 centre 2 ## 83 champlain 2 ## 84 chemin 2 ## 85 chief 2 ## 86 cimetière 2 ## 87 commémoratif 2 ## 88 community 2 ## 89 curé 2 ## 90 cyr 2 ## 91 d&amp;#39;arc 2 ## 92 daniel 2 ## 93 dauversière 2 ## 94 dentrites 2 ## 95 église 2 ## 96 émile 2 ## 97 équestre 2 ## 98 espace 2 ## 99 etienne 2 ## 100 étienne 2 ## 101 félix 2 ## 102 ferme 2 ## 103 feu 2 ## 104 flambeau 2 ## 105 fresque 2 ## 106 grey 2 ## 107 halte 2 ## 108 hespérides 2 ## 109 james 2 ## 110 jérôme 2 ## 111 josé 2 ## 112 king 2 ## 113 l&amp;#39;est 2 ## 114 labelle 2 ## 115 laurent 2 ## 116 laval 2 ## 117 leclerc 2 ## 118 mai 2 ## 119 man&amp;#39;s 2 ## 120 marguerite 2 ## 121 maurice 2 ## 122 montebello 2 ## 123 mur 2 ## 124 mural 2 ## 125 obélisque 2 ## 126 olympique 2 ## 127 papillon 2 ## 128 pipes 2 ## 129 pop 2 ## 130 québec 2 ## 131 reine 2 ## 132 rivière 2 ## 133 rivières 2 ## 134 royal 2 ## 135 royer 2 ## 136 sainte 2 ## 137 samuel 2 ## 138 secteur 2 ## 139 sentier 2 ## 140 sherbrooke 2 ## 141 solaire 2 ## 142 street 2 ## 143 train 2 ## 144 victimes 2 ## 145 victoria 2 ## 146 william 2 ## 147 1 1 ## 148 100 1 ## 149 113 1 ## 150 1491 1 ## 151 1557 1 ## 152 1600 1 ## 153 1814 1 ## 154 1837 1 ## 155 1876 1 ## 156 1881 1 ## 157 1901 1 ## 158 1922 1 ## 159 1954 1 ## 160 1966 1 ## 161 1976 1 ## 162 1997 1 ## 163 2 1 ## 164 2007 1 ## 165 2013 1 ## 166 2017 1 ## 167 25 1 ## 168 27 1 ## 169 281 1 ## 170 4 1 ## 171 400 1 ## 172 50 1 ## 173 abbé 1 ## 174 abbey 1 ## 175 acadiens 1 ## 176 acier 1 ## 177 admiral 1 ## 178 ados 1 ## 179 agora 1 ## 180 air 1 ## 181 albert 1 ## 182 allegrocube 1 ## 183 alphonse 1 ## 184 alys 1 ## 185 amãlia 1 ## 186 américains 1 ## 187 amerindienne 1 ## 188 amiral 1 ## 189 ancien 1 ## 190 anciennes 1 ## 191 anciens 1 ## 192 ancre 1 ## 193 ange 1 ## 194 anne 1 ## 195 années 1 ## 196 apc 1 ## 197 appalaches 1 ## 198 arc 1 ## 199 ardent 1 ## 200 artfolio 1 ## 201 arthur 1 ## 202 artigas 1 ## 203 asselins 1 ## 204 atelier 1 ## 205 aurèle 1 ## 206 autel 1 ## 207 avion 1 ## 208 azelejos 1 ## 209 azurduy 1 ## 210 bachand 1 ## 211 baie 1 ## 212 bain 1 ## 213 baldwin 1 ## 214 baptiste 1 ## 215 bateau 1 ## 216 batiment 1 ## 217 bâtisseurs 1 ## 218 bauta 1 ## 219 belfort 1 ## 220 belknap 1 ## 221 bell 1 ## 222 belle 1 ## 223 bellerive 1 ## 224 belles 1 ## 225 benoit 1 ## 226 bernardo 1 ## 227 berri 1 ## 228 bethune 1 ## 229 bicentenaire 1 ## 230 biéler 1 ## 231 black 1 ## 232 blue 1 ## 233 blvd 1 ## 234 boathouse 1 ## 235 boats 1 ## 236 boers 1 ## 237 bois 1 ## 238 bolivar 1 ## 239 bonsecours 1 ## 240 borduas 1 ## 241 bouche 1 ## 242 boucher 1 ## 243 boukar 1 ## 244 boulevard 1 ## 245 bourget 1 ## 246 boutique 1 ## 247 bras 1 ## 248 brebeuf 1 ## 249 breed 1 ## 250 brigham 1 ## 251 brise 1 ## 252 brochu 1 ## 253 bruce 1 ## 254 bûcher 1 ## 255 buisson 1 ## 256 bulles 1 ## 257 bully 1 ## 258 bureau 1 ## 259 burns 1 ## 260 bus 1 ## 261 bustes 1 ## 262 busts 1 ## 263 cabane 1 ## 264 cadran 1 ## 265 cala 1 ## 266 calixa 1 ## 267 calvaire 1 ## 268 camp 1 ## 269 canadiens 1 ## 270 canal 1 ## 271 caniculaire 1 ## 272 capt 1 ## 273 carillon 1 ## 274 carlisle 1 ## 275 carrières 1 ## 276 cass 1 ## 277 cèdres 1 ## 278 cédrière 1 ## 279 celtique 1 ## 280 cemetery 1 ## 281 cène 1 ## 282 cenotaphe 1 ## 283 champ 1 ## 284 chance 1 ## 285 chapelets 1 ## 286 chapelle 1 ## 287 charpentières 1 ## 288 chartier 1 ## 289 chauvin 1 ## 290 cheauveau 1 ## 291 chef 1 ## 292 chénier 1 ## 293 cherrier 1 ## 294 child 1 ## 295 chlt 1 ## 296 christ 1 ## 297 chuchoteuses 1 ## 298 church 1 ## 299 churchill 1 ## 300 cigale 1 ## 301 cinéma 1 ## 302 clarisse 1 ## 303 cochrane 1 ## 304 coin 1 ## 305 colonnes 1 ## 306 columbia 1 ## 307 combat 1 ## 308 combatans 1 ## 309 commémorant 1 ## 310 commémorative 1 ## 311 compagnie 1 ## 312 company 1 ## 313 complicated 1 ## 314 confucius 1 ## 315 convoi 1 ## 316 cookie 1 ## 317 coop 1 ## 318 cosmos 1 ## 319 coté 1 ## 320 cotton 1 ## 321 coulée 1 ## 322 couvert 1 ## 323 crash 1 ## 324 crémazie 1 ## 325 crête 1 ## 326 cross 1 ## 327 cuivre 1 ## 328 culture 1 ## 329 cutter 1 ## 330 d&amp;#39;airain 1 ## 331 d&amp;#39;albert 1 ## 332 d&amp;#39;arcy 1 ## 333 d&amp;#39;arrêt 1 ## 334 d&amp;#39;asie 1 ## 335 d&amp;#39;assaut 1 ## 336 d&amp;#39;eccles 1 ## 337 d&amp;#39;égout 1 ## 338 d&amp;#39;en 1 ## 339 d&amp;#39;éole 1 ## 340 d&amp;#39;or 1 ## 341 d&amp;#39;union 1 ## 342 d’honneur 1 ## 343 dame 1 ## 344 davis 1 ## 345 décès 1 ## 346 dédié 1 ## 347 déesse 1 ## 348 denys 1 ## 349 dépôt 1 ## 350 déraillement 1 ## 351 dérangement 1 ## 352 désaster 1 ## 353 desjardins 1 ## 354 dessaint 1 ## 355 destinées 1 ## 356 déversement 1 ## 357 di 1 ## 358 didactique 1 ## 359 died 1 ## 360 diouf 1 ## 361 disparus 1 ## 362 division 1 ## 363 dollard 1 ## 364 don&amp;#39;t 1 ## 365 dorimène 1 ## 366 drapeau 1 ## 367 drivers 1 ## 368 dufour 1 ## 369 dugua 1 ## 370 duplessis 1 ## 371 dyke 1 ## 372 earl 1 ## 373 écrasement 1 ## 374 écuries 1 ## 375 eddy 1 ## 376 édouard 1 ## 377 edward 1 ## 378 ellen 1 ## 379 elzéar 1 ## 380 emergence 1 ## 381 english 1 ## 382 ernest 1 ## 383 espression 1 ## 384 estelle 1 ## 385 etes 1 ## 386 evidence 1 ## 387 explorateur 1 ## 388 expression 1 ## 389 fado 1 ## 390 famille 1 ## 391 farwell 1 ## 392 faubourg 1 ## 393 fauvel 1 ## 394 felicia 1 ## 395 femmes 1 ## 396 fer 1 ## 397 fernand 1 ## 398 ferroviaire 1 ## 399 fhe 1 ## 400 fil 1 ## 401 fish 1 ## 402 flatbreads 1 ## 403 fleuve 1 ## 404 flore 1 ## 405 fois 1 ## 406 follet 1 ## 407 forces 1 ## 408 forget 1 ## 409 formes 1 ## 410 fortin 1 ## 411 fou 1 ## 412 fougueux 1 ## 413 foule 1 ## 414 fourmis 1 ## 415 fractal 1 ## 416 français 1 ## 417 française 1 ## 418 france 1 ## 419 françois 1 ## 420 francs 1 ## 421 frederick 1 ## 422 french 1 ## 423 frère 1 ## 424 gale 1 ## 425 galerie 1 ## 426 garage 1 ## 427 garden 1 ## 428 garneau 1 ## 429 gaulle 1 ## 430 gbmc 1 ## 431 géant 1 ## 432 général 1 ## 433 genest 1 ## 434 georgianna 1 ## 435 gerris 1 ## 436 gervasio 1 ## 437 ghandhi 1 ## 438 giant 1 ## 439 giraffes 1 ## 440 girl 1 ## 441 gisèle 1 ## 442 glace 1 ## 443 gm 1 ## 444 golf 1 ## 445 gonzague 1 ## 446 graton 1 ## 447 grau 1 ## 448 greek 1 ## 449 green 1 ## 450 grenouille 1 ## 451 grillon 1 ## 452 grises 1 ## 453 grou 1 ## 454 guerres 1 ## 455 guy 1 ## 456 haie 1 ## 457 hameau 1 ## 458 havre 1 ## 459 healer 1 ## 460 hébert 1 ## 461 hector 1 ## 462 hermine 1 ## 463 héros 1 ## 464 hill 1 ## 465 hippolyte 1 ## 466 hmcs 1 ## 467 hopital 1 ## 468 house 1 ## 469 huault 1 ## 470 human 1 ## 471 ignace 1 ## 472 illuminée 1 ## 473 image 1 ## 474 imaginaire 1 ## 475 inc 1 ## 476 incinérateur 1 ## 477 indigènes 1 ## 478 indigenous 1 ## 479 institutionnel 1 ## 480 interculturels 1 ## 481 international 1 ## 482 intersection 1 ## 483 inukshuk 1 ## 484 iris 1 ## 485 irlandais 1 ## 486 it&amp;#39;s 1 ## 487 ives 1 ## 488 jardinier 1 ## 489 jardins 1 ## 490 jefferson 1 ## 491 jenks 1 ## 492 jeux 1 ## 493 jh 1 ## 494 joan 1 ## 495 joute 1 ## 496 juan 1 ## 497 juana 1 ## 498 julien 1 ## 499 justice 1 ## 500 karsh 1 ## 501 knights 1 ## 502 kodaly 1 ## 503 kraken 1 ## 504 krieghoff 1 ## 505 kwakiutl 1 ## 506 l&amp;#39;abeille 1 ## 507 l&amp;#39;accident 1 ## 508 l&amp;#39;amour 1 ## 509 l&amp;#39;arc 1 ## 510 l&amp;#39;armée 1 ## 511 l&amp;#39;arrondissement 1 ## 512 l&amp;#39;éboulis 1 ## 513 l&amp;#39;escale 1 ## 514 l&amp;#39;honneur 1 ## 515 l&amp;#39;horloge 1 ## 516 l&amp;#39;hôtel 1 ## 517 l&amp;#39;indécision 1 ## 518 l&amp;#39;isle 1 ## 519 l&amp;#39;œil 1 ## 520 l&amp;#39;unesco 1 ## 521 l’eau 1 ## 522 l’esprit 1 ## 523 l’obélisque 1 ## 524 lac 1 ## 525 lachine 1 ## 526 lafleur 1 ## 527 lafontaine 1 ## 528 lake 1 ## 529 lambert 1 ## 530 langelier 1 ## 531 lapierre 1 ## 532 lapointe 1 ## 533 larme 1 ## 534 lasnier 1 ## 535 lauréat 1 ## 536 laurentienne 1 ## 537 laurier 1 ## 538 lauzon 1 ## 539 lavallée 1 ## 540 lavoie 1 ## 541 law 1 ## 542 lawrence 1 ## 543 leboutillier 1 ## 544 lecteur 1 ## 545 lefebvre 1 ## 546 légendes 1 ## 547 lemelin 1 ## 548 léonie 1 ## 549 lessard 1 ## 550 lester 1 ## 551 lettres 1 ## 552 levasseur 1 ## 553 lévesque 1 ## 554 libellule 1 ## 555 libertador 1 ## 556 libre 1 ## 557 lion 1 ## 558 lions 1 ## 559 lisa 1 ## 560 lizotte 1 ## 561 locales 1 ## 562 locomotive 1 ## 563 log 1 ## 564 louverture 1 ## 565 lumières 1 ## 566 lys 1 ## 567 lytton 1 ## 568 macareux 1 ## 569 macdonald 1 ## 570 madeleine 1 ## 571 madone 1 ## 572 mahtma 1 ## 573 maïka 1 ## 574 malak 1 ## 575 malmaison 1 ## 576 malouin 1 ## 577 mance 1 ## 578 manifeste 1 ## 579 mante 1 ## 580 marc 1 ## 581 marché 1 ## 582 maria 1 ## 583 marianne 1 ## 584 marthe 1 ## 585 marti 1 ## 586 mary 1 ## 587 mastodo 1 ## 588 mat 1 ## 589 matthew 1 ## 590 mcgee 1 ## 591 mcgill 1 ## 592 mctavish 1 ## 593 memoire 1 ## 594 memphré 1 ## 595 mena’sen 1 ## 596 mère 1 ## 597 micropaysages 1 ## 598 migration 1 ## 599 miguel 1 ## 600 militaire 1 ## 601 millénaire 1 ## 602 millington 1 ## 603 mio 1 ## 604 missing 1 ## 605 moai 1 ## 606 moine 1 ## 607 mona 1 ## 608 mondiale 1 ## 609 monica 1 ## 610 monique 1 ## 611 mons 1 ## 612 monseigneur 1 ## 613 montage 1 ## 614 montalvo 1 ## 615 montcerf 1 ## 616 montmorency 1 ## 617 montpetit 1 ## 618 montreal 1 ## 619 morache 1 ## 620 morgan 1 ## 621 mosaiculture 1 ## 622 moteur 1 ## 623 mother 1 ## 624 motor 1 ## 625 moulin 1 ## 626 moulins 1 ## 627 moynr 1 ## 628 municipalité 1 ## 629 muraille 1 ## 630 murales 1 ## 631 murals 1 ## 632 murdered 1 ## 633 muses 1 ## 634 musical 1 ## 635 myth 1 ## 636 nathaniel 1 ## 637 nations 1 ## 638 navire 1 ## 639 neil 1 ## 640 nékitotegwak 1 ## 641 nelligan 1 ## 642 nelson 1 ## 643 nord 1 ## 644 norman 1 ## 645 north 1 ## 646 norton 1 ## 647 nouvelle 1 ## 648 o&amp;#39;higgins 1 ## 649 oblique 1 ## 650 octo 1 ## 651 oeuvre 1 ## 652 oeuvres 1 ## 653 olekroshome 1 ## 654 olindo 1 ## 655 olivier 1 ## 656 olmsted 1 ## 657 olympic 1 ## 658 origines 1 ## 659 ormeaux 1 ## 660 oscar 1 ## 661 ottawa 1 ## 662 otter 1 ## 663 ouellet 1 ## 664 ourse 1 ## 665 overseas 1 ## 666 p&amp;#39;tit 1 ## 667 padilla 1 ## 668 panet 1 ## 669 papa 1 ## 670 paper 1 ## 671 paquets 1 ## 672 paquin 1 ## 673 parc 1 ## 674 paroisse 1 ## 675 paschal 1 ## 676 paspébiac 1 ## 677 pasteur 1 ## 678 peace 1 ## 679 pearson 1 ## 680 pédagogie 1 ## 681 perreault 1 ## 682 peuple 1 ## 683 phare 1 ## 684 philemon 1 ## 685 pieonniers 1 ## 686 pioneers 1 ## 687 pissenlit 1 ## 688 pit 1 ## 689 plantait 1 ## 690 plantes 1 ## 691 pleureuse 1 ## 692 poids 1 ## 693 poissant 1 ## 694 poisson 1 ## 695 polaris 1 ## 696 pole 1 ## 697 politique 1 ## 698 ponctifiaux 1 ## 699 poodle 1 ## 700 poppins 1 ## 701 populus 1 ## 702 porte 1 ## 703 poste 1 ## 704 pouvoir 1 ## 705 prairies 1 ## 706 prévention 1 ## 707 price 1 ## 708 progrès 1 ## 709 project 1 ## 710 pug 1 ## 711 puits 1 ## 712 pyramide 1 ## 713 qualification 1 ## 714 quatuor 1 ## 715 québécois 1 ## 716 queen 1 ## 717 quyon 1 ## 718 rabaska 1 ## 719 rainbow 1 ## 720 rapide 1 ## 721 rapides 1 ## 722 rassemblage 1 ## 723 red 1 ## 724 relâchez 1 ## 725 religieuse 1 ## 726 remembering 1 ## 727 remorqueur 1 ## 728 rencontre 1 ## 729 rené 1 ## 730 revoir 1 ## 731 richard 1 ## 732 riel 1 ## 733 rimousky 1 ## 734 rina 1 ## 735 riopelle 1 ## 736 river 1 ## 737 robbie 1 ## 738 roberval 1 ## 739 robi 1 ## 740 roc 1 ## 741 roche 1 ## 742 rocher 1 ## 743 rock 1 ## 744 rodrigues 1 ## 745 roger 1 ## 746 roosevelt 1 ## 747 rootsiscanada 1 ## 748 rouen 1 ## 749 rouge 1 ## 750 rousseau 1 ## 751 route 1 ## 752 royaume 1 ## 753 royaux 1 ## 754 ruins 1 ## 755 sabots 1 ## 756 sacrifice 1 ## 757 saguenay 1 ## 758 salle 1 ## 759 santa 1 ## 760 saule 1 ## 761 sault 1 ## 762 sauvé 1 ## 763 savard 1 ## 764 sciage 1 ## 765 scobie 1 ## 766 scolaire 1 ## 767 scouts 1 ## 768 services 1 ## 769 sherbylove 1 ## 770 short 1 ## 771 sight 1 ## 772 signe 1 ## 773 simmering 1 ## 774 simon 1 ## 775 sœur 1 ## 776 soeurs 1 ## 777 sommet 1 ## 778 song 1 ## 779 souffle 1 ## 780 source 1 ## 781 sourire 1 ## 782 souvenir 1 ## 783 sphinx 1 ## 784 stanstead 1 ## 785 starfox 1 ## 786 statues 1 ## 787 ste 1 ## 788 steve 1 ## 789 stewart 1 ## 790 structures 1 ## 791 stuart 1 ## 792 symposium 1 ## 793 taché 1 ## 794 tamara 1 ## 795 tango 1 ## 796 taschereau 1 ## 797 temps 1 ## 798 terminus 1 ## 799 terrace 1 ## 800 terres 1 ## 801 tessouat 1 ## 802 tête 1 ## 803 thérèse 1 ## 804 thorne 1 ## 805 tillotson 1 ## 806 tisserands 1 ## 807 titre 1 ## 808 tombeau 1 ## 809 topographie 1 ## 810 topologie 1 ## 811 torch 1 ## 812 tortue 1 ## 813 totems 1 ## 814 touristes 1 ## 815 tourny 1 ## 816 toussaint 1 ## 817 township 1 ## 818 tradition 1 ## 819 trait 1 ## 820 traite 1 ## 821 transition 1 ## 822 trash 1 ## 823 travel 1 ## 824 treasure 1 ## 825 trialogue 1 ## 826 tricentenaire 1 ## 827 triomphe 1 ## 828 tv 1 ## 829 twilight 1 ## 830 ursulines 1 ## 831 usine 1 ## 832 utopia 1 ## 833 vaillancourt 1 ## 834 valérie 1 ## 835 valhalla 1 ## 836 van 1 ## 837 vauquelin 1 ## 838 veilleux 1 ## 839 vent 1 ## 840 verchère 1 ## 841 verre 1 ## 842 vert 1 ## 843 verte 1 ## 844 veterans 1 ## 845 vétérans 1 ## 846 vétérants 1 ## 847 vi 1 ## 848 vietnam 1 ## 849 vii 1 ## 850 ville 1 ## 851 visuels 1 ## 852 vitrerie 1 ## 853 voilier 1 ## 854 volontaires 1 ## 855 voltigeurs 1 ## 856 vouillé 1 ## 857 voyage 1 ## 858 voyageurs 1 ## 859 wagon 1 ## 860 wallace 1 ## 861 wallick 1 ## 862 walter 1 ## 863 wendat 1 ## 864 wilfrid 1 ## 865 wilfried 1 ## 866 wilson 1 ## 867 wolfe 1 ## 868 women 1 ## 869 wright 1 ## 870 xavier 1 ## 871 yvan 1 ## 872 zépher 1 ## 873 zilon 1 ## 874 zouaves 1 </description>
    </item>
    
    <item>
      <title>cangetpop: Un package R pour obtenir la population dans n&#39;importe quelle zone</title>
      <link>https://old.simoncoulombe.com/2021/08/cangetpop/</link>
      <pubDate>Thu, 05 Aug 2021 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2021/08/cangetpop/</guid>
      <description>I created a very tiny R package based off Jens (@vb_jens) ’s excellent {cancensus} and {tongfen} packages.
The goal of cangetpop is to return the canadian population within a polygon. There are helper functions to generate a circle of any given radius (in kilometers) around a given longitude.
Installation You can install cangetpop from github using
devtools::install_github(&amp;quot;simoncoulombe/cangetpop&amp;quot;) IMPORTANT: make sure to get the development version of tongfen (0.3.2) from github using</description>
    </item>
    
    <item>
      <title>survie des autos</title>
      <link>https://old.simoncoulombe.com/2021/07/index.en-us/</link>
      <pubDate>Thu, 15 Jul 2021 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2021/07/index.en-us/</guid>
      <description>Quick blog post basé sur les données des véhicules en circulation de la SAAQ 2013-2019 (https://www.donneesquebec.ca/recherche/dataset/vehicules-en-circulation).
Le but c’est de voir quelle marque a le plus de véhicules sur la route après quelques années. Sans surprise les toyota et honda de ce monde dominent largement. Deux curiosités: les F150 disparaissent (exportés?) ainsi que les volkswagen (dieselgate?)
Reasons I’ll come back to this post: {showtext} and font_add_google. Mise en page du dernier graphique (palette, polices) inspirée de https://github.</description>
    </item>
    
    <item>
      <title>ashton</title>
      <link>https://old.simoncoulombe.com/2021/07/ashton/</link>
      <pubDate>Wed, 14 Jul 2021 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2021/07/ashton/</guid>
      <description>(code volé à un dude qui a fait la même chose pour les costco à Anchorage, Alaska)
Petit projet avec utilisation de: - osmdata pour trouver les ashton - (new to me) de mapboxapi pour les isochrones - et raster/fasterize pour combiner les multiples isochrones
suppressMessages( suppressWarnings({ library(mapboxapi) library(tidyverse) library(mapdeck) library(osmdata) library(leaflet) library(sf) library(raster) library(rgeos) library(fasterize) library(rgdal) library(sf) library(dplyr) library(purrr) library(mapview) }) ) step 1 : trouver les ashton avec osmdata</description>
    </item>
    
    <item>
      <title>Labour force participation rates recovery</title>
      <link>https://old.simoncoulombe.com/2021/07/labour-force-participation-rate-recovery/</link>
      <pubDate>Fri, 02 Jul 2021 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2021/07/labour-force-participation-rate-recovery/</guid>
      <description>Petit post rapide qui utilise les données de Statistique Canada pour regarder l’évolution du taux de participation pendant et après la pandémie.</description>
    </item>
    
    <item>
      <title>Où sont les maisons abordables?</title>
      <link>https://old.simoncoulombe.com/2021/06/prix_maison/</link>
      <pubDate>Sat, 26 Jun 2021 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2021/06/prix_maison/</guid>
      <description>Here I combine two data sources to find the cities with the most affordable houses.
We use the median house price fro m2018 as provided by “JLR solutions immobilières” and the median total household income for families with 2 adults for 2018 provided by Statistics Canada.
## # A tibble: 168 x 7 ## geo geo_uid value RMRNOM RMRPIDU PRIDU PRNOM ## &amp;lt;chr&amp;gt; &amp;lt;chr&amp;gt; &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt; &amp;lt;chr&amp;gt; &amp;lt;chr&amp;gt; &amp;lt;chr&amp;gt; ## 1 St.</description>
    </item>
    
    <item>
      <title>De la préservation du jambon (twitter edition)</title>
      <link>https://old.simoncoulombe.com/2021/04/jambon2/</link>
      <pubDate>Mon, 12 Apr 2021 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2021/04/jambon2/</guid>
      <description>edit août 2021: Ça a pris une semaine et @jefffillion a changé de nom pour transférer ses abonnés sur un compte de fausse “mère de famille” et il a créé un nouveau compte “jefffillion”, mais celui-là est malheureusement sur invitation. J’ai recyclé le bot vers eric duhaime, mais une erreur de manipulation m’a fait perdre le priviliège de tweeter avec un robot. Le robot est donc maintenant désactivé.
On sait ce que Platon a dit il y a 2500 ans.</description>
    </item>
    
    <item>
      <title>De la préservation du jambon (postcast CHOI)</title>
      <link>https://old.simoncoulombe.com/2021/04/jambon/</link>
      <pubDate>Mon, 05 Apr 2021 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2021/04/jambon/</guid>
      <description>Edit Août 2021: l’accès vers certain MP3 a été retiré rétroactivement, mais si vous avez besoin de quelque chose je l’ai.
Je ne sais pas ce qui arrive au site de CHOI, mais les liens vers les podcast disparaissent parfois, même si les mp3 demeurent disponibles. Pour sauver du feu cette bibliothèque du savoir, je maintiens une liste des liens vers les mp3 pour écouter les entrevues.
C’est là : https://docs.</description>
    </item>
    
    <item>
      <title>Trouver la meilleure borne de recharge rapide</title>
      <link>https://old.simoncoulombe.com/2020/11/trouver-la-meilleure-borne-de-recharge-rapide/</link>
      <pubDate>Tue, 24 Nov 2020 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2020/11/trouver-la-meilleure-borne-de-recharge-rapide/</guid>
      <description>unfinished post, please move on</description>
    </item>
    
    <item>
      <title>Animated map of ships, 1750-1799</title>
      <link>https://old.simoncoulombe.com/2020/11/animated-ships/</link>
      <pubDate>Mon, 16 Nov 2020 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2020/11/animated-ships/</guid>
      <description>I learned about the Climatological Database for the World’s Oceans (CLIWOC), a super cool database containing 287 116 days of ship log entries that have been digitized to better understand climate change.
Each record holds the date, the ship’s name, company and nationality, the latitude and longitude and a wealth of meteorological information.
Objective I want to make an animated map with a bunch of moving ships because I can.</description>
    </item>
    
    <item>
      <title>La pandémie à travers les lunettes d&#39;un journaliste</title>
      <link>https://old.simoncoulombe.com/2020/06/derfel_tweet/</link>
      <pubDate>Mon, 08 Jun 2020 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2020/06/derfel_tweet/</guid>
      <description>Le dernier scandale est arrivé car le premier ministre @francoislegault a bloqué le journaliste @aardon_derfel sur twitter, affirmant que ce dernier le taggait beaucoup trop souvent:
Quand un &amp;quot;journaliste&amp;quot; me &amp;quot;tague&amp;quot; plus de 10 fois sur Twitter en disant que je mens...
&amp;mdash; François Legault (@francoislegault) June 6, 2020 @Paul_Laurier a eu la superbe idée de regarder les données pour voir de quoi il en était.
EDIT:2021 Most of the text in this blog post is broken because Aaron is very prolific tweeter, meaning that I can no longer get tweets from before December 2020 Dans ce post, je m’intéresse aussi au nombre de mentions avant de faire un petit peu de “sentiment analysis” pour s’amuser un peu.</description>
    </item>
    
    <item>
      <title>getting xgboost tweedie prediction from link</title>
      <link>https://old.simoncoulombe.com/2020/05/getting-xgboost-tweedie-prediction-from-link/</link>
      <pubDate>Thu, 21 May 2020 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2020/05/getting-xgboost-tweedie-prediction-from-link/</guid>
      <description>I’ve stumbled on something.. interesting.
To get the prediction for a Tweedie GLM, we take the link value then do exp(link), but to get prediction from an xgboost tweedie , we take the “link” value then do exp(link)/ 2 , dividing the result by 2.
Is this normal? Below is a quick demo showing how I get the predictions for a 3-trees xgboost and a glm.
the code has been modified from the tweedie regression demo in the xgboost repository: https://github.</description>
    </item>
    
    <item>
      <title>Local Covid19 cases:   Canadian health regions and Montreal boroughs</title>
      <link>https://old.simoncoulombe.com/2020/05/covid19-cases-in-canadian-health-regions-with-over-1000-cumulative-cases/</link>
      <pubDate>Sun, 10 May 2020 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2020/05/covid19-cases-in-canadian-health-regions-with-over-1000-cumulative-cases/</guid>
      <description>blo
Quick post inspired by the winning / nearly there / need action graphs by @yaneerbaryam at https://www.endcoronavirus.org/countries.
Data Health regions date is compiled by Isha Berry &amp;amp; friends github. Montreal boroughs data is published daily. They only keep the total and keep no history, so @bouchecl visits them every day and compiles the data in this google sheet
Code I went a bit over the top for this one and created an R package you can install to recreate all the graphs and fetch the data.</description>
    </item>
    
    <item>
      <title>How far are cyclists willing to go to use a cycling path? A good excuse to try out Graphhopper</title>
      <link>https://old.simoncoulombe.com/2020/04/map-matching-bike/</link>
      <pubDate>Mon, 13 Apr 2020 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2020/04/map-matching-bike/</guid>
      <description>I made a twitter survey a couple of months before the apocalypse to help me pick my next blog post topic and all 3 members of the crowd overwhelmingly agreed that I should use bike gps data and graphhopper to find out how far cyclists are willing to go to use safer infrastructure.
This is awesome, because I had been looking for a use for this open data that contains GPS data for ~ 5000 bike trips in Montreal for a while.</description>
    </item>
    
    <item>
      <title>Who did your neighbours vote for?</title>
      <link>https://old.simoncoulombe.com/2020/04/how-did-your-neighbours-vote-canada-2019-edition/</link>
      <pubDate>Mon, 06 Apr 2020 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2020/04/how-did-your-neighbours-vote-canada-2019-edition/</guid>
      <description>Canada Federal Election 2019</description>
    </item>
    
    <item>
      <title>Tweedue and Recipes part 2 (kaggle data)</title>
      <link>https://old.simoncoulombe.com/2020/03/tweedue-and-recipes-part-2-kaggle-data/</link>
      <pubDate>Fri, 27 Mar 2020 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2020/03/tweedue-and-recipes-part-2-kaggle-data/</guid>
      <description>I just got my feet wet with tweedie regression and the recipes package yesterday. The results have been underwhelming, as the models didnt appear that predictive. I figured I might give it another try, this time using Kaggle’s claim prediction challenge from 2012.
It is no longer possible to submit models, so we will create our own 20% test sample from the kaggle training data set and see how we fare.</description>
    </item>
    
    <item>
      <title>Tweedie vs Poisson * Gamma</title>
      <link>https://old.simoncoulombe.com/2020/03/tweedie-vs-poisson-gamma/</link>
      <pubDate>Mon, 23 Mar 2020 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2020/03/tweedie-vs-poisson-gamma/</guid>
      <description>I’m building my first tweedie model, and I’m finally trying the {recipes} package.
We will try to predict the pure premium of car insurance policy. This can be done directly with a tweedie model, or by multiplying two separates models: a frequency (Poisson) and a severity (Gamma) model. We wil be using “lift charts” and “double lift charts” to evaluate the model performance .
Here’s is the plan:
Pre-process the train and test data using recipes.</description>
    </item>
    
    <item>
      <title>United States of they don&#39;t want no socialist healthcare system</title>
      <link>https://old.simoncoulombe.com/2019/12/e_0_canada_usa/</link>
      <pubDate>Sat, 14 Dec 2019 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2019/12/e_0_canada_usa/</guid>
      <description>I found life expectancy at birth data for “health regions” in Canada for 2015-2017 and in “census tracts” in the USA for 2010-2015.
Here is a map of these two countries, excluding areas with a life expectancy at birth lower than 0.
Data sources and shapefiles: Canada mortality. Canada shapefiles. USA mortality. USA shapefiles downloaded using the tigris package. Libraries The usual data wrangling libraries for spatial data (tidyverse, sf), mapped using mapview and leaflet.</description>
    </item>
    
    <item>
      <title>Retour sur le spéculateur du 3e lien</title>
      <link>https://old.simoncoulombe.com/2019/11/speculateur/</link>
      <pubDate>Tue, 26 Nov 2019 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2019/11/speculateur/</guid>
      <description>Bon, on a finalement relevé les visières. Mon spéculateur anonyme du blog post qui spécule sur le 3e lien? n’est nul autre que Martin Pellerin, le président de la chambre de Commerce de Lévis.
Je vais laisser à d’autres le soin de spéculer sur l’information privilégiée dont il pouvait disposer lorsqu’il a acheté les terrains le 10 mai, soit quelques semainse avant que le tracé ne soit officialisé.
Ce qui m’insulte, c’est surtout qu’il est un ardent promoteur du projet.</description>
    </item>
    
    <item>
      <title>Race for  a family</title>
      <link>https://old.simoncoulombe.com/2019/10/race-for-a-family/</link>
      <pubDate>Tue, 29 Oct 2019 00:00:00 +0000</pubDate>
      
      <guid>https://old.simoncoulombe.com/2019/10/race-for-a-family/</guid>
      <description>Hey,
I’ve finally found an excuse to use the gganimate package in R to generate bar chart races! I’m going back to one of my previous jobs, demography, and we are going to look at how the fertility of the cohorts of Quebec women born between 1915 and 1980 has evolved.
The data Fertility data from Statistics Canada, year 1921-2016.
It includes data for all provinces. The code As usual, the code is on my github.</description>
    </item>
    
  </channel>
</rss>
