Is carpet better than hardwood for asthmatic people?

As a person with severe asthma, I can tell you that hardwood and also tiled floors are much better. This is because the carpet doesn't get fully clean when you vacuum it and can hold in lots of pollen and dust. When I tiled my house my asthma got a lot better.