Hello, I'm very new to stata and am having trouble figuring this out.
If have have 2 variable lists, lets just say var1 and var2, how can i find the ∑ni=1 = (var1 + var2)2
I tried googling it to no success. Would I use egen?
Thanks for any help