class_docstr: Inherits time series methods from TSM class.
  
  **** DYNAMIC AUTOREGRESSIVE MODEL ****
  
  Parameters
  ----------
  
  ar : int
      Number of autoregressive lags
  
  data : pd.DataFrame
      Field to specify the data that will be used
class_docstr_tok: ["Inherits","time","series","methods","from","TSM","class",".","*","*","*","*","DYNAMIC","AUTOREGRESSIVE","MODEL","*","*","*","*","Parameters","--","--","--","--","--","ar",":","int","Number","of","autoregressive","lags","data",":","pd.DataFrame","Field","to","specify","the","data","that","will","be","used"]
docstr: Plots forecasts with the estimated model against data
      (Simulated prediction with data)
  
  Parameters
  ----------
  h : int (default : 5)
      How many steps to forecast
  
  Returns
  ----------
  - Plot of the forecast against data 
docstr_tok: ["Plots","forecasts","with","the","estimated","model","against","data","(","Simulated","prediction","with","data",")","Parameters","--","--","--","--","--","h",":","int","(","default",":","5",")","How","many","steps","to","forecast","Returns","--","--","--","--","--","-","Plot","of","the","forecast","against","data"]
code: def plot_predict_is(self, h=5, **kwargs):
      """Plots forecasts with the estimated model against data
          (Simulated prediction with data)
  
      Parameters
      ----------
      h : int (default : 5)
          How many steps to forecast
  
      Returns
      ----------
      - Plot of the forecast against data
      """
      import matplotlib.pyplot as plt
      import seaborn as sns
  
      figsize = kwargs.get("figsize", (10, 7))
  
      plt.figure(figsize=figsize)
      predictions = self.predict_is(h)
      data = self.data[-h:]
      plt.plot(predictions.index, data, label="Data")
      plt.plot(
          predictions.index, predictions, label="Predictions", c="black"
      )
      plt.title(self.y_name)
      plt.legend(loc=2)
      plt.show()
  
imports: import copy
  import sys
  import numpy
  import pandas
  import scipy.stats
  from patsy import dmatrices, dmatrix, demo_data
  from ..None import families
  from ..None import tsm
  from ..None import data_check
  from .kalman import *
label_desc: Use image node_id 12 for calling the DAR obj's underlying member method code with example usage: obj.plot_predict_is(h) without return types