Singular matrix error in a Simulation
Posted: Sun Jan 18, 2015 11:38 pm
Hi, I have encountered some problem in doing a simulation.
In my simulation, I want to generate a list of series by fitting a nrnd pseudo number into my designed equation. When the series is generated estimation in an equation will be performed. However, sometime the series is generated as explosive series and leads into singular matrix error in the estimation process.
My question is, is there any tricks to tackle this problem? Example, when the series is generated as explosive series and singular matrix error happens, abandon this series and regenerate the series again without breaking the simulation run.
Thanks.
In my simulation, I want to generate a list of series by fitting a nrnd pseudo number into my designed equation. When the series is generated estimation in an equation will be performed. However, sometime the series is generated as explosive series and leads into singular matrix error in the estimation process.
My question is, is there any tricks to tackle this problem? Example, when the series is generated as explosive series and singular matrix error happens, abandon this series and regenerate the series again without breaking the simulation run.
Thanks.