What the media never or rarely mentions is did the victim or police later determine WHY was the home was targeted. That's the rest of the story. About only the cops hear that. Why was that house picked out and not others. Normally (means not always) when the facts are known the home was targeted( not in order), by mistake, suspect knew they had money or valuables, thought no one was home, a drug house. Random has happened but not much. They are normally preplanned events done so for a predicted gain. Just by limiting your risk is a big factor, don't let it be known you have a gun collection, valuables, a lot of cash kept in the home in a safe or not. Even grandkids or their gang buddies have committed these crimes when they know what they can steal. Unfortunate that grandkids have done this to their own grandparents, but yes it happens.
Many more attacks happen in public vs your home. Why would that be. Well, one is your domain the other is theirs. Be prepared, have a plan, but likely it will never happen unless your fall into a high risk category. In Oregon after the MJ stores opened and crooks all knew its a cash business, guess what has followed. An uptick in burglaries and robberies at the business, but also homes of the owners being hit. How would the crooks know where they live, employees and family mostly.