# Reliability analysis by AkMCS.PCK

**URL:** <https://uqworld.org/t/reliability-analysis-by-akmcs-pck/732>\
**Category:** Community Q&A and How To\
**Tags:** reliability\
**Created:** [July 7, 2020, 5:19pm UTC](https://uqworld.org/t/reliability-analysis-by-akmcs-pck/732 "2020-07-07T17:19:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nluethen](https://uqworld.org/user_avatar/uqworld.org/nluethen/32/218_2.png) [@nluethen](https://uqworld.org/u/nluethen)\
**Post date:** [July 14, 2020, 8:32am UTC](https://uqworld.org/t/reliability-analysis-by-akmcs-pck/732/2 "2020-07-14T08:32:57Z")

</div>

Hi @Abdollahi,

The warning can sometimes appear, typically when your data does not contain enough information for LARS to select the regressors properly. Can you find out when the warning appears, is it already in the first iteration of AKMCS? It seems you are specifying 20 initial points and 20 additional points for AKMCS in more than 10 dimensions, so only 40 points in total, that might be too little to get a reasonable answer!

The [change in uq\_lar.m](https://uqworld.org/t/after-update-receiving-error-in-uq-blockwise-inverse/238) that you mention also had to do with data/design matrix problems, but doesn’t have to do with this warning, so it won’t change anything in your case.

Regarding your second question,

> [@Abdollahi](#):
>
> I used this option “LarsEarlyStop” and it was not worked for reliability analysis.

I am not sure what you mean with that (how did you notice it was not used?) But can it be that `LARS` should be a field of `APCKMCSOPTS.AKMCS.PCK` instead of being a field of `APCKMCSOpts`?

~~By the way, the line `APCKMCSOpts.Simulation.MaxSampleSize = 1e6;` is only valid for MC-based reliability and will probably be ignored.~~ Sorry, I was wrong about that, see [Reliability Analysis manual](https://uqftp.ethz.ch/uqlab_doc_pdf/1.3.0/UserManual_Reliability.pdf), p. 40.

Let us know whether this helped solve your problems. Good luck! 🙂

---

_[View the full topic](https://uqworld.org/t/reliability-analysis-by-akmcs-pck/732)._
