Planning and execution noise have opposing effects on visuomotor adaptation. A, State-space model of visuomotor adaptation. The aiming angle on trial 2 is a linear combination of the aiming angle on the previous trial multiplied by a retentive factor minus the error on the previous trial multiplied with adaptation rate . In addition, the aiming angle is distorted by the random process (planning noise). The actual movement angle is the aiming angle distorted by the random process (execution noise). The error is the sum of the movement direction and the external perturbation . B, Planning noise and optimal adaptation rate (defined as the Kalman gain). The optimal adaptation rate increases with planning noise . In this figure, was kept constant at . C, Execution noise and optimal adaptation rate (defined as the Kalman gain). The optimal adaptation rate decreases with execution noise . In this figure, was kept constant at . D, Simulated optimal learners. At trial 110, a perturbation (black line) is introduced that requires the optimal learners to adapt their movement. The gray learner has low planning noise and execution noise . The red learner has a higher planning noise than the gray learner . This causes the red learner to adapt faster. The green learner has a higher execution noise than the gray learner . This causes the green learner to adapt more slowly. For all learners, the thick line shows the average, and the thin line, a single noisy realization.