python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Calculate adjusted residuals without a for loop
I am reading about χ^2 test and have a contingency table for observed values, and I'd like to calculate "adjusted residuals" according to this guide. I've written the following code and it d...
crabulus_maximus
Votes: 0
Answers: 1
R: simulating a population where two categorical variables are independent
Background
For teaching purpose, I use simulations (mainly in R) to help students (in the social science...no math or stats background) grasping some "tough" concepts/ideas behind some stats...
NewAtGis
Votes: 0
Answers: 1
Multiple chi-square tests in R
Imagine I have the following data:
ID.
Drug1.
Drug2.
Drug3.
Drug4.
1.
1.
0.
0.
0.
2.
0.
0.
0.
1.
3.
0.
1.
0.
0.
4.
0.
0.
1.
0.
5.
1.
0.
0.
0.
Where ID is the number given to each p...
Amir Valizadeh
Votes: 0
Answers: 1
Comparing two groups with categorical data
I am a complete newb - I hope I have framed my question well. I will try to clarify anything that is unclear or expressed poorly. Here goes...
I have two groups - New Teachers and Experienced Teachers...
PPchs
Votes: 0
Answers: 0