News for hackers. Stuff that matters.
Re:Coffee drinking linked to lower mortality risk, new study... by troydavis on Thursday June 02, 2022 @09:52AM (#31594905)
Study: https://www.acpjournals.org/doi/10.7326/M21-2977

And before someone asks "But what if it's .. instead?": Yes, they controlled for lots of things:

> lower risks for all-cause mortality after adjustment for lifestyle, sociodemographic, and clinical factors

The patient data is from UK Biobank, which has quite a bit about each participant. While they can't control for everything (like factors that aren't documented), they can control for a lot - probably including whatever possible confounder someone jumps to.

Although it's still subject to the limitations of an observational study, 171,616 people is a big cohort, mortality is clearly measurable, and the observed effect is really large. It's worth paying attention to.

Re:Coffee drinking linked to lower mortality risk, new study... by ryandvm on Thursday June 02, 2022 @12:12PM (#31596701)
I decided to go the other way and ignore all the potential confounders and just cargo-cult the hell out of all of this stuff. I'm bound to hit a few of the actual factors.

Now if you'll excuse me I need to go drink my coffee and glass of red wine while doing yoga/meditation, then eating Mediterranean meals during my intermittent fasting period while making more that $75K per year, sleeping 8 hours a day and living in a "blue zone".

Re:Coffee drinking linked to lower mortality risk, new study... by nicbou on Friday June 03, 2022 @02:03AM (#31604786)
This sounds like a good life no matter how long it is
Re:Coffee drinking linked to lower mortality risk, new study... by Maursault on Thursday June 02, 2022 @08:57PM (#31602811)
> Now if you'll excuse me

Well, I guess you're more of the live fast die young crowd and shouldn't expect to be here much longer, not without copious amounts of carrot juice, chili peppers and olive oil.

Re:Coffee drinking linked to lower mortality risk, new study... by _moof on Friday June 03, 2022 @04:35AM (#31605739)
Don't forget the turmeric. You know, for inflammation.
Re:Coffee drinking linked to lower mortality risk, new study... by sammalloy on Thursday June 02, 2022 @08:10PM (#31602343)
The red wine thingy was mostly debunked a few years ago. Kudos for adding the $75K part, I got the joke.
Re:Coffee drinking linked to lower mortality risk, new study... by mjb on Thursday June 02, 2022 @10:10AM (#31595097)
Emily Oster has a useful post about why, despite the effort, its is difficult to control for everything that matters in observational studies: https://emilyoster.substack.com/p/coffee-definitely-either-k...

Specifically:

> As result, in the data, sugar starts to look…a lot worse for you over time. In the earliest period of the data there is no observed correlation between the sugar measure and BMI (see below) but by the latest period, it’s hugely correlated. The “sugar-makes-you-fat” story only shows up in the last few years, coincidentally during the period when sugar is less consumed by individuals who exercise, do not smoke and are better educated.

Re:Coffee drinking linked to lower mortality risk, new study... by PheonixPharts on Thursday June 02, 2022 @10:54AM (#31595639)
It's also important that people understand what "control for" means in an observational study.

Nearly all observational studies that you read draw their conclusions from regression analysis (or something, such as a ANOVA, which is a can be trivially implemented as regression analysis).

This just means that a linear model such as this is used:

outcome ~ b_coffee * drinks_coffee + b_income_level * income_level ....

Then, unlike in machine learning, researchers look at the value of the coefficients and most importantly the confidence in the coefficient value. In a simplified example:

years_of_life ~ b_coffee * drinks_coffee + b_intercept

Where b_intercept will represent the life expectancy in general. Then b_coffee (since drinks coffee is binary here) will represent whether or not coffee adds to your years of life. If it's negative it means drinking coffee reduces your life expectancy and if it's positive it means it increases it. In statistics we also look at how certain we are in b_coffee in terms of standard error and p-values. For example if b_coffee is say 5, meaning it adds 5 years to your life, but our standard error in this estimate is 4 (ie 95% chance that the real impact is between -3 and 13 years). In this case the p-value for this coefficient will be higher than necessary to conclude "statistical significance".

But suppose the standard error is very small, like 1 year, where we are virtually certain that coffee does improve life expectancy. To control for say, college education, we just add that coefficient to our model.

years_of_life ~ b_coffee * drinks_coffee + b_college + has_degree + b_intercept

The magic of regression analysis is that if, in fact, people that go to college life longer and people that go to college also drink more coffee, the our coefficient for b_coffee will change in this new model to reflect this. If for example it were to become negative now (with a low p-value) what we would conclude from this model is that coffee is in fact bad for you, and college is good for you and it just happens that a lot of people who go to college also drink coffee.

Just as even the most advanced AI is often just a lot of matrix multiplication with non-linear transforms, the vast majority of observational studies are drawing conclusion using linear models. In practice, as you add more variables to your model, you tend to get a lot of tricky to interpret results. Regression analysis is a remarkably powerful tool, but it is important to remember when you see publications this is what is really happening and there is a lot of room for subtlety when interpreting these models.

Re:Coffee drinking linked to lower mortality risk, new study... by vorpalhex on Thursday June 02, 2022 @11:14AM (#31595889)
Yet all you have to do is miss a factor and you've ended up with correlation.

As a simple question, what about people who have weak stomachs or hearts? My mother doesn't drink coffee because it "makes her heart beat too hard". How, with no actual medical data for "coffee makes my heart beat hard", do you control for that? Is that something to control for?

This is the "caffeine and healthy pregnancy" problem. We know women who consume less than ~200mg of caffeine tend to have healthier pregnancies.. but if you can drink 5+ cups of coffee while pregnant and not get overtaken with nausea, that might indicate something is already wrong.

Re:Coffee drinking linked to lower mortality risk, new study... by canjobear on Friday June 03, 2022 @12:47AM (#31604405)
An important limitation which is often overlooked is that when you "control for" something by entering it into a regression, as you describe, you are only controlling for the linear effect of that thing.

It seems to me that this problem is totally fatal for large-scale epidemiological studies with many factors, of which many are sure to have nonlinear effects.

Re:Coffee drinking linked to lower mortality risk, new study... by t_serpico on Friday June 03, 2022 @01:27AM (#31604612)
Well put. I ultimately view observational studies as hypothesis generators that can spur research into more targeted questions all the way down to the biochemical level.
Re:Coffee drinking linked to lower mortality risk, new study... by TameAntelope on Thursday June 02, 2022 @10:40AM (#31595457)
Yes, science is really hard, and it’s a good point by Oster, but you’ve got to think about the idea that the folks who conducted this study know as well how hard science is, and for them to publish this anyway means they (and their reviewers) did a pretty good job dealing with this issue (and many others).

None of this is conclusive to the point where no further study is necessary, but I’m guessing this study will make some institutions think/rethink their guidance on coffee consumption.

Re:Coffee drinking linked to lower mortality risk, new study... by rajin444 on Thursday June 02, 2022 @12:16PM (#31596784)
> for them to publish this anyway means they did a pretty good job

The standard shouldn’t be “we did the best we can” for the sake of publishing. It should be “is what we’re doing useful”.

> I’m guessing this study will make some institutions think/rethink their guidance on coffee consumption.

This is the major issue with all these kinds of studies. The absolute last thing they should be doing is influencing public policy. Data that’s more or less garbage but you treat it like it’s solid because it’s “science” is harmful.

Re:Coffee drinking linked to lower mortality risk, new study... by TameAntelope on Thursday June 02, 2022 @02:09PM (#31598466)
I'm sorry but I completely disagree; the standard absolutely should be "we're doing the best that is currently possible to determine how things work". Asking for more is entitled and completely misunderstands the nature of science.

We need to have a way to figure out what to tell people to do, and we're doing that, whether you like it or not, with imperfect information.

Also not for nothing, this data is not "more or less garbage". This is about as good as we can do in science right now, and honestly your tone is pretty terrible. It sounds like you want religious levels of certainty and you feel you deserve that.

Science doesn't get much more certain than this (and this is far from very certain in any sense), there is no "better" way to do things that the researchers just lazily didn't follow here, and your suggesting that such is the case is ignorant and selfish. You should feel bad for what you've written here.

Re:Coffee drinking linked to lower mortality risk, new study... by jtc331 on Thursday June 02, 2022 @05:16PM (#31600607)
> Science doesn't get much more certain than this

A well designed RCT isn’t much more certain than this?

Observational studies are hardly the peak for scientific knowledge.

Re:Coffee drinking linked to lower mortality risk, new study... by guelo on Thursday June 02, 2022 @06:45PM (#31601503)
A decades long rigorously controlled RCT in human nutrition science is practically impossible. Even if it were possible the scientist would still have to choose variables to control for in their population selection.
Re:Coffee drinking linked to lower mortality risk, new study... by thereisnospork on Thursday June 02, 2022 @07:04PM (#31601697)
You don't get points for trying. If observational 'scientists' can't discern something about the world which stands up to scrutiny then they are wasting everyone's time, including theirs.
Re:Coffee drinking linked to lower mortality risk, new study... by jaybaxter on Thursday June 02, 2022 @12:04PM (#31596567)
>but you’ve got to think about the idea that the folks who conducted this study know as well how hard science is, and for them to publish this anyway means they (and their reviewers) did a pretty good job dealing with this issue (and many others).

What makes you say that about this paper specifically? Certainly in general there are career incentives for authors to publish papers which are not very conclusive, and we know that relatively useless observational studies do get published.

Re:Coffee drinking linked to lower mortality risk, new study... by rhacker on Thursday June 02, 2022 @11:46AM (#31596323)
I'm kinda "done" with observational studies. It seems like for the last 10 years that's all we get. And every time the studies come out they contradict that last one. When are we going to see the actual coffee atoms attack bad viruses and shit (kinda a joke but seriously, when are we going to have that visibility into exact pathologies).
Re:Coffee drinking linked to lower mortality risk, new study... by akira2501 on Thursday June 02, 2022 @08:00PM (#31602251)
"People who drink coffee live longer."

Unhealthy people start drinking coffee in the hopes it's some kind of magic elixir that can erase their unhealthy choices.

Check again: "People who drink coffee don't live longer."

Unhealthy people try to find some other magical cure from a new observational study, maybe of eggs, this time.

Re:Coffee drinking linked to lower mortality risk, new study... by libraryatnight on Friday June 03, 2022 @12:44AM (#31604387)
My family has a history of all kinds of diet/exercise related issues. Diabetes, kidney issues, heart disease. It's sort of funny if you search up diets useful to avoiding and or living with these problems you'll generally find it's the diet we all know. Eat lots of vegetables, eat whole grains(Wilfred Brimley told me to eat my oatmeal, that SOB was right), if you eat meat do so in portioned moderation, eat fruits but not to excess.

I don't really know anyone personally who doesn't know what they're doing bad to themselves. When I order a salad and my buddy orders a butter seared steak and fully loaded baked potato (after he ate a whole pack of sour patch kids at the movie), and I don't say anything, but he says "You've got to enjoy your life!" I know he knows. Because I've done that, and I knew. I'm no Sporty Spice but if more salad than steak, and more water/tea than soda/beer, means I don't have to go to a regular dialysis appointment I'd consider that a tick under "enjoying life," personally. But if I could eat the steak and potato and candy and just offset it with more coffee - by god, that's the ticket.

Re:Coffee drinking linked to lower mortality risk, new study... by jnsie on Friday June 03, 2022 @11:02AM (#31609258)
> means I don't have to go to a regular dialysis appointment

I'm going to copy a comment I made regarding Type 1 Diabetes on another post about a year ago. It's relevant because what you're saying, though very true, comes down to immediate effort versus delayed impact. I think people who fail to control their diabetes largely do so for the same reason people fail to control their diets...

> I am going to make a weird, but IMHO apt, comparison to Type 1 Diabetes. T1D is an attritional disease caused by the pancreas's inability to produce enough/any insulin and the list of complications is long and deadly. As someone who has lived with the disease for decades what makes the disease particularly insidious is immediate effort versus delayed impact. The disease affects everything...every single part of every single day. Eating, sleeping, exercising, traveling, finances...everything. And to be on top of everything is extremely effortful. However the impact of not taking enough insulin, of not checking blood sugars frequently enough, or living with high blood sugars, is delayed. Today's transgressions may not be punished for decades. It is no shock to read about poor therapy adherence when the effort is immediate (and constant) and the effect is delayed (and therefore hypothetical). I see the same issue - immediate and constant effort coupled with long term hypothetical effect - with protecting one's privacy. Obviously one should do the right thing. But many won't.

Re:Coffee drinking linked to lower mortality risk, new study... by strken on Friday June 03, 2022 @02:59AM (#31605097)
Salad's funny because it can mean anything from "lean chicken breast on lettuce and tomato with a tiny bit of balsamic and oil, 200 cal at 60% protein/20% carbs/20% fat" to "mayonnaise potato and bacon, 1000 cal at 10% protein/20%carbs/70% fat," and pretty much everywhere in between.

Not to nitpick what you're saying, anyone on HN who orders a salad is probably thinking about what's in it, but it's worth pointing out that the category is so broad that it can be deceptive for anyone who doesn't read the fine print. I read an article the other day complaining that a 324 cal Subway 6-inch didn't taste as good and wasn't as filling as a 685 cal Sweetgreen salad bowl.

Re:Coffee drinking linked to lower mortality risk, new study... by FalconSensei on Friday June 03, 2022 @12:34PM (#31610559)
> to "mayonnaise potato and bacon, 1000 cal at 10% protein/20%carbs/70% fat,"

I never thought about something like that being considered salad... but maybe I'm the weird one? Also, whoever orders that knows that this is not healthy right?

Re:Coffee drinking linked to lower mortality risk, new study... by gnicholas on Friday June 03, 2022 @12:45PM (#31610672)
As a Californian, I always have to remember that in other parts of the country salad dressing is applied much more liberally. Asking for light dressing in Chicago yields a similar result to asking for heavy dressing in LA.
Re:Coffee drinking linked to lower mortality risk, new study... by RedBeetDeadpool on Thursday June 02, 2022 @10:49PM (#31603682)
I agree with this sentiment. Health studies are basically an oscillation between different diets these days. I never know when a new study will come and debunk yesterday's fad diet.

Just avoid processed foods and exercise more.

Re:Coffee drinking linked to lower mortality risk, new study... by canadaduane on Thursday June 02, 2022 @11:32PM (#31603962)
And eat more vegetables.
Re:Coffee drinking linked to lower mortality risk, new study... by TedDoesntTalk on Friday June 03, 2022 @12:16AM (#31604229)
And call your mother once per week /s
Re:Coffee drinking linked to lower mortality risk, new study... by bckr on Friday June 03, 2022 @12:13PM (#31610327)
No, no, you're right. It's in my calendar, but I still fail to do it.
Re:Coffee drinking linked to lower mortality risk, new study... by stubish on Thursday June 02, 2022 @10:04PM (#31603360)
Some of the contradictory ones are the most interesting. Such as the contradictory studies with coffee consumption, which eventually pointed to filtered vs. unfiltered coffee giving different results (so studies done on populations drinking mainly filtered coffee differed to populations drinking mainly unfiltered). I also find it is worth looking closer. The headlines in the papers might be contradictory, but a closer look indicates the studies are actually measuring different things and they are not contradictory at all, perhaps even reinforcing.

Coffee is a strange one though. I think I've only seen 'coffee is good' in recent years, but I'm wary because I don't expect 'coffee is bad' studies to get the same sort of publicity.

Re:Coffee drinking linked to lower mortality risk, new study... by TedDoesntTalk on Friday June 03, 2022 @12:18AM (#31604239)
Unfiltered coffee contains cafestrol, which can be devastating to cholesterol levels.
Re:Coffee drinking linked to lower mortality risk, new study... by perilunar on Friday June 03, 2022 @04:30AM (#31605712)
Also contains Kahweol, which is supposedly anti-inflammatory, anti-angiogenic, and may decrease risk of cancer.
Re:Coffee drinking linked to lower mortality risk, new study... by rajin444 on Thursday June 02, 2022 @12:00PM (#31596502)
That kind of work is hard, expensive, and likely to be fruitless. And in the case of many softer sciences it would more or less remove the need for the field (in their current forms). Sociology is a band aid until we understand biology better.

That being said I agree with you entirely and we shouldn’t shy away from hard problems because of this.

Re:Coffee drinking linked to lower mortality risk, new study... by AussieWog93 on Thursday June 02, 2022 @06:34PM (#31601383)
>That kind of work is hard, expensive, and likely to be fruitless.

Don't forget that the "fruit" for scientists is fame, not the truth. Anything that can get headlines and conference talks is a good thing, regardless of whether or not the methodology even makes sense.

Re:Coffee drinking linked to lower mortality risk, new study... by jemorya on Thursday June 02, 2022 @07:11PM (#31601763)
>Don't forget that the "fruit" for scientists is fame, not the truth.

This is a pretty shocking thing to say. It's not true whatsoever for the field of physics. Is there a particular field or a particular experience you're reacting to? I think I'm overreacting to how general your statement is.

Re:Coffee drinking linked to lower mortality risk, new study... by harry8 on Thursday June 02, 2022 @07:41PM (#31602069)
Feynmann's classic "Cargo Cult Science" for anyone who hasn't seen it yet. And for those of us who think it should be read and re-read at least annually and the time has come:

https://sites.cs.ucsb.edu/~ravenben/cargocult.html

It's a 5 minute read. Arguably the 5 most intellectually productive minutes we can spend. (Well at least for me, anyway).

Now that ESP, paranormal, telekinesis research is thoroughly dead, (exposed by magicians like James Randi?), psychology still remains mired in it all. To the credit of a minority in that field they're having a go at getting it back to science and I wish them all the luck in the world. https://en.wikipedia.org/wiki/Replication_crisis

My understanding is that for vast amounts of "What food is healthy, what kills you." Research, epidemiological studies is all we have. They're obviously limited, easy to get wrong, easy to fool yourself (and you're the easiest person to fool!) The supply of identical twins, who are willing to commit to life long diet differences with rigor and make all the same choices outside of the study is, well, kinda low.

The statistics being used for these things is still under active development and being improved. Can it ever be done properly? Well I guess so. I think we're pretty clear on the smoking, cancer, heart disease, stroke link nowadays, right? And those studies have to have been similar.

It's interesting that scientists have to raise funding, publish or perish and so on to even have a career at all making them part P.T. Barnum. Fenymann, for all he didn't need to do that because of the different era, reflected "glory" from Los Alamos etc. really was capable of putting P.T. Barnum to shame while at the same time being the most devout adherent to and proselytiser of scientific principle & purity. So good and so lucky he could keep his hands clean?

Is there no academic misconduct in physics nowadays? None? I'd believe you if you told me so & why.

Re:Coffee drinking linked to lower mortality risk, new study... by themanmaran on Thursday June 02, 2022 @10:16PM (#31603452)
> It's a 5 minute read

Perhaps I'm slow, but that was every bit of a 15 minute read for me.

Re:Coffee drinking linked to lower mortality risk, new study... by harry8 on Thursday June 02, 2022 @11:38PM (#31603992)
Sorry for the bum steer. Maybe I read it pretty fast because I've read it a few times since the 80s.
Re:Coffee drinking linked to lower mortality risk, new study... by autokad on Thursday June 02, 2022 @07:49PM (#31602148)
its not just fame, University 'Research' Centers are completely overrun with politics. I noticed after mapping diabetes, obesity, and excessive alcohol consumption that high levels of obesity almost perfectly overlapped with diabetes, except in areas with excessive alcohol consumption. I brought it up during an ideation session, but it was immediately dismissed as 'SES (socioeconomic status) must account for it, don't look into it further. when I lied and said these are higher levels obesity which is correlating with soda consumption, they wanted to write a paper / grant.

its leading to junk science, and large swaths of people are losing faith in what we are labeling as science.

Re:Coffee drinking linked to lower mortality risk, new study... by acchow on Friday June 03, 2022 @02:08AM (#31604813)
Observational studies should only be used to conclude "maybe we should investigate this" - as in what you're asking for. Maybe let's try to elucidate some biological/chemical pathway that may be responsible for such a significant observed result. Or maybe let's find some confounding factors and learn why!

But pop science news interprets it as a causation.

...helpful...

Re:Coffee drinking linked to lower mortality risk, new study... by hdjjhhvvhga on Thursday June 02, 2022 @04:53PM (#31600377)
Would we be ever able to conduct such a study? We'd need to have clones bred for that purpose since birth in exactly the same conditions - and even if we had that, you'd never be sure it would transfer well onto people living free lives. So, these weak observational studies are all we have.
Re:Coffee drinking linked to lower mortality risk, new study... by thelamest on Thursday June 02, 2022 @08:31PM (#31602509)
Note that observational data can come in strong flavor as well, as in natural experiments, but I’m not holding my breath on a quasi-random decades-long coffee shortage striking half of any population soon. There’s always a chance a situation of this kind is ongoing somewhere though I guess?
Re:Coffee drinking linked to lower mortality risk, new study... by actually_a_dog on Thursday June 02, 2022 @07:01PM (#31601668)
This got long, so, here's a TL;DR: Observational studies on humans are basically the best you're gonna get for most purposes. Other animal models (primates, dogs, rodents) have problems, but rodents are the best compromise. By using rodents to screen new interventions, we actually end up benefitting humans sooner than if we'd just started with people in the first place.

---

Right. IMO anyone criticizing observational studies on humans needs to overcome the idea that it's hard to do controlled studies on humans, and when it is possible (e.g. vaccine trials), the studies don't last very long, because you can't really control peoples lives that long and there tends to be significant attrition over time.

Theoretically, chimps would be the next best thing, but experimenting on chimps is ethically questionable as well, and they also live a long time. That's great for chimps, but not so great for biological studies where you want to observe the effects of an intervention over an entire lifecycle. Monkeys would be the next best thing after chimps, but experimenting on monkeys has the same issues as with chimps.

Among common experimental animals, that basically leaves dogs and rodents. Dogs are relatively large and hard to deal with compared to rodents, and their relatively long lives (compared to rodents) makes them difficult to selectively breed. Even if we modified the embryos using CRISPR or something to include genes that were of interest, a dog's gestation period is about 3 months whereas for rats and mice it's about 3 weeks. Likewise, Beagles (one of the more common experimentally used dogs due in part to their relatively small size and friendly disposition) live for about 12-15 years, whereas wild-derived mice and rats both live around 2-4 years in captivity. The general public is also much less concerned when rodents get euthanized as part of an experiment than when dogs do. Whether that should be the case or not is somewhat debatable, but, nonetheless it is. It's all a big trade off between fidelity and logistics, but shouldn't an audience like HN's consisting of a disproportionate number of software people compared to the general public actually appreciate that? ;)

So, rats and mice a really the only reasonable choice if you need to experiment on a live mammal in less time than it takes to actually get a PhD. But, then that triggers the chorus of "in mice" replies we see to pretty much every biomedical article on preclinical research here. And, there are undoubtedly interventions that would work on humans that don't work on mice, just as there are many interventions that work on mice but don't transfer to humans. We miss out on those, but the ones that do make it through rodent trials and into humans got there by a process that weeds out a lot of things that couldn't possibly work, which ultimately means humans benefit sooner by starting with mice than if we just used people in the first place.

Re:Coffee drinking linked to lower mortality risk, new study... by falcolas on Thursday June 02, 2022 @10:58AM (#31595693)
> And before someone asks "But what if it's .. instead?": Yes, they controlled for lots of things

On Reddit's /r/science board, there's a base rule that "criticism of published work should assume basic competence of the researchers and reviewers".

I think it would benefit HN if we all made the same assumption.

Re:Coffee drinking linked to lower mortality risk, new study... by dekhn on Thursday June 02, 2022 @11:58AM (#31596478)
This is a fundamentally wrong rule because, as we have learned, researchers and reviewers basic competence has come into play repeatedly. The further you get from quantitative physics, the worse it gets.

That said, if you are going to criticize something based on the idea "this result doesn't agree with my preconcieved notions so I'm going to say that their sample size was too small, the effect size was too small, or they made some sort of incorrect calculation, and conclude the paper can't be trusted", you owe it to yourself to read the paper carefully enough that you can make the determination they made a major error.

Unlike most people, I read the conclusion, then the methods section. For most papers I can't get enough from the methods section to conclude that I trust the authors to make their claim, because most methods sections are missing major details on how the corrections/controls were made.

Re:Coffee drinking linked to lower mortality risk, new study... by falcolas on Thursday June 02, 2022 @12:09PM (#31596653)
Should we also look at final code assuming the programmer and their code reviewers lack basic competence? Or do we assume they made a best effort given their abilities and may have still made mistakes?

I believe the latter, and the rule I mentioned also leads to that assumption. Otherwise, why read the studies at all? But that's not what people here do.

> missing major details on how the corrections/controls were made

I also make an assumption that some corrections/controls are so obvious within their field of study that they aren't worth documenting - that it's only "average joe" readers who assume they aren't being done.

It is, in a way, akin to asking why programmers didn't document how their JWT is secured.

Re:Coffee drinking linked to lower mortality risk, new study... by dekhn on Thursday June 02, 2022 @12:18PM (#31596808)
I don't compare software engineers and scientists by the same metrics. The important thing about a code review request is that it contains everything required for me to reproduce the effects of the code change in my own hands. Science does not require that- instead, the methods is typically the "least descriptive and helpful representation of what was done" (especially in the case of very complex biological experiments) and can't be reproduced with nontrivial effort.

BTW I've definitely gone into code reviews assuming the programmer lacks basic competence and been right. Other times, I've had to rollback other people's code (or stop a rollout) because an ostensibly genius programmer who made a change (and got a review from a starry-eyed junior) wasn't using their basic competence or testing their change at all.

Re:Coffee drinking linked to lower mortality risk, new study... by eurasiantiger on Thursday June 02, 2022 @05:22PM (#31600668)
Bad example. While the tokens themselves can only be secured in a handful of ways, JWT auth implementation is notoriously tricky. Even the official docs of some well known packages promote insecure practices such as storing tokens in browser localStorage.
Re:Coffee drinking linked to lower mortality risk, new study... by diffeomorphism on Friday June 03, 2022 @02:16AM (#31604876)
There is a big difference between "here is what I think the authors did wrong" and "I did not read the paper, but did they even account for <obvious thing>?".

The former is perfectly fine and encouraged. The latter is incredibly rude and derails discussions.

Relatedly, you took the rule incredibly literally just so you could critize a strawman...

> Unlike most people, I...

Yes, yes, you a very smart and everyone else, in particular me, is an idiot...

Re:Coffee drinking linked to lower mortality risk, new study... by dekhn on Friday June 03, 2022 @09:23AM (#31607875)
no, I'm not smart- I'm wise. And brutally honest. It's amazing how gullible most scientists are, reading the results and taking them at face value.
Re:Coffee drinking linked to lower mortality risk, new study... by namaria on Saturday June 04, 2022 @07:18PM (#31626121)
Yes it amazes me you haven't won multiple noble prizes yet
Re:Coffee drinking linked to lower mortality risk, new study... by namaria on Saturday June 04, 2022 @07:17PM (#31626101)
Considering the average quality of software, I'd say people in the tech industry are quite low in the pecking order of who can criticize whose professional competence...
Re:Coffee drinking linked to lower mortality risk, new study... by vorpalhex on Thursday June 02, 2022 @11:10AM (#31595832)
As someone who reads a lot of published research, no, that is a terrible rule and a lot of garbage gets published. Both historically and now there is no shortage of bad science that gets published, or good science that gets really misreported.
Re:Coffee drinking linked to lower mortality risk, new study... by falcolas on Thursday June 02, 2022 @11:46AM (#31596320)
If you don't trust studies at such a fundamental level, what is the value in reading and commenting on such threads?
Re:Coffee drinking linked to lower mortality risk, new study... by vorpalhex on Thursday June 02, 2022 @01:08PM (#31597609)
Studies don't have value just because they are a study.

Put another way, just because Cosmo publishes an article doesn't mean it's true - but Cosmo does also publish true articles.

Plenty of studies are great and move our understanding forward. More studies answer a very narrow - but important - question. Some studies are just inconclusive, but have value too.

You should read studies. You should evaluate the quality of studies as part of integrating them and their conclusions. At the same time just because something was "a study" or got published doesn't make it true or good or useful, anymore than being written in blue ink makes something truthful.

The value of science is that it does not require faith.

Re:Coffee drinking linked to lower mortality risk, new study... by JoshuaDavid on Thursday June 02, 2022 @05:29PM (#31600735)
Not OP but

If someone were advocating making policy decisions based on astrological charts, I would read and comment in such threads despite not trusting astrology on a fundamental level.

I personally would go quite as far as to say that purely observational studies have as much predictive value as astrology, but "observational studies are as reliable as astrology" is a better first-order approximation of my opinions than "observational studies are as reliable as large-n randomized controlled trials".

Re:Coffee drinking linked to lower mortality risk, new study... by tuatoru on Thursday June 02, 2022 @12:09PM (#31596654)
I don't know what value vorpalhex gets from doing so, but I got value from the gp comment.
Re:Coffee drinking linked to lower mortality risk, new study... by eszaq on Thursday June 02, 2022 @08:28PM (#31602472)
A specific form of bad research which could be at play here: The researchers programmatically searched the space of possible control variables to include until they came up with a model which maximized the apparent effect size for coffee, so they could publish an interesting & widely cited paper that looked good on their resumes.

With N different control variables to either include or ignore, that's 2^N possible sets of control variables. Odds are decent at least one of those regressions has a large effect size for coffee.

I would trust this sort of research more if instead of publishing a particular set of control variables obtained by an unspecified method, the researchers chose 100 of those 2^N possible sets of control variables at random, then published the average effect size from the 100 resulting regressions. Ideally they would make the code to reproduce this average effect size publicly available, so anyone could easily replicate using another 100 randomly generated regressions.

Re:Coffee drinking linked to lower mortality risk, new study... by ekianjo on Thursday June 02, 2022 @11:04AM (#31595774)
> On Reddit's /r/science board, there's a base rule that "criticism of published work should assume basic competence of the researchers and reviewers".

Since most studies/publications cant be replicated, I'd say basic competence is not warranted.

Re:Coffee drinking linked to lower mortality risk, new study... by FastMonkey on Thursday June 02, 2022 @11:27AM (#31596079)
I don't think it's questioning anyone's competence to suggest that a single scientific result might have confounding factors. This is one study done by one team. If the result was repeated in several studies, all coming at it with different viewpoints then I'd start to believe the result. In this particular case though, there seems to be new research coming out every few months saying coffee is good or bad for you. If the results look like that then it's hard to put much weight on any single one of them.
Re:Coffee drinking linked to lower mortality risk, new study... by falcolas on Thursday June 02, 2022 @11:48AM (#31596351)
> I don't think it's questioning anyone's competence to suggest that a single scientific result might have confounding factors

Honestly - I do. Basic competence in creating a study would definitely include identifying confounding factors that are directly relevant to the study being conducted. It's a basic part of the scientific method - both in creating the hypothesis and creating a test against that hypothesis.

Re:Coffee drinking linked to lower mortality risk, new study... by Jtype on Friday June 03, 2022 @09:28AM (#31607944)
I don't think reddit and in particular /r/science should be held aloft as a beacon of reason and good thinking. The pseudo science and junk that is regularly upvoted there proves that they should more frequently question the basic competence of the researchers and reviewers.
Re:Coffee drinking linked to lower mortality risk, new study... by lm28469 on Thursday June 02, 2022 @11:20AM (#31595967)
> And before someone asks "But what if it's .. instead?": Yes, they controlled for lots of things:

I'm no experiment designer but I fail to see how you can control for variables when the field of the experiment is "life". There are an unlimited number of variables, wouldn't you find tonnes of meaningless correlations ?

The set of variables is unlimited and the focus of the study is so precise that I have a real hard time to understand how meaningful these results can be.

> there may be other lifestyle factors contributing to that lower mortality risk among people who drink coffee, like a healthy diet or a consistent exercise routine.

Yeah no shit. Or like getting 8+ hours of sleep, or winning the genetic lottery, or working at a desk instead of on a construction zone, &c.

If it's all self reported it's kind of garbage to begin with, I know people who think they eat healthy diets, they don't

Re:Coffee drinking linked to lower mortality risk, new study... by mikkergp on Thursday June 02, 2022 @11:05AM (#31595778)
So, in the abstract, they say they controlled for "lifestyle" but then the researchers are paraphrased in the article as saying "This is an observational study, which means the data cannot conclusively prove that coffee itself lowers the risk of dying; there may be other lifestyle factors contributing to that lower mortality risk among people who drink coffee, like a healthy diet or a consistent exercise routine."

On the one hand I get what they're saying about their own study design, on the other hand, it might be good to get more info about lifestyle vs lifestyle.

Re:Coffee drinking linked to lower mortality risk, new study... by sdfhdhjdw3 on Thursday June 02, 2022 @11:47AM (#31596340)
That's because 99% of the time when a study says "we found an effect in Y even after we controlled for X" it just means that they included X in their multi-variate regression and error analysis in their study of Y. "controlled for" sounds like it has something to do with ruling out the effect of something from causality, but it doesn't.
Re:Coffee drinking linked to lower mortality risk, new study... by civilized on Thursday June 02, 2022 @10:46PM (#31603658)
> they controlled for lots of things

If it's an observational study, they didn't control for anything; they adjusted for things.

Re:Coffee drinking linked to lower mortality risk, new study... by troydavis on Thursday June 02, 2022 @11:19PM (#31603861)
Yes, thanks for pointing that out.
Re:Coffee drinking linked to lower mortality risk, new study... by andreareina on Thursday June 02, 2022 @08:51PM (#31602721)
That effect size is the very thing that strains credulity. How did we miss it for the centuries we've been drinking coffee? How do I not notice the effect when I vary my coffee intake?
Re:Coffee drinking linked to lower mortality risk, new study... by SkyMarshal on Thursday June 02, 2022 @04:50PM (#31600343)
> 171,616 people is a big cohort, mortality is clearly measurable, and the observed effect is really large.

This should be a criteria for posting studies in general - large cohort, controls for every known factor, clearly measurable outcome like all-cause mortality, and large observed effect.

Re:Coffee drinking linked to lower mortality risk, new study... by chiefalchemist on Thursday June 02, 2022 @07:48PM (#31602133)
You make good and valid points, but it's also:

"..self-reported..."

which always raises questions.

Also, was this an actual study. Or simply a statistical pattern detected in UK Biobank members?

Note: Not trolling, just looking for full context.

Re:Coffee drinking linked to lower mortality risk, new study... by thelamest on Thursday June 02, 2022 @08:18PM (#31602409)
It’s a pattern detected in the UK Biobank dataset. I assume by a study you mean an experiment – it wasn’t one. The dataset is longitudinal, which helps a little, but there’s still a big jump from associations to causal links.
Re:Coffee drinking linked to lower mortality risk, new study... by chiefalchemist on Friday June 03, 2022 @06:18AM (#31606444)
Right. So this is simply beating up some dataset until a news-worthy pattern appears. Add in self-reported and this is more wishful-thinking than it is science.
Re:Coffee drinking linked to lower mortality risk, new study... by bryanlarsen on Thursday June 02, 2022 @10:04AM (#31595036)
Did they compare against what the non-coffee drinkers were drinking instead? It's not surprising that coffee is substantially healthier than cola, but is it statistically healthier than tea or water?
Re:Coffee drinking linked to lower mortality risk, new study... by troydavis on Thursday June 02, 2022 @10:11AM (#31595109)
I don't know any more about this study than is in the links. The NYT reporter covers some of that, though:

> Scientists don’t know exactly what makes coffee so beneficial, Dr. Goldberg said, but the answer may lie in its antioxidant properties, which can prevent or delay cell damage. Coffee beans contain high amounts of antioxidants, said Beth Czerwony, a registered dietitian at the Cleveland Clinic’s Center for Human Nutrition in Ohio, which can help break down free radicals that cause damage to cells. Over time, a buildup of free radicals can increase inflammation in the body, which can cause plaque formation related to heart disease, she said, so dietitians recommend consuming foods and beverages that are rich in antioxidants.

> There’s also the possibility that coffee drinkers tend to make healthier choices in general. They might opt for a cold brew or a cup of drip coffee instead of a less healthy source of caffeine, like an energy drink or soda, Dr. Goldberg added. “If you’re pounding Mountain Dew or Coca-Cola or Red Bull or all these other drinks, they have tons more sugar, all the artificial stuff — versus coffee, which is a generally unprocessed food.”

(Side note: if someone else read this and started drinking coffee because of it, they'd probably be replacing an existing beverage choice as well. IOW, even if substitution effect was the cause or a contributing factor, people acting on the conclusions may still see the effect – and certainly would at public-health scale.)

Re:Coffee drinking linked to lower mortality risk, new study... by cgh on Thursday June 02, 2022 @10:07AM (#31595063)
If you look at the study, you can see they compared with “nonconsumers”, among others.
Re:Coffee drinking linked to lower mortality risk, new study... by bryanlarsen on Thursday June 02, 2022 @10:14AM (#31595151)
Access isn't available without an account. What's a "nonconsumer"? Everybody drinks something.