Skip to contents

# Spanish company employee data

`employees.Rd`

Data used in example 3 of Salmerón, García and García (2024) (subsection 4.3) on the number of employees of Spanish companies.

## Usage

    data("employees")

## Format

A data frame with 15 observations on the following 5 variables:

`NE`

  Number of employees (dependent variable).

`cte`

  Intercept.

`FA`

  Fixed assets (in euros).

`OI`

  Operating income (in euros).

`S`

  Sales (in euros).

## Details

This dataset is originally used by Salmerón, Rodríguez, García and García (2020).

## References

Salmerón, R., Rodríguez, A., García, C.B. and García, J. (2020). The VIF and MSE in raise regression. Mathematics, 8(4), doi: doi:10.3390/math8040605 .

Salmerón, R., García, C.B. and García, J. (2025). A redefined Variance Inflation Factor: overcoming the limitations of the Variance Inflation Factor. Computational Economics, 65, 337-363, doi: doi:10.1007/s10614-024-10575-8 .

## Examples

      head(employees, n=5)
    #>       NE cte       FA       OI        S
    #> 1   2637   1    44153    38903    38867
    #> 2  15954   1  9389509  4293386  4231043
    #> 3 162503   1 17374000 23703000 23649000
    #> 4 162450   1  9723088 23310532 23310532
    #> 5  28389   1 95980120 29827663 29215382
      y = employees[,1]
      x = employees[,3:5]
      multicollinearity(y, x)
    #>          RVIFs           c0           c3 Scenario Affects
    #> 1 1.829154e-16 2.307712e-16 4.679301e-17      a.1      No
    #> 2 1.696454e-12 9.594942e-13 2.129511e-13      b.1     Yes
    #> 3 1.718535e-12 1.100437e-12 2.683809e-12      b.2      No