code: def test2_normal_normal():
      """
      Tests an GASReg model estimated with Laplace, with multiple predictors, and
      tests that the latent variable vector length is correct, and that value are not nan
      """
      model = pf.GASReg(
          formula="y ~ x1 + x2", data=data, family=pf.Normal()
      )
      x = model.fit("Laplace")
      assert len(model.latent_variables.z_list) == 4
      lvs = np.array([i.value for i in model.latent_variables.z_list])
      assert len(lvs[np.isnan(lvs)]) == 0
  
imports: import numpy
  import pandas
  import pyflux
label_desc: Use image node_id 27 for calling a global function with example usage: test2_normal_normal() without return types