Hi,
I have a nonnested panel data structure of firms across 24 different countries and 24 different years. Not every firm has data for every year. Every firm belongs to one country. I model this data structure using the following brms() syntax.
y ~ 1 + x1 + ( 1 + x1  year:country) + (1year) + (1country)

Does this model formula / approach make sense in terms of modelling this nonnested multiple membership structure?

Is it correct to say that this structure implies that individual firms are nested within all three groups (
country, year, country:year
), rather than only withincountry:year
groups? (I ask because it also possible, apparently, to treatcountry:years
as crossclassified withincountries
andyears
along with individual firms as strictly nested in country:years.)***
Many thanks,
Ilan
*** Alexander W. SchmidtCatran and Malcolm Fairbrother, `The Random Effects in Multilevel Models: Getting Them Wrong and Getting Them Right’, European Sociological Review, 2016, Vol. 32, No. 1, 23–38.