Pokémon/Competitive battling/Effort Values (EVs)

First, please note that EVs only appear in the Third and Fourth Generations. EVs are hidden values that can increase your Pokémon's stats. You can obtain EVs for every stat (HP, Attack, Defense, Special Attack, Special Defense, and Speed), with a maximum of 255 EVs for one single stat and 510 EVs total for all of the stats combined. For every 4 EVs of one stat, your Pokémon will gain 1 point to that stat. For example, if you gained 4 Attack EVs, then your Pokémon will gain 1 point in its Attack stat. It sounds great, right? How, then, do you obtain EVs to raise your Pokémon's stats?

Vitamins
Vitamins are HP Up, Protein, Iron, Calcium, Zinc, and Carbos. Each vitamin will give you 10 EVs of HP, Attack, Defense, Special Attack, Special Defense, and Speed, respectively. However, you can only use 10 Vitamins of each kind, with a total of 51 Vitamins can be used.

KO'ing a Pokémon
Believe it or not, KO'ing an enemy Pokémon will give you from 1 to 3 EVs of one stat (or the EVs could be split into 2 stats), but the maximum number of EVs you can get total from one Pokémon is 3. For example, gives +1 Defense EVs. If you fight a lot of Aron, then your Pokémon's Defense will rise faster than your other stats, since for every four Aron you KO, you get +1 added to your Defense stat. Since the maximum amount of EVs you can gain for one stat is 255, the EVs that you can use is actually 252, since 252 can be divided by 4. This is important if you go through a process of "EVs training," meaning that you will only battle certain Pokémon to get the EVs you want. Giving a Pokémon 255 EVs of one stat is a waste of 3 EVs, since instead of 255 + 255 = 510, you can split up 252 + 252 + 6 = 510, and the 6 EVs will be used for another stat. Two EVs will be left unused no matter what. Even if you're not so keen on undergoing complete EVs training, you can train in an area where there are many Pokémon that gives the EVs that you want. If you battle online, you will be able to set your Pokémon's EVs. This is very important because you can give up to 63 points to a single stat using EVs. I will now provide a list of which Pokémon receives what EVs.

Note: Although it seems better to try to look for Pokémon that gives +2 or +3 EVs, these Pokémon are probably very rare and are not populous, so it is actually faster to find an area with many Pokémon with +1 EVs and KO them instead.

Ways to speed up EVs Training
There are ways to speed up EV training, and some of them are not really hard to get. The items or events below affect EVs Training in some way.

Macho Brace
The game does not tell you what the Macho Brace is for, besides the fact that it halves the wearer's Speed. That can't be all that it does, since it will make the Macho Brace useless. In fact, the wearer will gain double whatever EVs it would normally receive. KO'ing a while wearing a Macho Brace will give you 2 Speed EVs because Taillow normally gives 1 Speed EV. If your Pokémon is at a high level and won't be affected by the huge Speed decrease, then please use this great item! This item is great for legendaries, because most legendaries do not have time to use all of their EVs before they reach Level 100.

EXP. SHARE
As you all know, the wearer of EXP. SHARE gets half of the experience while not in battle. Also, the wearer will get EVs! If your Jolteon faints a Taillow and your Zigzagoon (that was never in battle) has EXP. SHARE attached, then both Jolteon and Zigzagoon will gain 1 EV. This is a good way to train up weak Pokémon both experience-wise and EV-wise.

The PokéRUS Virus
If you haven't heard of this before, the PokéRUS doubles the EVs received, just like the Macho Brace. This is good, but the PokéRUS is random whether or not it will infect one of your Pokémon. If you're lucky enough to have it, then it will infect your whole party. The PokéRUS will go away, so if you want to keep it so that it could infect new Pokémon, then put one infected Pokémon in a box, since the PokéRUS doesn't go away if the infected Pokémon is in a box (in Generations 2-3. In Generation 4, it goes away after a set period of time.) When the want to infect a new Pokémon, withdraw the infected Pokémon, and when it infects your party, put it in a box again. Note that a Pokémon that has been infected by the PokéRUS will not get PokéRUS again, since it becomes immune to the virus.

The Power Items
In the 4th generation battle tower, items are available for 16 BP. In battle, they will add 4 EVs of a said stat to the Pokémon you are battling. For example, if you defeated a Bidoof while holding the Power Weight, your Pokémon would gain 5 HP EVs. If you defeated a Zubat while holding Power Bracer, you would get 1 speed EV (from the Zubat) and 4 attack EVs (from the Bracer). If your pokemon also has PokéRUS, you will add EVs and then multiply. SO you would get 10 HP EVs from the Bidoof with Power Weight and PokéRUS, and 2 Speed and 8 Attack EVs from the Zubat with Bracer and PokéRUS.