Difference between revisions of "Chi square test in R"

From Icelandic Parsed Historical Corpus (IcePaHC)
Jump to: navigation, search

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 863

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 864

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 438

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 441

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 500

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 441

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 863

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 864

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 441

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 500

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 441

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
(Created page with "data<-matrix(c(100,200,400,600),ncol=2) data [gives]: <pre> [,1] [,2] [1,] 100 400 [2,] 200 600 </pre> chisq.test(data,correct=F) [gives]: <pre> X-squared = 4.3333, ...")
 
 
Line 1: Line 1:
 
data<-matrix(c(100,200,400,600),ncol=2)
 
data<-matrix(c(100,200,400,600),ncol=2)
  
data [gives]:
+
data [will give:]
  
 
<pre>
 
<pre>
Line 9: Line 9:
 
</pre>
 
</pre>
  
chisq.test(data,correct=F) [gives]:
+
chisq.test(data,correct=F) [will give:]
  
 
<pre>
 
<pre>
 
X-squared = 4.3333, df = 1, p-value = 0.03737
 
X-squared = 4.3333, df = 1, p-value = 0.03737
 
</pre>
 
</pre>

Latest revision as of 10:01, 7 November 2011

data<-matrix(c(100,200,400,600),ncol=2)

data [will give:]

     [,1] [,2]
[1,]  100  400
[2,]  200  600

chisq.test(data,correct=F) [will give:]

X-squared = 4.3333, df = 1, p-value = 0.03737