Sex ratios (a) In a contingency table with r rows and 2 columns the observations in row i are n₁, and n;2, with row totals n₁. = n₁1 + n₁2, i = 1,2,...,r; the column totals are n.₁ and n2, with n.₁+n₂ = n, the total number of observations. Show that the x2 statistic for testing independence of the variables defining the rows and columns of the table can be written as X² n² n.1n.2i=1 - Σ (n₁₁ - n₁ n.₁/n) ² (nix n₁. Hence, or otherwise, show that it can be expressed as *-2 (2-4) (b) Samples of a certain species of insect were collected from two different locations, and the number of females was observed. There were 44 females in the 100 insects collected at the first location, and 86 females out of 200 insects at the second location. Test whether the proportions of females differ between the two locations. (c) A further sample of 200 insects is taken at a third location and found to contain 110 females. Consider the data from all three locations simultaneously, and test whether there are differences in the proportions of females between the three locations.
Sex ratios (a) In a contingency table with r rows and 2 columns the observations in row i are n₁, and n;2, with row totals n₁. = n₁1 + n₁2, i = 1,2,...,r; the column totals are n.₁ and n2, with n.₁+n₂ = n, the total number of observations. Show that the x2 statistic for testing independence of the variables defining the rows and columns of the table can be written as X² n² n.1n.2i=1 - Σ (n₁₁ - n₁ n.₁/n) ² (nix n₁. Hence, or otherwise, show that it can be expressed as *-2 (2-4) (b) Samples of a certain species of insect were collected from two different locations, and the number of females was observed. There were 44 females in the 100 insects collected at the first location, and 86 females out of 200 insects at the second location. Test whether the proportions of females differ between the two locations. (c) A further sample of 200 insects is taken at a third location and found to contain 110 females. Consider the data from all three locations simultaneously, and test whether there are differences in the proportions of females between the three locations.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 4 images
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman