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

Program2.Question2

Language: Layout:
+ ] Show input
Absolute running time: 0.75 sec, cpu time: 0.97 sec, memory peak: 31 Mb, absolute service time: 0,76 sec 
edit mode |  history  | discussion
Error(s), warning(s):
Warning message:
In prop.test(kicker) : Chi-squared approximation may be incorrect
Warning message:
In sqrt(var.AC) : NaNs produced

     [,1] [,2]
[1,]   22    4
[2,]   10    6
             FielgGoal
Strategy      Success Failure
  No Time-Out      22       4
  Time-Out         10       6
No Time-Out    Time-Out 
         26          16 
Success Failure 
     32      10 
   prop 1    prop 2 
0.8461538 0.6250000 
[1] "The Wald Confidence Interval:"
[1] 0.9477801 1.6420417
[1] "The Wald Confidence Interval 2 :"
[1] -0.05362769  0.49593538
[1] "SUM:"
[1] 42
   Success    Failure 
-0.1339609        NaN 

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

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

[1] 42
      Success  Failure
[1,] 19.80952 6.190476
[2,] 12.19048 3.809524
[1] 1
[1] "The LRT test statistic:"
[1] 2.610628
[1] "The P-Value of the G^2:"
[1] 0.1061497
[1] "The Relative Risk:"
  prop 1 
1.353846 
[1] "95% Relative Risk Confidence Interval:"
[1] 1.028563 1.782000
  prop 1   prop 2 
5.500000 1.666667 
prop 1 
   3.3 
[1] 3.3
             FielgGoal
Strategy      Success Failure
  No Time-Out      22       4
  Time-Out         10       6
[1] "The Odds Ratio:"
prop 1 
   3.3 
[1] 0.7497474
[1] -0.2755825  2.6634274
[1] "The 95% Odds Ratio Confidence Interval:"
[1]  0.7591298 14.3453728

    
                
λ
.NET NoSQL database for rapid development