0
$\begingroup$

I am playing with a data set and want to show the correlation between one variable (binary (delayed)) against rest of the variables (departure time, destination and the date) but I do not have any idea of the plot I could use

Which plot could I use to show the correlation between my binary variable, the rest of the variables? Here is a sample of the data

enter image description here

$\endgroup$
2
  • $\begingroup$ Hi, please provide sample data if you can, even just a 'head(data)' so we can understand how the data is constructed. $\endgroup$ Commented Nov 12, 2017 at 9:44
  • $\begingroup$ A sample of the data set has been provided $\endgroup$
    – Herc01
    Commented Nov 12, 2017 at 16:12

1 Answer 1

0
$\begingroup$

I don't really see how the data exactly fits to the variables mentioned in a question, but I understand what you are trying to say.

What you could try is a bar chart (showing an average value for this variable for example), but instead of showing just one bar for each variable you could provide two, showing the average value for this variable for instances of each value in your binary variable. I would advise to colour-code them to make it more easy for people to compare.

This approach could of course be extended into other visualization techniques which allow for analysis of more complex patterns in your dataset like boxplots etc.

Hope this helps!

$\endgroup$
0

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.