1
$\begingroup$

I would like to figure out why some devices of my company fail. Therefore, I'm able to use a list in which around 300 devices are listed together with about 70 parameters while only half of it is numerical, the others are mostly ok/not ok or quite a bunch of comments. The latter is hard to use for an analysis, I guess? However, the list contains mainly devices which failed within their first year (which means our warranty kicked in ^^).

I'm thinking about how to tackle this task in means of methods. At the moment I'm eyeballing on the data via scatter plots / correlations. I'm aware of various methods but I wonder which makes really sense instead of applying methods I can hardly draw insights from. My next move will be a PCA and/or a EFA, also already wonder, which makes more sense? Does a PCA really reveal information about the most influence (here)? Or instead a SEM? I've never worked with the latter one but it seems like what I'm looking for? However, it seems I have to know the so-called "latent" variable upfront resp. what it could be but this is what I am looking for? Could you evaluate those methods and/or provide some other useful approaches?

$\endgroup$
6
  • 2
    $\begingroup$ Looking at a biplot of your data where the points are coloured by whether they pass or failed is not guaranteed to be insightful, but it is a good start in an exploratory data analysis. $\endgroup$
    – Galen
    Commented Mar 15, 2022 at 20:50
  • 1
    $\begingroup$ 1. I hope you have data for devices that fail and devices that don't, otherwise it will be easy to be misled (noticing "this happens a lot with failing devices" is no use if it happens even more with non-failing ones). 2. If you do have both, ultimately you may be looking to say logistic regression, but you may want to split off some data to select features or derive new ones. 3. You may be able to identify particular keywords and combinations of keywords in the text field that are likely to be indicative; some things are very likely to suggest red flags to a process engineer, I expect $\endgroup$
    – Glen_b
    Commented Mar 16, 2022 at 0:44
  • $\begingroup$ Thank you both, this is helping! So far, I lack information about devices without failures.. have to check whether I can get some. $\endgroup$
    – Ben
    Commented Mar 16, 2022 at 6:29
  • 1
    $\begingroup$ @Ben, last comment: I don't think this is a good idea, as there is no guarantee whatsoever that this creates "realistic" data. You'd need to have a fairly reliable model for how parameters for non-failing devices should look like, not just intervals. $\endgroup$ Commented Mar 22, 2022 at 8:46
  • 1
    $\begingroup$ If you don't have data about devices that did not fail to make a comparison between devices that failed and did not fail (yet), then you might still learn something if you have data about the type of failure. For instance you mentioned that you know the time untill failure. Patterns that you find there might help you get some clues about the causes of failure. $\endgroup$ Commented Mar 22, 2022 at 9:03

1 Answer 1

1
$\begingroup$

I'm not an expert, but here's my guess:

It may be useful to do feature extraction from the variables that consist of unstructured text data. Useful features that come to mind include the length of the comments and their sentiment.

It may be useful to come up with several models for your data that can be used to classify a device as failing in the first year or not. I would consider using a random forest as one of these models. Then, looking at these models, you can see which variables were important.

I think that essentially what you are trying to do is causal inference. You want to know the cause of the failures. This is a good resource on causal inference.

Once you have an idea of what may be causing the failures, then you could do a randomized, controlled experiment for verification.

$\endgroup$
2
  • $\begingroup$ Thank you! I think I'll follow this. Could you also please point out whether it makes sense to apply a PCA before applying a RF? Is a PCA useful in general, here? $\endgroup$
    – Ben
    Commented Mar 22, 2022 at 6:29
  • 1
    $\begingroup$ I'm not an expert, but this answer seems to suggest that using only the top components from a PCA as features in a Random Forest may be beneficial. $\endgroup$ Commented Mar 22, 2022 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.