chi2test Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: loadAuthor.do?objectType=author&objectId=1095046
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Peder Axensten (View more)

chi2test script description:




Publisher review:
chi2test - The chi-squared test. Usage: [p, Q]= chi2test(x) The chi-squared test. Given a number of samples this function tests the hypothesis that the samples are independent. If Q > chi2(p, nu), the hypothesis is rejected. Each column represents a variables, each row a sample. If you find any errors, please let me know: . ARGUMENTS: x Absolut numbers. p The prob ability value, calculated from Q. Q The resulting Q-value. EXAMPLE 1 In region A, 324 of 556 cows were red, whereas in region B 98 of 260 were red. [p, Q]= chi2test([324, 556-324; 98, 260-98]) p= 4.2073e-08 Q= 30.0515 With an error risk of about 4e-08, we can claim that the samples are independent. EXAMPLE 2 Throw two different dices to see if they have the same probability of 1 (and 2, 3, 4, 5, 6). We don't check if they are symetrical, only if the both behave in the same way. [p,Q] = chi2test([15,10; 7,11; 9,7; 20,15; 26,21; 19,16]) p= 0.8200 Q = 2.2059 The dices don't significantly behave differently. That is, they seem to behave in the same way. Requirements: ยท MATLAB Release: R2007a
chi2test is a Matlab script for Statistics and Probability scripts design by Peder Axensten. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5