How to create a linear regression graph from this table?
I have a table like this:Patient Drug Result
Patient 1 Drug A 15.0
Patient 1 Drug B 5.2
Patient 2 Drug A 13.1
Patient 2 Drug B 6.0
Patient 3 Drug A 14.5
Patient 3 Drug B 5.0 I basically want to create a linear regression between Drug A and Drug B using all my patient samples. My actual table is a bit more complicated - for example...