My perspective is that shouting is only necessary in situations where someone is in danger and the situation requires immediate intervention.
In this case, it is about you being considerate towards your neighbors and the shouting isn't necessary. The 'worst' consequence in this case if the child does stomp on the floor is that your neighbors will be irritated. I've experienced people living below such apartments where a child is constantly running on the floor, and while it is unpleasant - the only thing that happens is that the neighbor below feels irritated.
A point I thus suggest to consider here is whether your actual 'issue' is more with the thoughts that comes up when she runs on the floor where it is more about you not wanting your neighbors to be angry/irritated with you, than considering what is best for all in the situation.
Suggest to also consider here within the best interest of all, whether it is best for all that the child is prohibited from expressing itself physically or whether it is more important that the neighbor below does not experience irritation. I would say that an equally considerate solution is best: where the neighbor below understand that in the development of a child, physical expression is important and it can have consequences to prohibit the child from expressing itself. Therefore a minimum level of noise may be expected when one live below a family with a child. The child on the other hand can then be assisted to consider to not constantly run over the floors. A child that is jumping is not doing it because it is 'disrespectful' unless it is deliberate to piss of the neighbor. The child is simply expressing itself.
Jumping in itself perhaps isn't dangerous but obviously if you see that the situation can get out of control (hanging in the chandeliers etc.) then shouting might be required.
You do not need to shout to get a child's attention explicitly and lol - consider also the irony here of how the neighbor below now have to listen to your shouting rather than the child jumping and as such you being equally noisy because you're shouting.
With regards to using punishment, a small child does not understand an extended time factor and will forget all about the promised punishment as soon as she is playing and enjoying herself. Using fear and punishment is not suggested. Therefore I suggest rather finding a practical solution that also considers the need of the child to express itself. Here the first imperative point is that you sort out your own reactions and that you do not project the reactions onto the child to justify them. Secondly you can investigate the possibility of soundproofing your floors with carpets or simply talking to the neighbor about the sounds and asking them for their patience and consideration.
I strongly suggest investing in the Parenting Series
from Eqafe to understand how important it is to establish an effective way of being a parent, as how you treat the child now and how it affects her, becomes the foundation of her life.