SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
Expand all | Collapse all

TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

  • 1.  TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed July 17, 2024 09:31 AM
      |   view attached
     The analysis file is attached. COX regression analysis.
    The data are mixed in Japanese, but the frames in the variable view are in English.
    1.Survival variables include duration of administration
    2.The status variable is outcome (survival, death)
    3.Covariates are 17factors
    4.Strata:Number of drug( Value labels are 3 categories
     
    ※Why is polypharmacy the only case where the odds ratio cannot be calculated and is denoted by a?

    The input is the same as for the other variables, with (1) and without (0) inputs.

    The following 17 factors,→(3.Covariates are 17factors)
    【性別】SeX
    【年齢】Age 
     BW50kg<
    【フォレイル18.5】FFlail18.5
    polypharmacy
    No medicines(医薬品数)
    CHADS2【C】
    CHADS2【H】
    CHADS2【D】
    HASBLED【A】腎障害
    HASBLED【A】肝障害
    HASBLED【S】
    HASBLED【B】
    ガン(cancer)
    認知症(dementia)
    透析(Dialysis)
    心房細動(Atrial fibrillation)
    To perform COX regression analysis,
    The survival variable is the duration of treatment._max, outcome as the status variable(1), and 17 factors as covariates (16 categorical variables and 
    non-categorical variable drugs is No.medicines  ).
      
     


    ------------------------------
    TS016685054
    Megumi IZUMIOSAWA(JAPAN)
    17-JUL-24
    ------------------------------

    Attachment(s)

    sav
    7.10IBM _DOAC.sav   1.92 MB 1 version


  • 2.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed July 24, 2024 01:20 PM
    Edited by David Dwyer Thu July 25, 2024 09:06 AM

    Hi @恵 泉澤

    I looked at your data and I see that for each level of your  "NumberofDrugs" variable, the "PolyPharmacy" variable is a constant.  So there is no variation (in "PolyPharmacy") at each stratum.

    This is why the COXREG procedure was ignoring the "PolyPharmacy" variable.  If you drop that variable from the analysis, you get the exact same results (minus the footnotes that concerned you).



    ------------------------------
    David Dwyer
    SPSS Technical Support
    IBM Software
    ------------------------------



  • 3.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Thu July 25, 2024 03:50 AM
    CC support   
     
    Thank you for contacting us.
    Polypharmacy is the dependent variable in the equation and is a 0,1 categorical variable, independent of number of drugs. On the other hand, numbrt of drugs is a strata variable and is put in as a grouping, 1-3 groupings, and both variables are not tied to each other.
    Are they repelled because they have the same English name?
    If you don't put the strata, they will not draw a figure divided into 3 groups.
    So is it calculated as a and not calculated as a as interrelated collinear variables?
    Sorry, but I don't understand your comment.
    Please let us know.

    Best
    Megumi  IZUMISAWA
    265-JUL-25






  • 4.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Mon July 29, 2024 11:00 AM

    Hi @恵 泉澤

    I will readily defer to the actual Statisticians in this Community.  Here is my understanding:

    • You are asserting the "PolyPharmacy" variable is the dependent variable, yet you are treating it as a covariate.  You are treating the "Outcome" variable (0=survive, 1=death) as your dependent; and that seems appropriate for Cox Regression.
    • As a covariate, the "PolyPharmacy" variable contributes no new information to the analysis.  "PolyPharmacy is linearly dependent upon "NumberofDrugs".  That is,  if you know the value of "NumberofDrugs" then you already know the value of "PolyPharmacy"
    • Literally, PolyPharmacy is equal to the condition (NumberofDrugs > 4). When that condition is false, Polypharmacy=0.  When that condition is true, PolyPharmacy=1.  The presence of the "NumberofDrugs" variable contributes exactly the same information to the analysis as having both "NumberofDrugs" and "PolyPharmacy" in the analysis.


    ------------------------------
    David Dwyer
    SPSS Technical Support
    IBM Software
    ------------------------------



  • 5.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Tue July 30, 2024 09:15 AM
    Dear DR David Dwyer
    CC Anju PS

    Thank you for your message. I realized there was an error in my previous message. 
    Polypharmacy is not the dependent variable, but rather an independent or explanatory variable. I apologize for the mistake in terminology.

    I also understand your point better now. I was not fully clear on the meaning of "strata." Instead of entering the presence or absence of polypharmacy and the number of drugs into the strata box, it should contain the five specific drug names related to polypharmacy, correct?

    In that case, the hazard ratio for polypharmacy can indeed be calculated.

    When conducting Cox regression analysis, entering the presence or absence of polypharmacy and the number of drugs as covariates does not allow for the calculation of a hazard ratio. These two variables likely cannot be included together as covariates because they are collinear.

    I may not fully understand the log-rank test yet. However, I realized that I was mistaken in my previous thinking. By including the five types of anticoagulant drugs in the strata and conducting Cox regression analysis, the hazard ratio for polypharmacy could be calculated.

    Thank you for your guidance.

    BestRegards
    Megui IZUMISAWA
    30-JUL-24





    --

    ☎♌☎♌☎♌☎♌☀☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌
    泉澤 恵 Megumi IZUMISAWA、Ph.D
    日本大学薬学部
    College  of  Pharmacy Nihon Unversity 
    〒274-8555千葉県船橋市習志野台7-7-1
     7-7-1,Narashinodai.Funabashi-shi,Chiba-ken ,JAPAN
     ☎+81-47-465-7413
    ☎♌☎♌☎♌☎♌☀☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌







  • 6.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Tue July 30, 2024 09:42 AM
    Edited by Aruna Saraswathy Tue July 30, 2024 09:42 AM
      |   view attached


    Hi,

    Adding more "ones" to the polypharmacy column fixed the problem with the "polypharmacy" variable not generating results in your Cox regression analysis. The issue you're encountering suggests that the problem is likely related to the number of events (e.g., deaths) in the categories of this variable. Some possible explanations are,

    • Sparse Data: If the initial number of events in the polypharmacy group is too low, the Cox regression model might not have enough information to estimate the hazard ratio reliably. By adding more "ones," you increase the number of events, allowing the model to generate a result.

    • Complete Separation: Complete separation occurs when the outcome variable perfectly separates the groups defined by the predictor variable. For example, if all patients with polypharmacy survived and all patients without polypharmacy died, the model cannot estimate the effect of polypharmacy because there is no variability in the outcome within each group. By adding more "ones," you introduce more variability, which helps the model estimate the hazard ratio.

    • Event Distribution: Cox regression relies on the distribution of events across the levels of a covariate. If the distribution is heavily skewed (e.g., almost all events occur in one group), the model might struggle to estimate hazard ratios for less frequent groups. Adding more cases can balance the distribution.

    • Power and Sample Size: Statistical power and sample size are crucial for reliable estimates in regression models. If the polypharmacy group initially had too few cases, the model might lack the power to detect an effect. Increasing the sample size improves the power and the reliability of the estimates.




    ------------------------------
    Aruna Saraswathy
    Statistician
    SPSS Statistics
    IBM
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: Wed July 17, 2024 03:01 AM
    From: 恵 泉澤
    Subject: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

     The analysis file is attached. COX regression analysis.
    The data are mixed in Japanese, but the frames in the variable view are in English.
    1.Survival variables include duration of administration
    2.The status variable is outcome (survival, death)
    3.Covariates are 17factors
    4.Strata:Number of drug( Value labels are 3 categories
     
    ※Why is polypharmacy the only case where the odds ratio cannot be calculated and is denoted by a?

    The input is the same as for the other variables, with (1) and without (0) inputs.

    The following 17 factors,→(3.Covariates are 17factors)
    【性別】SeX
    【年齢】Age 
     BW50kg<
    【フォレイル18.5】FFlail18.5
    polypharmacy
    No medicines(医薬品数)
    CHADS2【C】
    CHADS2【H】
    CHADS2【D】
    HASBLED【A】腎障害
    HASBLED【A】肝障害
    HASBLED【S】
    HASBLED【B】
    ガン(cancer)
    認知症(dementia)
    透析(Dialysis)
    心房細動(Atrial fibrillation)
    To perform COX regression analysis,
    The survival variable is the duration of treatment._max, outcome as the status variable(1), and 17 factors as covariates (16 categorical variables and 
    non-categorical variable drugs is No.medicines  ).
      
     



    ------------------------------
    TS016685054
    Megumi IZUMIOSAWA(JAPAN)
    17-JUL-24
    ------------------------------



  • 7.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Sun August 04, 2024 03:43 AM

    Hello Aruna,

     

    I was reading your reply and had some questions, if you do not mind me asking 😊

     

    About Event Distribution- any test or rule of thumb that you can recommend using that ensures adequate distribution?

     

    Power and Sample size- any plans for upgrading the thin selection of the new power analysis features in SPSS?

     

              

    Meni Berger |

    Data Scientist and Head of Tech  Support

    Email  -  Meni@genius.co.il

    11 Menachem Begin st.,  Ramat Gan

    www.genius.co.il

    Click here to open a support ticket  

    Title: LinkedIn - Description: image of LinkedIn icon

     

     






  • 8.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed August 07, 2024 08:38 AM
      |   view attached

    アドバイスありがとうございます。

    アルーナ博士は分析から再分析され、その結果を発表しました。以下の点が理解できません。

     「「多剤併用」列に「1」を追加すると、「多剤併用」変数が Cox 回帰分析の結果を生成する問題が解決しました。意見。

    多剤併用の列にはすでに多剤併用の有無を示す 0 と 1 のデータがあります。同じ列に 1 を追加するとはどういう意味ですか? この内容が理解できません。そのため、Arna が添付したデータを解釈できません。

    NumberofDrugsの代わりに5つの薬の名前を含むMedicationNameを持つ層がある場合

    多剤併用療法は、結果に対して有意なハザード比を示しました。

    分析の結果を添付しておりますので、ご確認下さい。

    宜しくお願いします 

    泉澤 正之/

    2024年8月7日

    ご助力ありがとうございます。



    ------------------------------
    恵 泉澤
    ------------------------------

    Attachment(s)



  • 9.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed August 07, 2024 08:56 AM

    Hi @Megumi IZUMIOSAWA


    Sparse Data:
    • Initially, there were too few events (e.g., deaths) in the polypharmacy group for the Cox regression model to estimate the hazard ratio reliably. Sparse data can lead to unreliable or non-estimable results in regression analysis.
    • By adding more "1"s, you increased the number of events in the polypharmacy group, providing the model with enough data to estimate the hazard ratio.
    Event Distribution:
    • The distribution of events across the levels of the polypharmacy variable might have been heavily skewed, meaning there was a significant imbalance between the groups (polypharmacy present vs. absent). This lack of variability can prevent the model from effectively estimating the hazard ratio.
    You entered the names of five drugs into the strata and performed a Cox regression analysis. When stratifying by these five drug names, which do not overlap with the covariates, you found that polypharmacy became a risk factor for mortality with a hazard ratio (HR) of 1.455 (95% CI: 1.16-1.82).
    Explanation:

    Stratification:

    • By stratifying by the names of five drugs, you controlled for their confounding effects, ensuring that these drugs did not overlap with the covariates in your model.

    Model Inclusion:

    • You included polypharmacy and ten other covariates as covariates in your Cox regression model. This approach allowed the model to isolate the effect of polypharmacy on mortality.

    Results:

    • After performing the stratified analysis, polypharmacy emerged as a significant risk factor for mortality, with an HR of 1.455. This means that, after adjusting for other covariates and the stratified drug names, patients with polypharmacy have a 45.5% higher risk of mortality compared to those without polypharmacy.



    ------------------------------
    Aruna Saraswathy
    Statistician
    SPSS Statistics
    IBM
    ------------------------------



  • 10.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed August 07, 2024 09:28 AM

    Thank you for your explanation earlier.

    Thank you for your explanation earlier.
    You point out that the number of deaths is small, but the number of deaths due to polypharmacy is 701, which is 3.8% of the total number of deaths. Does this 3.8% mean that the number of deaths is small, or does it have to be more than 10% of the total to be difficult?

    As for the hazard ratio, I understand.
    Thank you very much.

    MEGUMI IZUMISAWA



    ------------------------------
    恵 泉澤
    ------------------------------



  • 11.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed August 07, 2024 09:17 AM
    Edited by Aruna Saraswathy Wed August 07, 2024 09:18 AM

    Hi @Meni Berger

    While there isn't a strict, universally applicable thumb rule for event distribution in Cox regression, a commonly cited guideline is the "10 events per variable" rule.

    This rule suggests that for reliable model performance, you should have at least 10 events for each predictor variable included in your model. However, it's important to note that:

    • This is a general guideline and not a rigid rule.
    • The performance of the model can be influenced by various factors beyond the number of events, such as the distribution of event times, the number of censored observations, and the complexity of the model.
    • Recent research suggests that this rule might be overly conservative in some cases.



    Some tests to consider:

    1. Frequency Counts: Ensure that each category of a categorical variable has a reasonable number of cases. A rule of thumb is that each category should have at least 10 events (e.g., deaths) for reliable estimates.
    2. Proportional Distribution: Check the proportion of events across the levels of your variable. Ideally, there should not be extreme imbalances (e.g., one category having 95% of the events while the others have very few).
    3. Chi-Square Test: Use the chi-square test for independence to check if there is a significant association between your predictor and outcome variables. A significant result might indicate an imbalance that could affect your regression results.
    4. Log-Rank Test: This test can compare the survival distributions of two samples. It helps ensure that there is a sufficient number of events across different strata or groups.
    5. Visual Inspection: Plot the Kaplan-Meier survival curves for different levels of your covariates. If the curves are extremely separated or show little overlap, it could indicate issues with event distribution.


      And regarding plans for upgrading SPSS power analysis features, we are likely to expand them in the future based on user feedback and market trends.



    ------------------------------
    Aruna Saraswathy
    Statistician
    SPSS Statistics
    IBM
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: Wed July 17, 2024 03:01 AM
    From: 恵 泉澤
    Subject: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

     The analysis file is attached. COX regression analysis.
    The data are mixed in Japanese, but the frames in the variable view are in English.
    1.Survival variables include duration of administration
    2.The status variable is outcome (survival, death)
    3.Covariates are 17factors
    4.Strata:Number of drug( Value labels are 3 categories
     
    ※Why is polypharmacy the only case where the odds ratio cannot be calculated and is denoted by a?

    The input is the same as for the other variables, with (1) and without (0) inputs.

    The following 17 factors,→(3.Covariates are 17factors)
    【性別】SeX
    【年齢】Age 
     BW50kg<
    【フォレイル18.5】FFlail18.5
    polypharmacy
    No medicines(医薬品数)
    CHADS2【C】
    CHADS2【H】
    CHADS2【D】
    HASBLED【A】腎障害
    HASBLED【A】肝障害
    HASBLED【S】
    HASBLED【B】
    ガン(cancer)
    認知症(dementia)
    透析(Dialysis)
    心房細動(Atrial fibrillation)
    To perform COX regression analysis,
    The survival variable is the duration of treatment._max, outcome as the status variable(1), and 17 factors as covariates (16 categorical variables and 
    non-categorical variable drugs is No.medicines  ).
      
     



    ------------------------------
    TS016685054
    Megumi IZUMIOSAWA(JAPAN)
    17-JUL-24
    ------------------------------



  • 12.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed August 07, 2024 09:31 AM

    Thank you very much.

    I learned a lot from this book, as it is not well described in Japanese books.
    It is now 10:30 pm in Japan.
    I am sorry, but I have to leave now.

    Megumi IZUMISAWA(inJAPAN)

    7-AUG-24



    ------------------------------
    恵 泉澤
    ------------------------------



  • 13.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Thu August 08, 2024 07:49 AM

    Note that nowadays, Frank Harrell and others recommend a minimum of 20 events (not 10) per explanatory variable degree of freedom.  See point 3 here (or search for 20:1):

    Author Checklist

    Datamethods Discussion Forum remove preview
    Author Checklist
    Statistical Problems to Document and to Avoid Checklist for Authors References | Ten Simple Rules | Checklist to Avoid p-Hacking | Research Reliability and Publishing | Guidelines for Reporting of Statistics | Guidelines for Figures and Tables | Statistical Myths | Video | Common Pitfalls This list is not all-inclusive, and nominations for additional entries are welcomed.
    View this on Datamethods Discussion Forum >

    It is important to note that these rules are about explanatory variable degrees of freedom, not explanatory variables per se.  E.g., if you include a categorical variable with 5 categories, it eats up 4 explanatory df. 

    Note too that such rules of thumb are concerned with reducing the likelihood of overfitting your model, not with ensuring adequate power to detect some smallest effect size of interest. 

    HTH.



    ------------------------------
    Bruce Weaver
    ------------------------------



  • 14.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Sun August 11, 2024 04:44 AM

    Thank you Bruce for your insightful remark.

     

    Also for pointing out the existence of datamethods.org!

     

              

    Meni Berger |

    Data Scientist and Head of Tech  Support

    Email  -  Meni@genius.co.il

    11 Menachem Begin st.,  Ramat Gan

    www.genius.co.il

    Click here to open a support ticket  

    Title: LinkedIn - Description: image of LinkedIn icon

     

     






  • 15.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed August 07, 2024 10:23 AM

    Hi @恵 泉澤

    A small percentage doesn't automatically mean there's a problem. The critical factor is how these deaths are distributed across the categories of the covariate. Even if the percentage is low, as long as the absolute number (701 deaths) provides enough data in each relevant category, it's generally sufficient. For Cox regression, it's important to look at how events (deaths) are spread across different levels of your covariate (e.g., different levels of polypharmacy). If there are many deaths but they are all concentrated in one category, it might skew results. Review the distribution of deaths across categories of polypharmacy. For example, if the majority of the deaths are in one category, make sure that the other categories also have a sufficient number of events.



    ------------------------------
    Aruna Saraswathy
    Statistician
    SPSS Statistics
    IBM
    ------------------------------



  • 16.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed August 07, 2024 11:28 PM

    Dear Dr.Aruna

    I am Understood.
    I will be stuck at work today until 5:00 p.m. Japan time, so I will check after that.
    Thank you for the opportunity to learn deeply through your guidance.

    M.IZUMISAWA

    8-aug-24 pm 0.28



    ------------------------------
    恵 泉澤
    ------------------------------



  • 17.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Sat August 10, 2024 01:38 AM
      |   view attached

    Dear Dr  Aruna

    Thank you for your guidance.
    As for the distribution among categories, I thought I would attempt to confirm this by drawing a scatter plot. However, I cannot see the shape of the distribution because the events are 0, 1 (alive, dead) and polypharmacy (1 with, 0 without).
    So I created a forest plot of reported odds ratios with death and each factor.
    Here we ran into a problem.
    For the factors that Kaplan-Meier found to have significant negative hazard ratios, the reported odds ratio calculations were all positive and significant, the opposite result.

    Polypharmacy remained a significant positive factor in the reported odds ratio. Hypertension, however, was a significant negative hazard ratio in Kaplan-Meier .

    So the question is.
    Q1, Is the reported odds ratio (calculated by χ2 test) not accurate because it confirms the risk ratio only between the two factors?
    However, can we consider the reported odds ratio as a form of distribution?
    Q2, When considering the outcome of death, is it common to use the multi-factor Kaplan-Meier calculation? Forest plots are also commonly used.
    HR values for heart failure and hypertension are negative.
    Sorry to keep repeating this, but it doesn't feel right to me that the positive and negative relationship between HR and OR values are reversed.

    Sorry to hear back from IBM who will close this thread on the 14th.
    However, I would appreciate your guidance as it is necessary to properly understand how to use SPSS.
    Thank you in advance for your cooperation

     ※*Reported odds ratios are attached in the attachment.

    Best Regard 

    M.IZUMISAWA10-AUG-24



    ------------------------------
    恵 泉澤
    ------------------------------

    Attachment(s)



  • 18.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed August 14, 2024 05:59 AM

    Hi,

    You're absolutely right to question the discrepancy between odds ratios and hazard ratios.

    Odds ratio is a measure of association between two categorical variables. It's suitable for case-control studies but less informative for survival data. Hazard ratio is specific to survival analysis. It measures the instantaneous risk of an event at a specific time, considering time-dependent covariates.   The key point is that odds ratios and hazard ratios measure different things. While an odds ratio of greater than 1 suggests an increased risk, a hazard ratio of less than 1 suggests a decreased risk. This difference can lead to seemingly contradictory results.

    Can we consider the reported odds ratio as a form of distribution?
    No, an odds ratio is a single value, not a distribution. It represents the ratio of odds between two groups.

    You're correct in using Kaplan-Meier curves and forest plots for survival data.

    Kaplan-Meier curves visualize survival probabilities over time, allowing comparison between groups. Forest plots are excellent for presenting hazard ratios and their confidence intervals from multiple models.  Multi-factor Kaplan-Meier calculations are not typically used. Instead, Cox proportional hazards models are employed to analyze the effects of multiple factors on survival.  In short, Odds ratios and hazard ratios measure different aspects of the data. Hazard ratios are more appropriate for survival analysis. Kaplan-Meier curves and forest plots are valuable tools for visualizing and interpreting survival data.



    ------------------------------
    Aruna Saraswathy
    Statistician
    SPSS Statistics
    IBM
    ------------------------------



  • 19.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Wed August 14, 2024 07:13 AM
    Dear  Dr. Aruna
    Thank you for your prompt response.
    We appreciate Dr. Aruna's kindness.
    I am new to Kaplan-Meier curves and calculating hazard ratios, so I don't think I understand the content very well. 
    Also, the discussion in Dr. Aruna's reply is difficult for me as a beginner and I am not able to catch up with the understanding now.

    I'm afraid that I might have used SPSS incorrectly if I get different results.
    I will continue to study.
    I also remain concerned that the Kaplan-Meier curve is not neatly drawn.
    Thank you very much for your various guidance.
    I am very happy that SPSS described the Kaplan-Meier curve.
    but I am not even sure if the curve is correct. Because I have heard that SAS users draw the Kaplan-Meier curve in Excel.
    I heard that is because the statistical software of SAS cannot draw it nicely.
    Thank you very much for your detailed answers so far.

    14-AUG-24

    besuto Regards
    Megumi IZUMISAWA

    ☎♌☎♌☎♌☎♌☀☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌
    泉澤 恵 Megumi IZUMISAWA、Ph.D
    日本大学薬学部
    College  of  Pharmacy Nihon Unversity 
    〒274-8555千葉県船橋市習志野台7-7-1
     7-7-1,Narashinodai.Funabashi-shi,Chiba-ken ,JAPAN
     ☎+81-47-465-7413
    ☎♌☎♌☎♌☎♌☀☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌







  • 20.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Fri August 16, 2024 11:20 AM

    Aruna Saraswathy wrote: 

    "Odds ratio is a measure of association between two categorical variables. It's suitable for case-control studies but less informative for survival data." 

    To be clear, the odds ratio can also be used as a measure of association between a quantitative explanatory variable and a categorical outcome variable.  E.g., the following code estimates a binary logistic regression with Age in years as the only explanatory variables, and Exp(B) for Age is an odds ratio.

    * Modify path to point to where the "sample" datasets are stored on your computer.
    GET FILE='C:\SPSSdata\bankloan.sav'.
    LOGISTIC REGRESSION VARIABLES default
      /METHOD=ENTER age 
      /PRINT=CI(95)
      /CRITERIA=PIN(0.05) POUT(0.10) ITERATE(20) CUT(0.5).



    ------------------------------
    Bruce Weaver
    ------------------------------



  • 21.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Sun August 18, 2024 04:18 AM
    Dear  Dr. Aruna
    IDear IBMers
      
    Thank you for your prompt response.
    We appreciate Dr. Aruna's kindness.
    I am new to Kaplan-Meier curves and calculating hazard ratios, so I don't think I understand the content very well.
    Also, the discussion in Dr. Aruna's reply is difficult for me as a beginner and I am not able to catch up with the understanding now.

    I'm afraid that I might have used SPSS incorrectly if I get different results.
    I will continue to study.
    I also remain concerned that the Kaplan-Meier curve is not neatly drawn.
    Thank you very much for your various guidance.
    I am very happy that SPSS described the Kaplan-Meier curve.
    but I am not even sure if the curve is correct. Because I have heard that SAS users draw the Kaplan-Meier curve in Excel.
    I heard that is because the statistical software of SAS cannot draw it nicely.
    Thank you very much for your detailed answers so far.


    *******************************
    The above was responded to on August 14, and I received a message on August 17, to which I would like to reply.

    The Cox regression analysis in survival analysis is a multivariate analysis that includes time as a variable, making it a more informative approach that considers the element of time, compared to simply calculating the odds ratio between death and a factor. In analyses where the time factor is not considered, the influence of factors on the outcome, which is death, may be reversed, indicating a limitation of such analyses.

    Since death varies with various factors and time, as you pointed out, the results of the Cox regression should be prioritized. However, the factors chosen as candidates are independent variables based on hypotheses, which may limit the hazard ratio. My analysis data comes from a retrospective cohort study, so there may also be limitations in the population as a whole.

    Since the odds ratio is a measure of association, I will focus on the results of the Cox regression analysis when considering the factors contributing to death.

    Thank you for your guidance.


    18-AUG-24

    Megumi  IZUMISAWA



    ☎♌☎♌☎♌☎♌☀☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌
    泉澤 恵 Megumi IZUMISAWA、Ph.D
    日本大学薬学部
    College  of  Pharmacy Nihon Unversity 
    〒274-8555千葉県船橋市習志野台7-7-1
     7-7-1,Narashinodai.Funabashi-shi,Chiba-ken ,JAPAN
     ☎+81-47-465-7413
    ☎♌☎♌☎♌☎♌☀☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌☎♌







  • 22.  RE: TS016685054:I don't understand the COX regression analysis results -> why the polypharmacy variable does not come up with a hazard ratio.

    Posted Tue August 20, 2024 01:18 PM

    You mentioned that polypharmacy is the only case where the odds ratio could not be calculated, and it is denoted by "a". This situation can arise due to several reasons in COX regression analysis:
    1. Sparse Data or Low Event Rate
    2. Perfect Separation
    3. Multicollinearity
    4. Input Coding

    Review the frequency of events within the polypharmacy category. If there are very few or too many events, consider combining categories or using a different model and Run diagnostics to check for multicollinearity or separation issues. Consider using penalized regression methods if needed.


    Muhammad Ramzan |

    Head of Tech  Support

    Manama, Bahrain

    https://www.alzayani.com/



    ------------------------------
    Alzayani Investment
    ------------------------------