Eric (@expersso) profile picture

economics, #rstats, https://teapawt.net/t.co/CII5gMcNXw

Germany
Joined January 2015
Photo by Eric (@expersso)Photo by Eric (@expersso)Photo by Eric (@expersso)Photo by Eric (@expersso)Photo by Eric (@expersso)Photo by Eric (@expersso)Photo by Eric (@expersso)Photo by Eric (@expersso)Photo by Eric (@expersso)Photo by Eric (@expersso)
Fun question to solve with #mathematica.
Junior data scientist interview question: Assume you generate points X = N(0,1); Y = N(0,0.1). Rotate the (x,y) dataset 45 degrees, so they look something like pic below (line is y = x). If you were to calculate the OLS regression y = b1*x + b0, what is E[b1] as n->infinity?
2
414
My solution using #Mathematica @WolframResearch .
This Post is from an account that no longer exists. Learn more
Fun way to solve this problem in #Mathematica using built-in optical character recognition and translation.
Today's #dailymaths problem from the Mathematics 2020 calendar in pic. Solution will post tomorrow. Daily problems with previous day's solution are tweeted ~6am Eastern. Solutions by me and/or @MathsTim unless otherwise stated. Guest solution posts welcome--DM if interested.
3
Neil Peart September 12, 1952 - January 7, 2020
5,886
27,249
11,812
77,616
Simple optimization problem today: #Mathematica #WolfLang
Today's #dailymaths problem from the Mathematics 2020 calendar in pic. Solution will post tomorrow. Daily problems with previous day's solution are tweeted ~6am Eastern.
1
3
My solutions in #Mathematica #WolfLang and #rstats.
Today's #dailymaths problem from the Mathematics 2020 calendar in pic. Solution will post tomorrow. Daily problems with previous day's solution are tweeted ~6am Eastern. Today’s is perhaps trickier than it seems, so good luck!
2
4
Recurse all the things! My solution to Day 6 of #AdventOfCode using #rstats: github.com/expersso/advent_o…
2
7
The ability to use sympy directly in @rstudio using an rmarkdown notebook is *chef's kiss*. #rstats
3
7
How to plot the Mandelbrot set in 22 LOC using #rstats and ggplot2.
1
8
New blog post, in which I solve a neat problem posed by @ryxcommar using some lesser-known base #rstats functions: eric.netlify.com/2019/08/20/…
1
1
4
Very content with this regex #rstats.
4
The least appealing aspect of maintaining packages on CRAN. #rstats
1
2
In grad seminar we've been talking recently about getting data from the web. Here are my notes and code-through for using rvest to scrape tables and automate file downloads in #rstats, with semi-random shoutouts to @juliasilge, @expersso, and @VincentAB: cmcr-class.rbind.io/blog/201…
2
14
1
49
PMF and likelihood of a binomial rv in ggplot2. Gist: git.io/fh2t7 #rstats
1
2
Or analytically: c("Team A wins" = dbinom(0, 20, 0.055), "Draw" = dbinom(1, 20, 0.055), "Team B wins" = 1 - pbinom(1, 20, 0.055)) Team A wins Draw Team B wins 0.32 0.38 0.30 #rstats
x <- replicate(10000, sum(sample(0:1, 20, TRUE, c(0.945, 0.055)))) table(ifelse(x == 0, "Team A win", ifelse(x == 1, "Draw", "Team B win"))) / 100 Draw Team A win Team B win 37.52 32.18 30.30 #rstats
1
5
x <- replicate(10000, sum(sample(0:1, 20, TRUE, c(0.945, 0.055)))) table(ifelse(x == 0, "Team A win", ifelse(x == 1, "Draw", "Team B win"))) / 100 Draw Team A win Team B win 37.52 32.18 30.30 #rstats
This quoted post is unavailable.
1
5