Consistent beta values from density-density and velocity-velocity comparisons