We want to study the salary function of a set of 100 firms. To that end, we dispose of a dabase composed by the informatio of salaries, the number of workers, the productivity of these workers, and union affiliation.