Fix syntax error and add observed data to assignment model