David Baranger's Avatar

David Baranger

@davidbaranger.bsky.social

Assistant Professor at the Medical College of Wisconsin. πŸ§€ Substance use, neuroscience, genetics, & development. 🧠🧬🍺 Rock climber & dad. He/him. πŸ§— Opinions my own. bearlab.science 🐻

1,131 Followers  |  1,062 Following  |  480 Posts  |  Joined: 09.09.2023  |  2.3002

Latest posts by davidbaranger.bsky.social on Bluesky

A new favorite citation appeared!

03.10.2025 02:09 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

TIL in Windows you can use PowerShell to search not only file names but also text file contents - including .R and .Rhistory files. In a moment of pure insanity, 1.5 years ago I did not save the code for a figure, but it was recorded in an old .Rhistory file!

30.09.2025 16:32 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Lol thanks!!!

25.09.2025 15:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Also, I will be at #SRP this week if anyone wants to chat!

25.09.2025 15:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1

Current projects in the lab include longitudinal neuroimaging of substance use at different time-scales, family-based studies of casual and genetic effects, and the development of new ML models for task fMRI. This is a funded position with up to 3 years of funding available.

25.09.2025 15:03 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
Opportunities Interested in the neuroscience of addiction? We are recruiting at all levels!! Reach out to Dr. Baranger – dbaranger@mcw.edu Postdoctoral fellows/Senior Scientists: Please send an email conta…

Excited to share that I am officially recruiting a postdoc to study the neurobiology of addiction! Looking for someone who would be excited to lead current projects in the lab and develop new directions in related areas.
More info: bearlab.science/opportunities/

25.09.2025 15:03 β€” πŸ‘ 29    πŸ” 14    πŸ’¬ 3    πŸ“Œ 1

πŸ§ πŸ“Š New research examines potential bias in brain age algorithms across racial groups

πŸ“ˆ Study of 6 popular algorithms found lower accuracy for African American participants (r=0.51-0.85) compared to White/Hispanic participants (r=0.57-0.89)/1

22.09.2025 15:08 β€” πŸ‘ 11    πŸ” 3    πŸ’¬ 1    πŸ“Œ 1
Preview
The lifespan trajectories of brain activities related to conflict-driven cognitive control Cognitive control is fundamental to human goal-directed behavior. Understanding its trajectory across the lifespan is crucial for optimizing cognitive…

π“π‘πž π₯𝐒𝐟𝐞𝐬𝐩𝐚𝐧 𝐭𝐫𝐚𝐣𝐞𝐜𝐭𝐨𝐫𝐒𝐞𝐬 𝐨𝐟 π›π«πšπ’π§ 𝐚𝐜𝐭𝐒𝐯𝐒𝐭𝐒𝐞𝐬 𝐫𝐞π₯𝐚𝐭𝐞𝐝 𝐭𝐨 𝐜𝐨𝐧𝐟π₯𝐒𝐜𝐭-𝐝𝐫𝐒𝐯𝐞𝐧 𝐜𝐨𝐠𝐧𝐒𝐭𝐒𝐯𝐞 𝐜𝐨𝐧𝐭𝐫𝐨π₯ | "The predominant lifespan trajectory is inverted U-shaped, rising from childhood to peak in young adulthood before declining in later adulthood" www.sciencedirect.com/science/arti...

17.09.2025 15:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Additive and Interactive Relations of Personality and Cognition With Externalizing Behaviors - Nathaniel L. Phillips, Nathan T. Carter, Kevin M. King, Courtland S. Hyatt, Max M. Owens, Donald R. Lynam... Personality and cognition offer robust frameworks to understand the individual differences associated with externalizing behaviors. However, these literatures h...

π€πππ’π­π’π―πž 𝐚𝐧𝐝 𝐈𝐧𝐭𝐞𝐫𝐚𝐜𝐭𝐒𝐯𝐞 π‘πžπ₯𝐚𝐭𝐒𝐨𝐧𝐬𝐨𝐟 𝐏𝐞𝐫𝐬𝐨𝐧𝐚π₯𝐒𝐭𝐲 𝐚𝐧𝐝 𝐂𝐨𝐠𝐧𝐒𝐭𝐒𝐨𝐧 π–π’π­π‘π„π±π­πžπ«π§πšπ₯𝐒𝐳𝐒𝐧𝐠 𝐁𝐞𝐑𝐚𝐯𝐒𝐨𝐫𝐬 | "Although interaction effects were detected, they were small and practically negligible in their explanation of variance in externalizing behaviors" journals.sagepub.com/doi/10.1177/...

17.09.2025 15:40 β€” πŸ‘ 9    πŸ” 4    πŸ’¬ 0    πŸ“Œ 1

