jonaslindeloev Profile Banner
Jonas K. Lindeløv Profile
Jonas K. Lindeløv

@jonaslindeloev

Followers
3K
Following
3K
Media
244
Statuses
3K

Using statistics and programming to turn data into (maximum) utility. Former neuroscientist. Preaches Bayesianism, utilitarianism, and effective altruism.

Denmark
Joined December 2013
Don't wanna be here? Send us removal request.
@jonaslindeloev
Jonas K. Lindeløv
6 years
I've made this cheat sheet and I think it's important. Most stats 101 tests are simple linear models - including "non-parametric" tests. It's so simple we should only teach regression. Avoid confusing students with a zoo of named tests. 1/n.
Tweet card summary image
lindeloev.github.io
81
3K
8K
@jonaslindeloev
Jonas K. Lindeløv
5 months
RT @larsloekke: Dear American friends. We agree that status quo in the Artcic is not an option. So let’s talk about how we can fix it -….
0
4K
0
@jonaslindeloev
Jonas K. Lindeløv
8 months
RT @iavins: Collection of insane and fun facts about SQLite. Let's go!. SQLite is the most deployed and most used database. There are over….
0
1K
0
@jonaslindeloev
Jonas K. Lindeløv
1 year
RT @mattansb: NEW to {bayestestR} dev version - support for #marginaleffects!. Take it for a test drive: remotes::install_github("easystats….
0
16
0
@jonaslindeloev
Jonas K. Lindeløv
1 year
RT @giveffektivt: Gør mere godt for pengene ved at give effektivt. Se vores nye explainer-video og del!
0
3
0
@jonaslindeloev
Jonas K. Lindeløv
1 year
There are no R packages to calculate sample size (/power) given uncertain population parmeters. I.e., like specifying distributions over mu and sigma in a t-test rather than point estimates. Must. Resist.
4
3
33
@jonaslindeloev
Jonas K. Lindeløv
1 year
`job::job()` is self-help: I felt uneasy starting heavy tasks and procrastinated while they ran. Now I quite like long-running code. It feels productive having the computer churning away at a few jobs while I work. Keep those cores busy!. Website:
Tweet card summary image
lindeloev.github.io
Call job::job({}) to run R code as an RStudio job and keep your console free in the meantime. This allows for a productive workflow while testing (multiple) long-running chunks of code. It can also...
0
0
1
@jonaslindeloev
Jonas K. Lindeløv
1 year
If you print diagnostics within the job, your RStudio jobs pane becomes a high-level record of what you did and the results.
Tweet media one
1
0
0
@jonaslindeloev
Jonas K. Lindeløv
1 year
{job} comes with RStudio add-ins too. Select some code and run it as a job:
Tweet media one
1
0
0
@jonaslindeloev
Jonas K. Lindeløv
1 year
A few example of where I routinely use job::job():. # Upgrade packages.job::job({update.packages(ask = FALSE)}). # Run checks and unit tests.job::job({devtools::test()}).job::job({devtools::check()}). # Build pkgdown site.job::job({pkgdown::build_site(preview = FALSE)}).
1
0
2
@jonaslindeloev
Jonas K. Lindeløv
1 year
When the job finishes, it silently returns the results to your main session where you can inspect it:
Tweet media one
1
0
0
@jonaslindeloev
Jonas K. Lindeløv
1 year
RStudio jobs are awesome. You can see the progress on the job while you continue working in the console:
Tweet media one
1
0
0
@jonaslindeloev
Jonas K. Lindeløv
1 year
A new release of {job} just hit CRAN. Here's a three-year anniversary thread:. job::job({slow_code_here}) runs code as RStudio Jobs, keeping your console free to continue developing. (1/n).
Tweet card summary image
lindeloev.github.io
Call job::job({}) to run R code as an RStudio job and keep your console free in the meantime. This allows for a productive workflow while testing (multiple) long-running chunks of code. It can also...
5
13
65
@jonaslindeloev
Jonas K. Lindeløv
1 year
All the probability distribution names are so Normal and Uniform. It's Poisson for Students of statistics. Let's use Cauchy names and be ready to handle the Logistics of our Exponential success!.
1
1
8
@jonaslindeloev
Jonas K. Lindeløv
1 year
Do you do statistics on clinical trials in a pharma company? Do you use modern/open tools like R? (or want to?) Check out {pharmaverse} and respond to this survey! Pretty cool stuff with heavy lifting from my skilled new colleagues at @novonordisk.
Tweet card summary image
docs.google.com
Hi all, On behalf of our pharmaverse R Adoption WG, we wanted to put out a survey to assess the latest "State of the Industry" with respect to how sponsor companies (e.g. pharma/biotech) are embedd...
0
1
5
@jonaslindeloev
Jonas K. Lindeløv
1 year
I can die happy now.
0
1
20
@jonaslindeloev
Jonas K. Lindeløv
1 year
NEW JOB. After 4 years at @KamstrupGroup, I'm starting as a statistical specialist at @novonordisk in April. This will mark a "return home" to working with patient studies and RCTs. So exciting!.
3
1
23
@jonaslindeloev
Jonas K. Lindeløv
1 year
Revewer #2: "The authors should check all the language over the whole manuscript.". Also reviewer #2: "After the discussion section, there is conclusion section, however, it should be placed again.".
0
0
5
@jonaslindeloev
Jonas K. Lindeløv
2 years
What!? Why didn't I realize this earlier?. BTW, this whole thread is 👌 @TaymAlsalti.
@taymalsalti
Taym
2 years
Also, somewhat late to the discussion, but if you REALLY want to report “standardised effect sizes”, then you can standardise them using norm instead of sample SDs so that they’re ACTUALLY comparable and meta-analysable.
1
5
16
@jonaslindeloev
Jonas K. Lindeløv
2 years
Money in the bank is not a giant pile of cash. Gold and diamonds is not a giant pile of cash. Someone owing you is not a giant pile of cash. Property is not a giant pile of cash.
@elonmusk
Elon Musk
2 years
@cb_doge Such a silly metric. It’s not a giant pile of cash. I really just own stock in the companies that I was instrumental in creating. Technically, I “lose” way more than that every time Tesla stock randomly drops.
0
0
0
@jonaslindeloev
Jonas K. Lindeløv
2 years
I do indeed get variable name limit at 10,000 chars in R. Try it:. for (i in 2^(0:20)) {. cat(i, ""). varname = paste0(rep("a", i), collapse = ""). assign(varname, i). stopifnot(get(varname) == i).}.
@Cghlewis
Crystal Lewis @cghlewis.bsky.social
2 years
A comparison of character limits for common statistical programs.
Tweet media one
0
1
5