Well, it is known that beside base stats pokemon have their individual stats(IVs) and there are sites that help to calculate them for any pokemon. My question is How these IVs are determined by the game? I mean, is there anything that affects these stats while they're generated? Is this completely random? Or is there any way to catch better pokemons or something?
Pokémon you catch in the wild have completely random IVs, with a bell curve applied so most pokémon you find are average, and finding particularly good or bad ones is rare.
Pokémon you hatch from eggs are more likely to have good IVs, with the average being somewhere around 80% perfect.