In this paper we give a transformation formula for an analytic generalized
Eisenstein series. In the same way that the ordinary Dedekind sums arise in
the transformation formula for the logarithm of the Dedekind eta-function,
similar sums arise in the formula for the following generalized Eisenstein
series.