Near the end of The Wizard of Oz, after Glinda informs Dorothy she can go back to Kansas, Dorothy says her goodbyes to her traveling companions. When she gets to the Scarecrow, she simply embraces him and cries, "I think I'll miss you most of all."
...Why? She didn't seem to be any closer to him than either of the other Ozites. She knew him for, like, an hour more than she knew the others, and I guess he came up with the apple thing, but I can't see any reason she'd be more endeared to Scarecrow than Lion or Tin Man. And while we're at it, Dorothy says she'll miss him most while her other friends are standing right there! Simply put, why does this line exist?
I presented this question to my mother, and she thought that it was an indication that Dorothy may have had some unstated fondness for Scarecrow's Earthling counterpart--that is, farmhand Hunk. However, this doesn't seem to have any evidence besides after-the-fact reasoning, and besides, I'm not sure Dorothy was meant to have recognized the similarity between the Ozites and Kansans. (A unsourced sentence on the Scarecrow wikipedia page seems to endorse this theory, claiming a scripted but unfilmed scene included Dorothy promising to write a college-bound Hunk.)
Why would Dorothy say she'd miss Scarecrow most of all when there doesn't seem to be any reason behind it?