Ruby apps are easy to build, but are difficult to maintain.
Rust apps take a bit more effort to build, but are easier to maintain.
There is so much variation confounding any study, in tasks, specifications, programmer inclination.
I use both staticly typed (rust) and dynamically typed (perl) a lot. I like rust for the big projects and perl to hold everything together-job control
That is my inclination, not a fact.
I have used many languages over the years. Static/dynamic typing is just one dimension, and not necessarily related to quality
Except for the documentation effect. For that there is apparently solid research.