How is the height, weight and age of characters determined?
They are provided by the creators, often together with artworks of the characters. Fans like them, so these infos can be used to advertise for the anime.

Here is an example (from Free!):