Ferroelectric thin films of PbZr0.5Ti0.5O3 were prepared by sol-gel process. Top electrodes of different sizes were deposited on thin films in order to study their influence on electrical properties. Histograms of the measured electrical characteristics are related to the electrode sizes. By reducing the electrode size, it is possible to improve the electrical properties of the film. Various properties, such as remanent polarization Pr and coercive voltage Vc, were measured statistically in order to show the evolution of their mean value and of their variance with the electrode size.