One of the problems lay people have is , they don't understand that we have a LOT of actual test data on materials and joints in the real world. We also have a LOT of analysis correlation data for the same. most of any error is a function of the manufacturing process-joints, material variations, etc. We get around that by analysing to Minimum allowable, maximum slop, etc.
NASA, for example, requires that your structural mathematical model correlate within 5% of reality--and you do tests to prove it!
The behavior of steel, aluminum, and glass can be accurately predicted under every condition anyone can think up and run a test on, within reasonable error margins. Usually, the actual hardware is stouter than the analysis.