Ultimately, the data for things like this boils down to anecdotes over a wide distribution.
Some people flourish with age; some don't. Each individual's situation arises from a confluence of factors, some within their control (lifestyle, attitude, attention to professional development) and some outside their control (industry changes, ageism, health).
To contribute an anecdote from my own experience: I once worked at a consultancy with a large number of recent grads and one engineer who must have been in his 60s. Through a combination of hard-won expertise and a soft-spoken humility and sense of humor, he had the quiet admiration of all the young people in the office, to the point of coworkers privately raving to me about how great he was to work with.