Liberty University

Question

Asked 2nd Sep, 2022

# How many Countries for Cross Level Interactions in HLM?

I have data from European Social Survey (24 countries) and want to model a cross level interaction. Can I do this with a simple random intercept (fixed slope) model? Or do I have to model a more complex random slope model? And if so, are 24 countries sufficient?

I am not explicit interested in explain the different slopes on Level 2 due to the cross level interaction. If its possible I would do that, but I think I need more countries right?

But i definetely want to show, that trust in institutions (Level 1 variable) depends on the level of corruption (level 2 variable) in a country. Can I do this with random intercept fixed slope model?

## Most recent answer

Great question. Refer to YouTube's "Cross Level Interaction: Hierarchical Linear Modeling (HLM) in HLM 7. https://m.youtube.com>watch

As for the number of countries that you should observe, there would be a need to clarify and classify those 21 countries' forms of government. Therefore, refer to (Lune and Berg, 2017). Perhaps a Chi-Square Test with a tutorial from YouTube and more qualitative methods.

## All Answers (9)

Christian Geiser Consulting LLC

A random intercept model is sufficient if your interest is mostly in explaining mean differences in trust across countries by level 2 predictors (so-called "means as outcomes model"). For that, a random slope is not needed.

You do need to model a random slope if you want to study potential cross-level interactions between level 1 and level 2 predictors. With a fixed slope, there would be no differences in slopes across level 2 units, and, consequently, you could not have a level 2 predictor explaining differences in the slopes.

Whether or not 24 is enough depends, among other things, on the expected effect size. You just have to try it out...

2 Recommendations

University of Bristol

Have a look at https://www.researchgate.net/post/Cross-level-interaction-without-specifying-a-random-slope-for-the-Level-1-variable

and in terms of sample size at the higher level

you will see that when there are lots of respondents in few counties, the MCMC Bayesian approach does a good job at getting quality estimates.

and an example with a complex random part

2 Recommendations

Dhofar University

Sharif El Masry Have a look

2 Recommendations

Philipps University of Marburg

Thank you very much for the advices and sources. I think I will do a random slope model with 24 countries if theres not a big conflict. Thank for the literature also.

In the Article "How Many Countries for Multilevel Modeling? A Comparison of Frequentist and Bayesian Approaches" is written, that we better use a Bayesian Approach for the Model. Is it correct, that standard code for multilevel modeling in e.g. "R" is NOT using this approach?

University of Bristol

Sharif El Masry You are correct; I believe that lme4 in R does not use Bayes/MCMC estimation

there is a chapter on what it involves in

and here is one implementation in R

1 Recommendation

Philipps University of Marburg

@Kelvy Jones Thank you very much. The code is even simple and similar as lme4.

But I think its a little bit to much for the Master Thesis. But I definetely will use it for my PhD in the near future! Thanks!

Liberty University

Great question. Refer to YouTube's "Cross Level Interaction: Hierarchical Linear Modeling (HLM) in HLM 7. https://m.youtube.com>watch

As for the number of countries that you should observe, there would be a need to clarify and classify those 21 countries' forms of government. Therefore, refer to (Lune and Berg, 2017). Perhaps a Chi-Square Test with a tutorial from YouTube and more qualitative methods.

## Similar questions and discussions

How to collect research data from different social media platforms?

- Md. Sayeed Al-Zaman

I am a social media researcher so that I have to collect various communication data from different social media platforms. The research data I am talking about include comments, reactions, views, and so on. In Bangladesh, the two leading social media platforms are Facebook and YouTube. As I am not much efficient in any programming language yet, so I must rely on other data collection/scraping tools (mostly free) to collect data easily from these two sites.

For Facebook and YouTube, for instance, I use CrowdTangle (www.crowdtangle.com), Mozdeh (www.mozdeh.wlv.ac.uk), Webometric Analysts (www.lexiurl.wlv.ac.uk), Comment Exporter (commentexporter.com), Export Comments (www.exportcomments.com), Social Blade (www.socialblade.com), etc. Previously, I also used Netvizz and Facepager, but they are unavailable right now.

What could be more suitable alternatives? Also, TikTok as a popular social media is thriving in South Asia, mostly among teenagers. Therefore, can anyone suggest to me how to collect/scrape TikTok data (e.g., channel metrics, video views, reactions, comments)?

Thanks in advance.

## Related Publications

A cross-level interaction is said to occur when the effects of client or employee characteristics interact with organizational characteristics to influence an employee or client outcome variable. Hierarchical linear modeling (HLM) is briefly described, particularly as it applies to the study of cross-level interactions. HLM is then compared to mode...

Because public schools do not randomly assign students and teachers across schools (a methodological utopia), multilevel evaluation methods which account for student and school contextual and practice variables in their natural settings provide the most rigorous means for showing empirically what is actually happening in school classrooms. However,...

As empirical research on terrorism has proliferated in recent years the methodological approaches used to study it have become increasingly sophisticated. Scholars from diverse academic backgrounds have applied a wide range of analytical tools to the topic. However, one approach that arguably has been underutilized is multilevel analysis. The study...