Every number below is computed by the same code the Dota 2 Sim tools run. Install to get answers for your own deck.
Physical damage reduction is 0.06×armor / (1 + 0.06×|armor|). 5 armor blocks 23.1%, 10 armor 37.5%, 20 armor 54.5%, 30 armor 64.3%. Each point of armor adds about 6% effective HP against physical damage. dota_build_stats computes it for any build.
Each point of Strength gives 22 health and 0.09 health regen; Agility gives 1 attack speed and 1/6 armor; Intelligence gives 12 mana, 0.05 mana regen and 0.1% magic resistance. Your primary attribute also gives 1 attack damage per point (Universal heroes get 0.7 damage per point of every attribute).
Effective HP is the raw damage needed to kill you after armor or magic resistance. Physical EHP = HP / (1 − armor reduction): 2,000 HP with 20 armor is about 4400 physical EHP. dota_build_stats gives physical and magical EHP for a hero, level and items.
Crits use a pseudo-random distribution: the chance starts low and rises after each attack without a crit, so long streaks are rarer than pure luck. Daedalus gives a 30% chance for 225% damage, averaging 1.375× damage. dota_duel_sim models crits and evasion this way.
Attacks per second = attack speed / (100 × base attack time). Attack speed is the hero's base (usually 100) plus agility plus item bonuses, capped between 20 and 700. With a 1.7 BAT and 200 attack speed a hero attacks about 1.18 times per second.