Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
analytic also works on the switch so if i bring in choice scarf magneton on my opponents swellow for instance and they switch out, the pokemon that comes in will take an analytic boosted atk!