Profile avatar
bharrap.bsky.social
doer of data things, mainly in #rstats biostatistics/data engineering/survey design Indigenous data sovereignty currently on Ngunnawal and Ngambri lands non-binary (they/them) not Indigenous benharrap.com
432 posts 1,770 followers 735 following
Regular Contributor
Active Commenter

Buckle up academics, a new natural experiment just dropped

“Reduced new bug reports by 9% in February”

World Pride is in DC this year. 🚩🚩 If this pans out, probably time to consider if hosting conferences in the US is an exclusionary act on the behalf of organising committees to your professional networks and/or communities. (Narrator: it is.)

I get to propose a variable naming convention. Give me your "I'll die on this hill" opinions about variable names #databs #rstats

@quarto.org is the superior web technology #rstats

Generals: Please keep funding aid, it's vital to national security. Spooks: Please keep funding aid, it's vital to national security. Some Lib-Dem who got made "Minister of State for Europe and the Americas" for 18 months 13 years ago: "I HAZ A THOUGHT!"

Not long after I submitted my application to the national redress scheme I received a phone call from the local police where the abuse occurred. The Catholic church had reported my application to police after the government provided my application to the church.

#remotework 😬

Here's an #RStudio quality of life option you might not have known about: Global options -> Code -> Display -> Allow scroll past end of document Let that last line of code be free from the bottom of your screen! #rstats

Collider bias is the trickiest one of these—I use this example too: If the true relationship between niceness & appearance is zero but you only look at people you've dated (i.e. adjusted for that collider) you're missing a whole quadrant—the result is wrong and only valid for part of the population

@hadley.nz I can't message you but wanted to let you know google is listing a broken link to your site (r4ds.hadley.nz/base-r) - the actual URL has a capital R at the end. Idk if you need a redirect or something You're the top result for "base R" searches though, very nice

Getting a #PhD is really starting to pay off - now I have a title that's actually in the drop-down list when I book flights!

So many of my #RStats checks got cleaner when I learned that nrow() always returns a number if you scream it loud enough: ``` nrow(NULL) #> NULL NROW(NULL) #> [1] 0 ```

Realising that instant messaging is my preferred method of communication because you don't get the awkward speaking-over-each-other-trying-to-take-turns situations. Send your message and have several conversations at the same time! ... I also yearn for the MSN messenger days of my millenial youth

I love coming across an artist for the first time and finding out they've already got a massive catalogue of music This banger from Empirion is what got me hooked - they also do a sick remix of The Prodigy's Firestarter (very cyberpunk vibes) www.youtube.com/watch?v=MJbM...

NEW PAPER in @bmj.com where we discuss the rationale, challenges, and approaches to providing uncertainty of risk estimates from clinical prediction models www.bmj.com/content/388/... #StatsSky #MLSky #EpiSky #AI #machinelearning

I'm finally getting around to creating a _brand.yml for my workplace and it's *so* easy to set up. Applying your own brand guidelines very quickly makes #Quarto output look so much better than the default settings. Trying my best to remove all barriers to adopting R/Quarto! #rstats

"We need less research, better research, and research done for the right reasons." Doug Altman wrote this in 1994. NINETEEN NINETY FOUR! And it's only gotten much much worse. At least in medicine and health, we are doing harm by maintaining a stutus quo aimed at maximizing publication numbers.

My legacy *bows*

My favourite #rstats function today is %in%. I love how simple it makes conditions! varlist <- data_dict |> filter( type == "text", validation %in% c("number","integer") ) data <- raw_data |> mutate( across( matches(varlist$field_name), ~ as.numeric(.) ) )

Why does @weare.rladies.org have less than 1000 followers? We can do better than this #rstats folks. It is a terrific account to follow because every week not only we get to know a new member of the #RLadies community but we also get to read their R favorites, tips, and jokes.

Who at Microsoft thought it would be a good idea for Excel to automatically convert text to dates, destroying the original underlying data, and automatically writing over the original file without asking you #dataBS

Hey #academicsky, what is your approach to keeping track of things you do that are relevant to applying for promotions? What sort of things are you tracking? I realise I should start tracking stuff now instead of trying to remember it later.