0
$\begingroup$

I am doing a survival analysis on vending machines based on their time to failure.

However, my machines are deployed in 4 main locations, machines are all installed at a different time depending on location.

Do I need to include the machine's start date as a feature in my model? Or do library models like those provided by pysurvival only need to know the time to failure regardless of installation date?

$\endgroup$
0
$\begingroup$

If you feel that the machine's reliability is correlated to start date (for example, due to improved installation experience), then yes, you should include it as a feature (probably as a start date - <some arbitrary date>-like variable).

(Note this does not change your duration of event-occurred variables)

It often helps to think about human health when using survival analysis, as that domain is very familiar to us. If you had a dataset of individuals' lifespans from 1800s to now, the year (or decade) they were born really would effect lifespans, since, for example, the impact of early childhood diseases have changed significantly over time.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.