Joe Powers
banner
joepowers16.bsky.social
Joe Powers
@joepowers16.bsky.social
Behavioral Data Scientist interested in experimentation, causal inference, and workflow.
I have been struggling to set a truncated prior in bambi with a non-zero central tendency. I have posted a reprex with data at this stackoverflow link if anyone can offer support. #bambi stackoverflow.com/questions/79...
how to set truncated t-distribution prior in bambi
%pip install bambi==0.15.0 %pip install numpy==1.26.4 import bambi as bmb import polars as pl from polars import col, lit import pandas as pd import numpy as np import arviz as az np.random.see...
stackoverflow.com
February 28, 2025 at 3:54 PM
For an aspiring simulation study developer, what resources would you recommend to get your head around designing for scalable simulation studies and effectively using PySpark/Databricks and/or AWS Sagemaker to scale large sim studies (cc: @jdlong.cerebralmastication.com, @jordannafa.bsky.social)
November 26, 2024 at 3:22 PM
Reposted by Joe Powers
Neat approach to using Bluesky to thread blog comments
🎉 Bring Bluesky-powered comments to your #QuartoPub blog with this new extension. Publish your blog, post about it on Bluesky, then update your blog with `{{< bluesky-comments {post_link} >}}`. Replies to your post become comments!
pkg.garrickadenbuie.com/quarto-blues...
Bluesky Comments For Quarto
pkg.garrickadenbuie.com
November 26, 2024 at 2:02 PM
I've been churning a lot about how to use expected value of information as a stopping criteria for AB tests. Most of the literature assumes there is some cost associated with sampling, but in the context of an AB test, the only cost is the opportunity cost of delaying rollout of the best variant.
November 10, 2024 at 6:31 PM
Just learned that you can source an R/ directory in your project by default every time you open the project, and have all of those project specific functions available by default! #rstats
November 3, 2024 at 5:05 PM
I’ll be at MIT CODE this week if any of you would like to meet in person.
October 17, 2024 at 3:44 AM
Is there an R or Python package with API to historic weather data? I am trying to access records of daily temp highs & lows in San Diego microclimates, so I'm hoping to gather records from as local stations as possible rather than averages for all of san diego. #rstats #Python #climatescience
October 15, 2024 at 3:20 PM
Reposted by Joe Powers
take the model matrix and mean-center of all predictors. (even the dummy-coded factors). here is that what that looks like for `mpg ~ wt + factor(cyl)`. brms fits the regression model on centered data and so the prior for the intercept is on the mean when everything is mean centered
September 5, 2024 at 8:21 PM
Reposted by Joe Powers
serious question: how do you coach people to become strategic thinkers?

or maybe even more basic, how do you teach them to categorize and process info to recognize patterns?
May 1, 2024 at 6:08 PM
The benefits of informed priors for decision making. First plot demonstrates shrinkage from an informed prior in a growing sample. Second plot tries to quantify accuracy gains for decision making. I'm thinking about expressing "practical accuracy" as defined in the subtitle. Feedback very welcome.
February 3, 2024 at 5:10 PM
Sharing to my future self Ben Bolker’s amazing syntax table for lme4 and brms models bbolker.github.io/mixedmodels-...
January 26, 2024 at 2:45 PM
Trying to convey the value of partial pooling for colleagues who chase noise-prone subgroup analyses. Imagine I know two people who have also spent a lot of time on this. Have either of you found visualizations that intuitively convey the phenomena? @solomonkurz.bsky.social & @jordannafa.bsky.social
January 25, 2024 at 3:01 PM
@gkountourides.bsky.social I remembered your question about better collaboration through git. I have been reading raps-with-r.dev and think you would find it relevant.
December 14, 2023 at 1:11 AM
Reposted by Joe Powers
We've made a major update to the causal diagrams chapter of Causal Inference in R! Check it out to learn about DAGs! I think there's a lot in this chapter that is undercovered in other sources. #rstats #causalinference @lucystats.bsky.social @travisgerke.bsky.social www.r-causal.org/chapters/05-...
November 29, 2023 at 9:30 PM
On 11/9 at 9am PT I will be a guest with Jen Wang on the Posit (RStudio) Data Science Hangout to discuss how academics particularly from social sciences can translate their skills into technical and management roles in industry. No need to register. Please spread the word!

posit.co/data-science...
November 3, 2023 at 3:01 AM
Reposted by Joe Powers
Dunno about "best" but some of the animations in Seeing Theory are good: seeing-theory.brown.edu/frequentist-...
October 28, 2023 at 9:12 PM
Has anyone researched whether FDA phrasing “recommend daily limit” gets widely misinterpreted as “recommended daily dosage” with regard to alcohol intake?

www.nytimes.com/2023/01/13/w...
Even a Little Alcohol Can Harm Your Health
Recent research makes it clear that any amount of drinking can be detrimental. Here’s why you may want to cut down on your consumption beyond Dry January.
www.nytimes.com
October 23, 2023 at 8:34 PM
Reposted by Joe Powers
I thought I'd share this little trick I borrowed from front-end web development - plotting black error bars (or anything really) over slightly thicker white ones to give a subtle outline for better contrast. #rstats #datavis
October 16, 2023 at 11:28 PM
I was today years old when I learned that a base R function can convert log odds to probability values #rstats

log_odds <- 0
plogis(log_odds)
[1] 0.5
October 13, 2023 at 4:15 PM
@solomonkurz.bsky.social when I search github for your blog code I see that content/ stops in 2022 in this repo (github.com/ASKurz/blogd...). Are newer posts available for cloning from a different repo? As always can't thank you enough for your public works!
October 12, 2023 at 4:10 PM