1. Dreaming of a deceased person attending a funeral at a friend's house may indicate that there will be changes in the relationship with the friend in the near future.
2. It may also imply your fear of death or your admiration for the impermanence of life.
3. Another possibility is that it reflects your subconscious concern for your friend's family situation.