I am running a SUR regression with returns of 80 different banks as dependent variables. The independent variables are always the same. You should be able to recreate the regression using the code below, if necessary to answer my questions, which are:
How can I test whether the average of the coefficient for "Event" for all 80 banks in the sample is equal to zero or not?
How can I test whether subgroups in the sample, say the first 20 banks and the last 40 banks, have similar average coeffients for "Event" or if they are significantly different from each other?
library("systemfit") library("plm") cyp3 <- read.table("https://pastebin.com/raw.php?i=/SpuUiaj7", sep=";", header=TRUE) cyp3panel<-pdata.frame(cyp3, c("id", "t")) cyp3sur<-systemfit(returns ~ Price + Pre + Event + Post + Zpre1 + Zevent1 + Zpost1 + Zpre2 + Zevent2 + Zpost2 + Zpre3 + Zevent3 + Zpost3, method = "SUR",data = cyp3panel)
Thanks for your help. Let me know if something is missing, please!