This statistic displays the percentage of children in the U.S. aged 3 to 17 years who had been told by a doctor or health professional they had attention deficit hyperactivity disorder ( ADHD ) as of 2018 , by gender .