I yelled at my kid for refusing to go to a sleepover
You yelled at your kid for not getting out of the house and sleeping elsewhere?
It's my house and my kid, I will do what I want.
It's OK to make the rules in your own house, but insisting who and when they spend time with is a bit much. You need to let go.
No, they need me to still control them and make them listen to me. It's good for them to be a bit scared of me so they behave.
If your child is old enough to spend the night at friends' houses, then they are old enough to make some decisions about who they want to spend their time with and when. Don't you think if you continue your controlling behavior, the child might grow up to resent you?