In one study laboratory-bred Beagles were divided into three groups. Group A received an electric shock when the dogs touched the prey (a rabbit dummy fixed to a motion device). Group H received a shock when they did not obey a previously trained recall command during hunting. Dogs in group R received the electric shock arbitrarily, i.e. the shock was administered unpredictably and out of context. Group A did not show a significant rise in salivary cortisol levels, while group R and group H did show a significant rise. This led to the conclusion that animals which were able to clearly associate the electric stimulus with their action, i.e. touching the prey, and consequently were able to predict and control the stressor, did not show considerable or persistent stress indicators, while animals that were not able to control the situation to avoid the shock did show significant stress.[66]
In the 1950s Blanche Saunders was a staunch advocate of pet-dog training, travelling throughout the U.S. to promote obedience classes.[17] In The Complete Book of Dog Obedience, she said, "Dogs learn by associating their act with a pleasing or displeasing result. They must be disciplined when they do wrong, but they must also be rewarded when they do right."[24] Negative reinforcement procedures played a key part in Saunders' method, primarily the jerking of the choke chain. The mantra taught to students was "Command! Jerk! Praise!" She felt that food should not be an ongoing reward, but that it was acceptable to use "a tidbit now and then to overcome a problem." Saunders perhaps began the shift away from military and police training methods, stressing repeatedly the importance of reinforcement for good behaviour in training—a move toward the positive training methods used today.[25]

The term "observational learning" encompasses several closely related concepts: allelomimetic behavior or mimicking where, for example, puppies follow or copy others of their kind; social facilitation where the presence of another dog causes an increase in the intensity of a behavior; and local enhancement which includes pieces of social facilitation, mimicking, and trial-and-error learning, but is different from true observational learning in that the dog actively participates in the behavior in the presence of the other dog and/or other environmental cues.[55] Four necessary conditions for observational learning are: attention, retention, motivation, and production. That is, the dog must pay attention to the dog or person performing the modelled behavior; retain the information gathered about the behavior during the observation; be motivated to reproduce the behavior in a time and place removed from the original; and finally, produce the behavior, or some reasonable facsimile thereof.[55]

Don’t punish your dog if they pee inside. Regardless of all those old training ideas punishment isn’t a good deterrent for house training. Yelling at your dog after the fact just confuses them and makes them nervous around you. If you catch your did in the act you can try to get their attention & move them outdoors. If you’re successful & they continue going once you get outside praise them like crazy.

A training class is not there to train your dog. Its purpose is to teach you to train your dog so you will need to be committed to train your dog for short sessions (5 minutes) several times a day rather than just simply turn up for classes! This little bit of training everyday will be repaid with a lifetime of living with a well behaved dog. You will also learn to avoid problems before they begin as well as receive help to overcome any that you already have with your dog.