2
$\begingroup$

I have a study in which I find a decent correlation: on a quadratic prediction plot between a binary outcome and a continuous x. However, there are a few observations that have numbers that are not unrealistic, but so much higher than the rest that they are being plotted in a category of their own in which of course the 95% CI is terrible as there is 1-2 observations above 0.035 in the x value. I suspect this may be the reason I am not getting significant p values like I would expect from this relationship.

Would it be incorrect to simply remove these observations? Is there a tool that corrects for these outliers?

CSV file: https://gofile.io/?c=tHrojc

Measurement 1 and 2 are measurements done that are correlated and I believe their ratio may be able to predict the outcome. The ratio is Measurement3.

$\endgroup$
15
  • $\begingroup$ It depends on exactly where in the plot those outliers might fall, the reasons why they are outlying, and the objectives of your analysis. Please supply as much of that information as you can in your post. $\endgroup$
    – whuber
    Jan 11, 2020 at 13:56
  • 2
    $\begingroup$ Thank you for clarifying, I have changed it to a CSV file. $\endgroup$
    – Paze
    Jan 11, 2020 at 14:08
  • 1
    $\begingroup$ The outcome appears to have 40 outcome values of 1 and 11 values of 0. This has the effect of weighting the data towards 1. I made scatterplots of the data that do not appear to clearly distinguish outcome based solely on M1, M2, or their ratios. My conclusion is that this data - by itself - is insufficient to make either an explanatory or predictive model of outcome. $\endgroup$ Jan 11, 2020 at 16:08
  • 1
    $\begingroup$ Thank you for your insight, I have a problem understanding when and how many observations I need to have before applying what tests. How would you choose to relay this data and/or correlations in a paper, assuming it's all you had? Also I would love to see your scatterplots to see if mine are "correctly" made. $\endgroup$
    – Paze
    Jan 11, 2020 at 16:10
  • 1
    $\begingroup$ Last question, I find it easy to do with continuous dependent variables, but difficult for binary variables, how do you prefer to plot a binary dependent variable to visualize the model? $\endgroup$
    – Paze
    Jan 11, 2020 at 16:26

1 Answer 1

1
$\begingroup$

"The relationship should be calculated from adjusted values using a model that controls for intervention administration (outliers), otherwise the intervention effects are taken to be Gaussian noise, underestimating the actual correlation effect"

This was pointed out by @Adamo in one of his posts on time series data Interrupted Time Series Analysis - ARIMAX for High Frequency Biological Data? .

I would not throw them out ...but modify the anamolous points using the pulse estimates obtained for each relevant point.

$\endgroup$
1
  • $\begingroup$ It is curious to me and somewhat demoralizing to get a down vote when all I was suggesting was a "transformation" that enabled standard statistical tests to be administered. I someone thought I was rong I would like to find out why and become "smarter" or improved . $\endgroup$
    – IrishStat
    Jan 12, 2020 at 19:14

Your Answer

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

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