That would work for solar, because most solar set-ups are still connected to the grid, and you are just trying to offset your usage. With a back-up generator the real number you need to work with would be the peak usage instead of average usage.
As an example, my last power bill says I used 1260 Kwh. The bill covers 31 days, so that's 744 hours or 1.69 Kilowatts per hour. I'm very doubtfull that even a 2 kw generator would come close to powering my house. I have a well, an electric water heater, an electric oven, and an electric dryer, not to mention all the lights, computers, refrigerator, etc.
Last time I pushed the numbers to see what I needed for a backup generator, I came up with 6 kw minimum, and that would require some power management tactics like only running one 220 volt appliance at a time (dryer, water heater, oven). I think I'd need a 10 kw to run the house like we normally do.
It would be interesting to take a poll here where we all put in our calculation based on the power bill vs. our calculation based on one of the more popular generator wattage calculators and see if we come up with a consistent conversion factor.