Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试创建一个程序,该程序将允许我选择一个 STATLIST (L1,L2,...) 作为变量并取 L1 值 1 (L1,1) 乘以 L2 值 1(L2,1)。然后将该乘积与函数中的所有值相加。
所以在一个常规的函数形式中
总和[(L1,1*L1,1)+(L1,2*L2,2)+(L1,3*L1,3)+...]
此功能用于计算 GDP 以尝试在我的 MacroEcon 考试期间节省时间。因此,如果有人知道一个程序可以计算像这样的基本经济函数,那么给出的表格会更好。