Let $X_1,\dots,X_m$ be dependent random variables. We are interested in efficient algorithms for computing the following quantity: $$E\Big[\Big(\sum_{i=1}^m X_i\Big)^k\Big],$$ where $k\in\mathbb{N}$ and $E$ denotes the expectation. This has to be computed for several $k$'s.
Are there any ideas or good references? Is it optimal to first do the combinatorial part, and then evaluate the expectations?