Articles


Optimal bus stop spacing

What’s the ideal number of stops along a bus route? If there are too few, then people have to walk far to the nearest one. If there are too many, then the bus has to stop very often.


Deltidsstillinger

(Norwegian) Arbeidsgivere og arbeidstakere er uenige om overtidsregler for deltidsansatte. Et kompromiss er å gradvis justere opp overtidssatsen når man går over avtalt arbeidstid.


Continuous interest with continuous deposits

A simple savings calculator assumes that you deposit yearly savings at the end of the year. In reality you deposit more often (e.g. monthly) and this accrues interest too. What happens if you deposit and compound infinitely often?


Skatter og bidrag

(Norwegian) Vi erstatter forholdet mellom borgere og staten med to funksjoner: T(x) beregner skatt på inntekt og B(x) beregner bidrag fra staten. Nettoverføring blir x - T(x) + B(x), og denne funksjonen erstatter store deler av velferdsstaten.



Books

Some of my favorite books on mathematical modeling, statistics, optimization, scientific programming, etc.


Fastlegebytter

(Norwegian) I denne artikkelen bruker vi matematikk for å få ned ventetidene for fastlegebytter, uten at det koster noe eller krever flere leger.


Monte Carlo modeling in Python with probabilit

The Python package probabilit uses a lazily evaluated graph to propagate samples from various distributions through mathematical expressions. The package also contains low-level functions for correlating random variables and finding the nearest correlation matrix.




People rating people

If people rate each other on a platform, such as on Tinder or an e-commerce website - how can we aggregate the individual ratings to produce an overall rating?




Fraværsgrensa

(Norwegian) Fraværsgrensa er på 10%, men noen fag har langt mindre timer enn andre. Da øker sannsynligheten for å komme over grensa betraktelig. I denne artikkelen regner vi ut sannsynligheten for at en VGS-elev mister karaktergrunnlaget.


How do Voting Advice Applications work?

The article explains the mathematics behind Voting Advice Applications (VAAs) and visualizes both parties and statements as vectors. Two new ideas are also presented. One is to explain a user’s political position as a convex combination of parties. The other is to present the user with statements in a sequence that guarantees the statements are not too similar.


Hvordan fungerer en valgomat?

(Norwegian) Denne artikkelen forklarer matematikken bak valgomater ved å visualisere partier og påstander som vektorer. To nye idéer blir også presentert. Den ene er å forklare en brukers politiske ståsted som en konveks kombinasjon av partier. Den andre er å presentere brukeren for påstander i en rekkefølge som garanterer at påstandene ikke blir for like.



Strømstøtte, fastpris, makspris og insentiver

(Norwegian) Ap vil bytte ut strømstøtte med fastpris, mens Frp og KrF vil ha makspris. Økonomer påpeker at insentiver forsvinner med fastpris. Vi kan fikse politikernes forslag ved hjelp av enkel matematikk på VGS-nivå: logaritmer og eksponentialfunksjoner.


Beer tasting

A beer tasting experiment provides a nice everyday application of statistical modeling and hypothesis testing.