I am trying to create a program that will allow me to select a STATLIST (L1,L2,...) as variables and take L1 value one (L1,1) times L2 value 1(L2,1). Then sum that product with all values in the function.
So in a regular function form something like
Sum[(L1,1*L1,1)+(L1,2*L2,2)+(L1,3*L1,3)+...]
This function is to calculate GDP to try and save time during my MacroEcon exam. So if anyone knows a program that will calculate basic economic functions like this given tables that would be even better.