Sample a series of size n assuming an ARIMA(p, d, q) process.
        
        Parameters
        ----------
        n:
            size of sample
            
        Returns a series reflecting ARIMA(p, d, q) process as a DenseVector

def sample(self, n):
        """
        Sample a series of size n assuming an ARIMA(p, d, q) process.
        
        Parameters
        ----------
        n:
            size of sample
            
        Returns a series reflecting ARIMA(p, d, q) process as a DenseVector
        """
        rg = self._ctx._jvm.org.apache.commons.math3.random.JDKRandomGenerator()
        return _java2py(self._ctx, self._jmodel.sample(n, rg))