I have a dataset of 30.000+ observations. For my thesis I am investigating the effect of the weather on rating scores. For a subquestion I need to compare the effect of precipitation on the review score for people from different countries. specifically: I’m trying to find out if the effect of precipitation on the rating score is higher for people from countries where the yearly average precipitation is lower. I ran the regression models for all different countries in the dataset and I am wondering how to best proceed from here. How can you test whether the effect of one country is significantly higher than that from another country to test if the hypothesis is true?
This are the models:
regression per country by_country <- group_by(data3, Land, AVGpercipmm) data_grouped <-do (by_country, glance(lm(Overallrating ~ DailyprecipIntensitydummy + DailyprecipAccumulationdummy + Numberofreviews, type="text", data = .))) data_grouped2 <-do (by_country, tidy(lm(Overallrating ~ DailyprecipIntensitydummy + DailyprecipAccumulationdummy + Numberofreviews, type="text", data = .)))
part of the data:
Thank you in advance!