There are formulae I believe based upon the difference between moisture contents at time of construction and in the final equilibrium state (or perhaps it's just rules of thumb based upon years of experience, but at any rate, easily available from AWPA or similar) which I don't have at my fingertips. Generally wood shrinks very much less along its length than its depth. Therefore the preponderance of shrinkage in a 4 story will be in the depth of the joists at the floors as opposed to the studs. As noted above, Engineered joists, TJIs, wood trusses, glulams, due to their dryness or orientations, mostly mitigate this, and of course as also noted, balloon framing dodges it entirely where useable.