class_docstr: Inherits time series methods from TSM parent class.
  
  **** AUTOREGRESSIVE INTEGRATED MOVING AVERAGE EXOGENOUS (ARIMAX) MODELS ****
  
  Parameters
  ----------
  data : pd.DataFrame
      Field to specify the univariate time series data that will be used.
  
  formula : string
      patsy string notation describing the regression
  
  ar : int
      Field to specify how many AR lags the model will have.
  
  ma : int
      Field to specify how many MA lags the model will have.
  
  integ : int (default : 0)
      Specifies how many times to difference the time series.
  
  family : family object
      E.g pf.Normal(), pf.t(), pf.Laplace()...
class_docstr_tok: ["Inherits","time","series","methods","from","TSM","parent","class",".","*","*","*","*","AUTOREGRESSIVE","INTEGRATED","MOVING","AVERAGE","EXOGENOUS","(","ARIMAX",")","MODELS","*","*","*","*","Parameters","--","--","--","--","--","data",":","pd.DataFrame","Field","to","specify","the","univariate","time","series","data","that","will","be","used",".","formula",":","string","patsy","string","notation","describing","the","regression","ar",":","int","Field","to","specify","how","many","AR","lags","the","model","will","have",".","ma",":","int","Field","to","specify","how","many","MA","lags","the","model","will","have",".","integ",":","int","(","default",":","0",")","Specifies","how","many","times","to","difference","the","time","series",".","family",":","family","object","E.g","pf.Normal","(",")",",","pf.t","(",")",",","pf.Laplace","(",")","..."]
docstr: Plots dynamic in-sample forecasts with the estimated model against the data 
  
  Parameters
  ----------
  h : int (default : 5)
      How many steps to forecast
  
  fit_once : boolean
      Whether to fit the model once at the beginning (True), or fit every iteration (False)
  
  fit_method : string
      Which method to fit the model with
  
  Returns
  ----------
  - Plot of the forecast against data 
docstr_tok: ["Plots","dynamic","in-sample","forecasts","with","the","estimated","model","against","the","data","Parameters","--","--","--","--","--","h",":","int","(","default",":","5",")","How","many","steps","to","forecast","fit_once",":","boolean","Whether","to","fit","the","model","once","at","the","beginning","(","True",")",",","or","fit","every","iteration","(","False",")","fit_method",":","string","Which","method","to","fit","the","model","with","Returns","--","--","--","--","--","-","Plot","of","the","forecast","against","data"]
code: def plot_predict_is(
      self, h=5, fit_once=True, fit_method="MLE", **kwargs
  ):
      """Plots dynamic in-sample forecasts with the estimated model against the data
  
      Parameters
      ----------
      h : int (default : 5)
          How many steps to forecast
  
      fit_once : boolean
          Whether to fit the model once at the beginning (True), or fit every iteration (False)
  
      fit_method : string
          Which method to fit the model with
  
      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, fit_method=fit_method, fit_once=fit_once
      )
      data = self.data[-h:]
      plt.plot(predictions.index, data, label="Data")
      plt.plot(
          predictions.index, predictions, label="Predictions", c="black"
      )
      plt.title(self.data_name)
      plt.legend(loc=2)
      plt.show()
  
imports: import sys
  import numpy
  import pandas
  import scipy.stats
  import scipy.special
  from patsy import dmatrices, dmatrix, demo_data
  from ..None import families
  from ..None import output
  from ..None import tests
  from ..None import tsm
  from ..None import data_check
  from .arma_recursions import arimax_recursion
label_desc: Use image node_id 21 for calling the ARIMAX obj's underlying member method code with example usage: obj.plot_predict_is(h, fit_once, fit_method) without return types