It is the capital of Kozani Prefecture and of the region of Macedonia .
Today Kozani is the administrative , commercial , economic , and transport center of the region of West Macedonia .