I want to check dopamine influcened to mental illness or not. So we check the brain dopamine concentration of people.
no symptom: c(0.0104,0.0105,0.0112,0.0116,0.0130,0.0145,0.0154,0.0156,0.0170,0.0180,0.0200,0.0200,0.0210,0.0230,0.0252)
symptom: c(0.0150, 0.0204, 0.0208, 0.0222, 0.0226, 0.0245, 0.0270, 0.0275, 0.0306, 0.0320)
How can I figure out dopamine influcened to mental illness or not by R code?
The R code is given below.
# ENTERING THE R-CODE
no_symptom=c(0.0104,0.0105,0.0112,0.0116,0.0130,0.0145,0.0154,0.0156,0.0170,0.0180,0.0200,0.0200,0.0210,0.0230,0.0252)
symptom=c(0.0150,0.0204,0.0208,0.0222,0.0226,0.0245,0.0270,0.0275,0.0306,0.0320)
# WELCH'S T-TEST (when population standard deviations are unknown
and are NOT assumed to be equal)
t.test(no_symptom,symptom,)
# TWO SAMPLE T-TEST (when population standard deviations are
unknown and are assumed to be equal)
t.test(no_symptom,symptom,,var.equal=T)
Get Answers For Free
Most questions answered within 1 hours.