code: def test_broadcasting(self):
      _independent = as_column(np.array([1, 2, 3, 4, 5]))
      dependent = _independent * [2.5, 1.0, -3.5]
  
      def do_check(independent):
          result = vectorized_pearson_r(
              dependent, independent, allowed_missing=0
          )
          assert_equal(result, np.array([1.0, 1.0, -1.0]))
  
      # We should get the same result from passing a N x 1 array or an N x 3
      # array with the column tiled 3 times.
      do_check(_independent)
      do_check(np.tile(_independent, 3))
  
imports: import numpy
  from numpy import arange, full, full_like, nan, where
  from pandas import DataFrame, date_range, Int64Index, Timestamp
  from pandas.util.testing import assert_frame_equal
  from scipy.stats import linregress, pearsonr, spearmanr
  from empyrical.stats import beta_aligned
  from zipline.assets import Equity, ExchangeInfo
  from zipline.errors import IncompatibleTerms, NonExistentAssetInTimeFrame
  from zipline.pipeline import CustomFactor, Pipeline
  from zipline.pipeline.data import USEquityPricing
  from zipline.pipeline.data.testing import TestingDataSet
  from zipline.pipeline.domain import US_EQUITIES
  from zipline.pipeline.engine import SimplePipelineEngine
  from zipline.pipeline.factors import Returns, RollingLinearRegressionOfReturns, RollingPearsonOfReturns, RollingSpearmanOfReturns, SimpleBeta
  from zipline.pipeline.factors.statistical import vectorized_beta, vectorized_pearson_r
  from zipline.pipeline.loaders.frame import DataFrameLoader
  from zipline.pipeline.sentinels import NotSpecified
  from zipline.testing import AssetID, AssetIDPlusDay, check_arrays, make_alternating_boolean_array, make_cascading_boolean_array, parameter_space
  import zipline.testing.fixtures
  from zipline.testing.predicates import assert_equal
  from zipline.utils.numpy_utils import as_column, bool_dtype, datetime64ns_dtype, float64_dtype
label_desc: Use image node_id 5 for calling the VectorizedCorrelationTestCase obj's underlying member method code with example usage: obj.test_broadcasting() without return types