So here's the deal. I had 2 companions:
1. Female companion with 7 Endurance and 6th level. I have her for some time now.
2. Male companion with 7 Endurance and 1st level. I got him today.
So technically they should have same hp, BUT lvl 1 companion had WAY more hp than lvl 6 (around 20hp difference).
The difference in their strength is around 3, which should give only 3hp difference.. So the stats of companions are screwed up.
Another thing is, that they don't gain skills after levelling up.
So it seems, that their SPECIAL doesn't necessarily show if they are good or bad. It seems that all their stats are totally random...