The person giving the reference has to be knowledgeable about you and capable of supporting any claims made about your character with examples. Although choosing a friend or member of your family to serve as a referee is permissible, choosing someone unrelated to you is preferable because they can see their judgment as biased.