I intend to run a linear regression to measure the possible influence of the Internet on mass political polarization. The explanatory variable Internet is measured as the Internet resp. broadband penetration rate, i.e., one value per year and country (data obtained from the World Bank). I want to measure the dependent variable political polarization by the standard deviation of the left-right political self-placement of the observations on a scale from 1 β 10 (data obtained from the yearly Eurobarometer survey).
I would like to do this not only for the full sample, but also for specific subsamples (e.g., people under 30, people born after 1980, the unemployed, the least educated). I wonder if itβs possible to run these regressions automatically without having to first separately calculate the standard deviation of each country-year for each desired subsample. Because I use 12 β 15 countries and 17 β 22 years, this would take hours. Many thanks in advance.
I would like to do this not only for the full sample, but also for specific subsamples (e.g., people under 30, people born after 1980, the unemployed, the least educated). I wonder if itβs possible to run these regressions automatically without having to first separately calculate the standard deviation of each country-year for each desired subsample. Because I use 12 β 15 countries and 17 β 22 years, this would take hours. Many thanks in advance.
Comment