function for GAM-plotting per macrounit

glm for each macrounit

several GAMs for comparison

autocor-analysis

new file for code that was replaced by function but might be useful later on