As Skippy said in his answer, tying up the dog and depriving it of food is simply cruel and doesn't teach him anything (otherwise, he would have probably seen a difference by now).
Dogs (and other animals, including ourselves) learn through operant conditioning. There are other mechanisms but operant conditioning is the one that is involved when you're trying to teach your dog a certain behaviour.
Following are some definitions from a similar answer of mine that should help explain the different terms:
- Reinforcement: An action designed to increase the frequency a behaviour
- Punishment: An action designed to decrease the frequency of a behaviour
- Positive: Presence of a stimulus
- Negative: Absence of a stimulus
These terms can form four different combinations (N.B.: Examples in brackets are examples, not advice!):
- Positive reinforcement: Present a stimulus to increase the frequency of a behaviour (e.g. give a treat when the dog sits on command)
- Negative reinforcement: Remove a stimulus to increase the frequency of a behaviour (e.g. The mailman goes away after the dog barks at it)
- Positive punishment: Present a stimulus to decrease the frequency of a behaviour (e.g. hit the dog when it's urinated on the carpet)
- Negative punishment: Remove a stimulus to decrease the frequency of a behaviour (e.g. leave the room when the dog jumps up on you)
So you have four basic techniques with which you can train your dog to perform or stop performing certain behaviours.
According to science, positive reinforcement outperforms any of the other techniques and is even better than combining any or all of the techniques (see, for example, Blackwell et al., 2008; Hiby et al., 2004).
But regardless of which one is most effective, the real question should be: What relationship do you want to have with your dog?
Positive punishment and negative reinforcement involve making the dog at the very least uncomfortable if not outright hurting him. Neither will make your dog happy, nor will it help to build trust between you and your dog if you're a source of unpleasantness. Furthermore, these techniques only let the dog know what you don't want it to do.
Positive reinforcement, on the other hand, basically ensures that your dog thinks that "only good things come from you". It helps to build trust and love between you and your dog and will make your dog a very happy one.
It's not always obvious how to teach certain behaviours using positive reinforcement (for example, when the objective is to stop a behaviour) but just ask a question about whatever problem you're facing and feel free to ask for positive reinforcement techniques specifically.
References:
- Blackwell, Emily J., et al. "The relationship between training methods and the occurrence of behavior problems, as reported by owners, in a population of domestic dogs." Journal of Veterinary Behavior: Clinical Applications and Research 3.5 (2008): 207-217.
- Hiby, E. F., N. J. Rooney, and J. W. S. Bradshaw. "Dog training methods: their use, effectiveness and interaction with behaviour and welfare." ANIMAL WELFARE-POTTERS BAR THEN WHEATHAMPSTEAD- 13.1 (2004): 63-70.