strengejacke / sjPlot

sjPlot - Data Visualization for Statistics in Social Science

Home Page:https://strengejacke.github.io/sjPlot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plotting FE model coefficients - standardized within or between units?

MariusBug opened this issue · comments

Hello,

I am using sjPlot to visualize the standardized coefficients of a two-way fixed effects model, i.e., I am using the options

pred.type = c("fe"), type = "std"

However, I am unsure whether sjPlot considers within-unit (as desired for panel models) or between-unit variation for the standardized coefficients here, which is essential for the interpretation of the plot.

So, which type of variation is used? And if it is between units, is there a way to switch it to within?

Thanks!

commented

It's a "simple" standardization of coefficients that is carried out here, see https://easystats.github.io/parameters/articles/standardize_parameters_effsize.html

You can demean your data using datawizard::demean() before you fit the model. See also this vignette.