The analysis found that a cohort of poorer males within Generation X - those born between 1960 and 1980 - were at increased risk because of the economic and social conditions of the decades.
Scots Tough Mudder Runners Catch E Coli
Participants in an endurance event at a Scottish castle have been warned to look out for symptoms of E.coli O157 after it was identified among those who took part.
NHS Dumfries and Galloway said "a small number of cases'' of the bacteria have been found in those involved in the Tough Mudder event at Drumlanrig Castle last month.
It has advised anyone associated with the event who experiences symptoms to seek medical advice.
A spokesman for the health board said: "NHS Dumfries and Galloway can confirm that we are aware of a small number of cases of E.coli O157 across Scotland that appear to be associated with participation in the Tough Mudder event which was held at Drumlanrig Castle on June 17 and 18.
"Any activity undertaken on agricultural land inevitably involves a small risk of gastrointestinal infection.''
Symptoms include diarrhoea, vomiting, stomach cramps or fever.
The health board said people usually notice symptoms three to four days after they have been infected, but they can take anything up to 14 days to develop.
The endurance course is described by organisers as "probably the toughest event on the planet'' and involves 20 obstacles over a 10-12 mile course. About 11,500 people took part this year.
A spokesman for the event said: "The safety of Tough Mudder participants, spectators, volunteers and staff is our number one priority.
"Tough Mudder is aware of the situation in Scotland and is working closely with local authorities.
"We are sorry to hear that Tough Mudder participants are unwell and wish them a full and speedy recovery.''
Scottish Government waiting-time targets of 18 weeks were missed for 3,666 children in the year to March 2017.
The study found that while some over-60s felt well looked after by prison staff, others were not having their needs met by the system.
We're told it was started deliberately.
Most Viewed Pictures On Heart
Recently Played Tracks
To listen live, choose your preferred station:
Now playing: The best feel good music
Deposit £10 to get a £40 Welcome Bonus - That's £50 to play bingo, slots and more!*
Over 50 tracks to make you feel-good. New album out now...
Find your local four day weather report here.
Make Heart the soundtrack to your day and you could be a winner with great prizes up for grabs throughout the day.
Find out more about some of the companies advertising on Heart Scotland- East.