I am developing a Growth model using either GEE (gamma) or generalized mixed effect model(gamma) for psychiatric symptoms in Alzheimer with 6 measurments over 6 consecutive years. There are linear, quadratic and cubic growth terms. My statistical abilities are limited to SPSS. I want to use orthogonal polynomials and have copied in the same values for each subject from a calculator for Chebyshev and Legendres polynomials which improve model fit and pred/observed. I suspect this is wrong and that I should generate different values for each subject and create a Matrix. Does anyone know how to do this (and maybe miraculousley in SPSS, I guess by syntax)?

Similar questions and discussions