There may be indirect effects; people who get too little sleep may be too tired during the day to exercise, while those who spend a lot of time in bed may spend less time being active, relative to people who sleep fewer hours.