Thanks! I was able to create an educator account on datacamp, which lets me give trainees access for free if then enroll in my 'class'. So far it looks like a useful supplement, particularly for programming concepts that might be new

15.09.2025 18:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Wooo NOA day! Phew.

12.09.2025 20:47 β€” πŸ‘ 11    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

If you're looking at pre-6.0 ABCD results with subcortical rs-fMRI correlations, the labels are all wrong! We reported a result as Auditory - L Putamen, but it it was actually Default Mode - L Cerebellum. docs.abcdstudy.org/latest/docum...

10.09.2025 20:44 β€” πŸ‘ 10    πŸ” 5    πŸ’¬ 2    πŸ“Œ 0

For sure. I guess my point is that a generative epistatic model with uncentered effects is equivalent to a centered model with large additive effects with the means added in after the data are generated. So the increasing additive effects you're seeing at higher MAF are expected.

29.08.2025 01:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thanks so much!! Instead of saying that this is skew (MAF), I would say that this comes from not mean-centering X1/X2 before making the interaction term. I do find it surprising that the extent of the multi-collinearity (from not mean-centering) is larger when X1 & X2 are normal (MAF=0.5).

28.08.2025 16:11 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I'm finding it hard to wrap my head around this. I would have expected the opposite! Would you mind sharing your simulation code?

28.08.2025 01:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I posed the original as well! My re-statement is intended to explain why I'm interested in the question.

12.08.2025 03:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Ok thank you!!

11.08.2025 11:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I'm thinking of an additive effect as one in which the two variables are both significant predictors. It's not additive if one variable is unrelated, or doesn't explain unique variance. Model comparisons are also sensitive to when only one of the two is significant.

11.08.2025 02:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Test if two coefficients in a linear model are both significant Is there a single test one can perform that would be significant if two coefficients in a linear model are both different from 0, but would not be significant if only one of them differs from 0? Ye...

If interactions are incorrectly used when the actual hypothesis is an additive effect, then what's the appropriate test? stats.stackexchange.com/questions/66... #stats #rstats

10.08.2025 23:19 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 3    πŸ“Œ 1
Preview
Pitfalls in performing genome-wide association studies on ratio traits Genome-wide association studies (GWASs) are often performed on ratios composed of a numerator trait divided by a denominator trait. Examples include body mass index (BMI) and the waist-to-hip ratio, a...

But I don't know of any lit that explicitly unpacks this. Probably because they're not treated as such - main effects are mostly never included, so effects can actually be misattributed to the ratio term. See BMI - pmc.ncbi.nlm.nih.gov/articles/PMC...

16.07.2025 21:30 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

IMO, ratios are often incorrectly used as a way to adjust for a baseline value. I would also be wary of using with scales that approach 0 (funky distribution). If that isn't the case, then I agree with Tom that the interpretation could be like an interaction term where you didn't mean-center first.

16.07.2025 21:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Folks who had RAs learn R while in your lab - what resources were helpful? Are things like datacamp worth it?

14.07.2025 14:18 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
npp's "Meet the Editor" with Dr. Arpana Agrawal
YouTube video by NPP Journal npp's "Meet the Editor" with Dr. Arpana Agrawal

Don't miss this interview with ✨new✨ @npp-journal.bsky.social Associate Editor Dr. Arpana Agrawal & our Special Projects Manager @brikchen.bsky.social

Hear Dr. Agrawal's thoughts on the scope of the journal, NPP articles, and the role of peer reviewers (aka YOU!)

www.youtube.com/watch?v=_HqN...

29.05.2025 15:51 β€” πŸ‘ 5    πŸ” 4    πŸ’¬ 0    πŸ“Œ 1

Beautiful! We're hoping to get over there for July 4th

25.05.2025 21:51 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thanks!!

25.05.2025 14:18 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thanks!! Yes, I'm super stoked to be here and connecting with great folks in the area! And thanks for the recs, the Lakefront tour is still fantastic 😁

25.05.2025 13:35 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Awesome, I'm looking forward to seeing it! And I totally hear you, better to have it out than to sit on it for years.

23.05.2025 19:30 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Oh I forgot about that, thanks! Yes totally agree that averaging across subjects could lose us some specificity. Would love to see your approach applied to the full DMCC dataset with individual difference analyses, so we can do more of an apples-to-apples comparison!

23.05.2025 17:18 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Oh for sure, and I think this approach could also be applied in a circuit-specific manner. Definitely something I plan on exploring in the future!

23.05.2025 14:31 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

On the flip side, this kind of approach *does* align very nicely with approaches that involve brain-map comparisons, including things like gene expression or cross-species comparisons of whole-brain parameters, so it also depends a bit on what you mean by "cross-species"...

23.05.2025 14:28 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@davidbaranger is following 20 prominent accounts