Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Chi Square Tests [Is the die fair?]
freq = c(22, 21, 22, 27, 22, 36) probs = c(1,1,1,1,1,1)/6 chisq.test(freq,p=probs) N=sum(freq) E=N*probs X2 = sum((freq-E)^2/E) sum(freq^2/E)-N # Chi-squared length(freq)-1 # df pchisq(X2,df=6-1,lower.tail=FALSE) # p-value
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
16-09-2020IntPoli
l
Pie Chart
Controle-22-03-2021
Integracao-Interpolacaa
test
Gab1A(resumido)
Adding text to bar plot bars -- elegantly!
Scatterplot using Ggplot Sample
Ludy Thenor Research Methods I- Final Part 2
Please log in to post a comment.