A study carried out on more than 260,000 households shows that installing solar panels on a house can influence the decisions of neighbors. It increases the likelihood that they will mount their own panels, buy an electric car and even consume less power.