class_docstr: Vasicek results are compared with the R package vsgoftest.
  
  # library(vsgoftest)
  #
  # samp <- c(<values>)
  # entropy.estimate(x = samp, window = <window_length>)
class_docstr_tok: ["Vasicek","results","are","compared","with","the","R","package","vsgoftest",".","#","library","(","vsgoftest",")","#","#","samp","<","-","c","(","<","values",">",")","#","entropy.estimate","(","x","=","samp",",","window","=","<","window_length",">",")"]
code: def test_differential_entropy_vasicek(self):
      random_state = np.random.RandomState(0)
      values = random_state.standard_normal(100)
  
      entropy = stats.differential_entropy(values, method="vasicek")
      assert_allclose(entropy, 1.342551, rtol=1e-6)
  
      entropy = stats.differential_entropy(
          values, window_length=1, method="vasicek"
      )
      assert_allclose(entropy, 1.122044, rtol=1e-6)
  
      entropy = stats.differential_entropy(
          values, window_length=8, method="vasicek"
      )
      assert_allclose(entropy, 1.349401, rtol=1e-6)
  
imports: import numpy
  from numpy.testing import assert_equal, assert_allclose
  from numpy.testing import assert_, assert_almost_equal, assert_array_almost_equal
  import pytest
  from pytest import raises
  import scipy.stats
label_desc: Use image node_id 1 for calling the TestDifferentialEntropy obj's underlying member method code with example usage: obj.test_differential_entropy_vasicek() without return types