# Is the periodogram squared-magnitude DFT or squared-average DFT?

How is the periodogram defined? I have been searching the internet a lot, and I find two different definitions:

• periodogram is the squared magnitude of the DFT
• periodogram is the squared average of the DFT

which one is correct?

-