Heart attack is one of the leading causes of death influenced by various risk factors such as age, marital status, gender, weight category, cholesterol levels, participation in stress management training, and stress level. Survival analysis is needed to describe the probability of an individual surviving without experiencing a heart attack for a certain amount of time, taking into account the presence of censored data. This study aims to estimate the survival function in heart attack risk using the Kaplan–Meier method (Product Limit Estimator). The data used consisted of 138 individuals with the variable age as the time of observation and the status of the heart attack event as an indicator of events, where as many as 68 individuals experienced an event (complete event) and 70 individuals had a censored status. The results of the Kaplan–Meier estimate show that the probability of survival decreases gradually with age, with the median survival time being obtained at age 70 (95% CI: 69–72 years). Analysis of stratification by sex showed that the median survival of males (69 years) was lower than that of females (72 years), with significant differences based on log-rank tests (p = 0.039). The resulting survival curve provides an overview of the risk pattern of heart attack by age, which can be a basis for consideration in prevention and early intervention efforts
Copyrights © 2026