joint weight calculation

please tell me how to calculate joint weight . i am not able to understand . i tried many example from net to understand joint weight calculation. please upload a file which shows the manual calculation of joint weight along with proper explanation.also tell is it required to calculate  joint weight for all the joint or there is some other concept.

thanks in advance.