We propose here a structural and conjunctural compensation method to improve budgetary allocation which could be based on Diagnosis Related Groups. This method consists in the determination of sub-group costs within DRGs. The specification of these sub-groups is possible by introducing clinical and social parameters in the statistical model. Hospitals could then compare their sub-group proportions and analyze their differences in relation to conjunctural factors (recruitment, medical practices) and structural factors (technical team, local medical structure). This method also allows an identification of specialty hospitals (outliers) and a compensation allocation for budgeting for these hospitals.