Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Project2.Question1

Language: Layout:
+ ] Show input
Absolute running time: 0.45 sec, cpu time: 0.78 sec, memory peak: 31 Mb, absolute service time: 0,48 sec 
latest |  history
Error(s), warning(s):
Warning message:
In chisq.test(kicker) : Chi-squared approximation may be incorrect
Error in match.fun(FUN) : argument "FUN" is missing, with no default
Calls: apply -> match.fun
Execution halted

[1] "Hello, world!"
                    Smoking Habits
Socioeconomic Status Current Former Never
              High        51     22    43
              Middle      92     21    28
              Low         68      9    22
                    Smoking Habits
Socioeconomic Status   Current     Former      Never
              High   0.1432584 0.06179775 0.12078652
              Middle 0.2584270 0.05898876 0.07865169
              Low    0.1910112 0.02528090 0.06179775
  High Middle    Low 
   116    141     99 
Current  Former   Never 
    211      52      93 
                    Smoking Habits
Socioeconomic Status   Current     Former     Never
              High   0.4396552 0.18965517 0.3706897
              Middle 0.6524823 0.14893617 0.1985816
              Low    0.6868687 0.09090909 0.2222222
                    Smoking Habits
Socioeconomic Status Current Former Never
              High     0.440  0.190 0.371
              Middle   0.652  0.149 0.199
              Low      0.687  0.091 0.222

	Pearson's Chi-squared test

data:  heartdisease
X-squared = 18.51, df = 4, p-value = 0.0009808


	Pearson's Chi-squared test with simulated p-value (based on 10000
	replicates)

data:  heartdisease
X-squared = 18.51, df = NA, p-value = 0.0005999

  High Middle    Low 
   116    141     99 
Current  Former   Never 
    211      52      93 
[1] 356
      Current   Former    Never
[1,] 68.75281 16.94382 30.30337
[2,] 83.57022 20.59551 36.83427
[3,] 58.67697 14.46067 25.86236
[1] 4
[1] 18.6635
[1] 0.000915055
   prop 1    prop 2 
0.5425532 0.7555556 
   prop 1 
0.5425532 
   prop 2 
0.7555556 
  prop 1   prop 2 
1.186047 3.090909 
   prop 1 
0.3837209 
[1] 0.3837209
[1] 0.3209737
[1] -1.5869481 -0.3287314
[1] 0.2045489 0.7198364
     [,1] [,2]
[1,]   22    4
[2,]   10    6
             FielgGoal
Strategy      Success Failure
  No Time-Out      22       4
  Time-Out         10       6

	Pearson's Chi-squared test with Yates' continuity correction

data:  kicker
X-squared = 1.5905, df = 1, p-value = 0.2073


	Pearson's Chi-squared test with simulated p-value (based on 10000
	replicates)

data:  kicker
X-squared = 2.6704, df = NA, p-value = 0.1413