easystats
@easystats.github.io
950 followers 120 following 89 posts
Official channel of {easystats}, a collection of #rstats 📦s with a unifying and consistent framework for statistical modeling, visualization, and reporting. “Statistics are like sausages. It’s better not to see them being made, unless you use easystats.”
Posts Media Videos Starter Packs
easystats.github.io
... which you can do by adding additional "layers", if you use the gt-format or tinytable-format.
easystats.github.io
Not sure about the specific requirements for APA 7 style, but I guess you may need some additionally tweaking of the returned table object.
easystats.github.io
Wanna dive deeper into the table universe? Check out these links:
👉 easystats.github.io/insight/arti...
👉 vincentarelbundock.github.io/tinytable/

Happy printing, everyone! 🖨️ #rstats #easystats
Formatting, printing and exporting tables
easystats.github.io
easystats.github.io
That "tt" option is now fully rolled out across several #easystats packages, powered by the amazing {tinytable} package. This means you can create tables in a gazillion different output formats! How cool is that? 🤯
Example for a colored markdown table, printed to the R console.
easystats.github.io
And you can totally control the vibe! Use the `format` argument to get "markdown" (for a classic kable look), "html" (for a sleek gt-table), or the new kid on the block, "tt" (for a tinytable masterpiece!).
Screenshot of the gt-HTML-table-output
easystats.github.io
... and when they print, it's thanks to some behind-the-scenes magic with `insight::format_table()` and `insight::export_table()`! ✨

But there's more! Many #easystats functions also have a `display()` method. Think of it as your personal table stylist, making everything look super user-friendly! 💅
Screenshot of the default R console table output
easystats.github.io
Alrighty, {easystats} users! 👋 Ever wonder how those neat tables magically appear in your R console, or even better, in your fancy #rstats Markdown and Quarto docs?

Well, most of the objects you work with in {easystats} are basically tables, i.e. a 2D matrix with columns and rows...
library(modelbased)
data(penguins)
model <- lm(body_mass ~ species * island, data = penguins)
out <- estimate_means(model, c("species", "island"))

# basic text output
out

# HTML in viewer pane, using the gt-package
display(out, format = "html")

# tinytable by defaults prints to the viewer pane, too,
# but we change the default to markdown for the console here
options(tinytable_print_output = "markdown")

# nice markdown output in the console, including colored text!
display(out, format = "tt", footer = "") |> 
  tinytable::style_tt(i = 1:3, color = "#cc0000") |> 
  tinytable::style_tt(i = 4:6, indent = 2, background = "#009900") |> 
  tinytable::theme_markdown(ansi = TRUE)
easystats.github.io
Even if you're not tackling these super complex questions, {modelbased} is generally just a fantastic tool for really getting your head around your statistical models. Go on, take a peek! You might just fall in love: easystats.github.io/modelbased/

#rstats #easystats #marginaleffects #inference
Estimation of Model-Based Predictions, Contrasts and Means
Implements a general interface for model-based estimations for a wide variety of models, used in the computation of marginal means, contrast analysis and predictions. For a list of supported models, s...
easystats.github.io
easystats.github.io
Dealing with interrupted time series where a sudden event just messed with everything?
easystats.github.io/modelbased/a...

Curious about disparities, different trajectories of hidden groups, and what makes them tick?
easystats.github.io/modelbased/a...
Interrupted Time Series Analysis
easystats.github.io
easystats.github.io
True to the #easystats vibe, {modelbased} keeps things simple, flexible, and easy-peasy so you can truly unleash the power of your models without pulling your hair out.

Ever wondered about cause and effect in observational data without needing a time machine?
easystats.github.io/modelbased/a...
Case Study: Causal inference for observational data using modelbased
easystats.github.io
easystats.github.io
Okay, so you've crunched your numbers and got some awesome statistical models? Sometimes, just knowing "X predicts Y" isn't enough to really get to the juicy bits. That's where the cool post-hoc stuff comes in – think estimated marginal means, contrasts, pairwise comparisons, or #marginaleffects.
Reposted by easystats
profandyfield.com
I’m about halfway through this update (first 11 tutorials are done). I think they’re a lot better. Using a consistent @easystats.github.io workflow throughout will - I think - massively reduce the cognitive load for students. Looking forward to road testing in autumn term.
profandyfield.com
Probably no-one except me uses my R tutorials in their teaching, but if you do, I'm re-writing them over the next 6-9 months. My goal is to streamline them based on 5 years of using them in class, but if you have (polite) requests/suggestsions let me have them. www.discovr.rocks/discovr/
discovr: a package of interactive tutorials | discovr
Statistics education
www.discovr.rocks
easystats.github.io
How to summarize the total effect of a categorical variable like education? A new vignette shows how to compute absolute and relative inequality with the #easystats {modelbased}📦in #rstats. Get a single, interpretable number to quantify overall group disparities!
easystats.github.io/modelbased/a...
Case Study: Measuring and comparing absolute and relative inequalities in R
easystats.github.io
easystats.github.io
Just dodging is not yet implemented in {tinyplot}, but hopefully coming soon!
easystats.github.io
As you can see, many plot types already work, just some fine-tuning left to do...
easystats.github.io
🎉 Great news, R users! 🎉 We're thrilled to announce that {tinyplot} support is coming to the #rstats #easystats project! Get ready for even more amazing stuff to make your data analysis a breeze! 📊✨
@gmcd.bsky.social @vincentab.bsky.social @zeileis.org
easystats.github.io
Since `display(format = "tt")` returns a `tinytable` object, you can easily modify the table to meet your needs.
easystats.github.io
Here's the default HTML rendering.
easystats.github.io
Improved support for the great {tinytable}📦 from @vincentab.bsky.social coming to the easystats packages! Use the `display()` method for different output formats of your tables - HTML, markdown, or - when `format = "tt"` a `tinytable` object that renders context-dependent.
#easystats #rstats
Reposted by easystats
mzloteanu.bsky.social
#statstab #386 {bayestestR} Evaluating Evidence and Making Decisions using Bayesian Statistics by @mattansb.msbstats.info

Thoughts: Want to start using Bayesian stats? Here is a quick but comprehensive guide in #R

#bayesian #bayes #mcmc #easystats #guide

mattansb.github.io/bayesian-evi...
mattansb.github.io
Reposted by easystats
tjmahr.com
bayestestR::describe_posterior() works on rvar columns
screenshot showing the row dataframe with a column of rvars and the markdown-formatted-table output of describe_posterior() + print_md()
easystats.github.io
But I think the rvar-support is more recent ;-)