isabellaghement.bsky.social
isabellaghement.bsky.social
@isabellaghement.bsky.social
Thank you, Daniel! Your prayers are much needed and appreciated. 💕🙏💕
June 29, 2025 at 7:52 PM
Reposted by isabellaghement.bsky.social
Solving problems in this way (doing the work!) helps you recognize patterns in solutions, connect ideas, etc.

I can't imagine wanting to give that up!
June 5, 2025 at 2:51 AM
Note that beta regression can only handle response variables that live in the (0,1) range.
June 5, 2025 at 9:06 AM
Could drop some resources here for you once you confirm that your response variable lives in the [0,1] range.
June 5, 2025 at 9:01 AM
The other option would be to use an ordbetareg model.

For both model options, you could go either via the Bayesian route or the Frequentist one in terms of R implementation.
June 5, 2025 at 9:00 AM
Your response variable is bounded between 0 and 1?

If yes, one option would be to use a ZOIB model (zero-and-one-inflated beta regression model).

In which case, you would have to pay attention to how the sub-models making up the ZOIB are parametrized.
June 5, 2025 at 8:58 AM
I’m with you, Ben! A participant in my last R course asked me for help with a coding problem he was having.

He shared the clunky ChatGPT solution which didn’t even work as advertised. 🤮

The solution provided by my brain: 2 lines of elegant code. 💪
June 5, 2025 at 2:48 AM
If we want to “keep” all rows were col1’s elements are not equal to “a” AND col2’s elements are not equal to “b”, then we can do this:

filter(col1 != “a” , col2 != “b”)
May 27, 2025 at 2:03 PM
The filter() function uses the comma symbol , as if it were the and operator &.

So filter(col1 == “a” & col2 == “b”)

can be specified as:

filter(col1 == “a” , col2 == “b”)
May 27, 2025 at 2:00 PM
When I teach R, I encourage my course participants to replace “filter” with “keep” in their minds. That makes it a lot easier to understand we are keeping certain rows of a dataset.
May 27, 2025 at 1:58 PM