We want to know if whether you read fiction or non-fiction affects whether or not you use e-books or print books. We sample 130 people and ask them whether the last book they read was fiction or non-fiction, and whether or not it was an e-book or a print book. We found that there were 60 had read a non-fiction book in the last year, and of those 60, 40 had read a print book. Of the 70 who had read a fiction book most recently, 35 had read a print book.
What is the conditional distribution for e-book and print books when looking only at those who read fiction?
What is the marginal distribution for e-book and print book reading?
We want to perform a χ2 test. Give the hypotheses.
Find the expected counts for the table
Find the test statistic for the table. Give its degrees of freedom.
The p-value is .1962. Assuming a significance level of .05, make a decision and write a
conclusion.
Observed Frequencies:
Fiction | Non-fiction | Marginal Totals | |
e-book | 35=O11 | 20=O12 | 55=O10 |
Print book | 35=O21 | 40=O22 | 75=O20 |
Marginal totals | 70=O01 | 60=O02 | 130=N |
The conditional distribution for e-book and print books when looking only at those who read fiction:
P(e-book|Fiction)=O11/O01=35/70=1/2
P(Print book|Fiction) =O21/O01=35/70=1/2
The marginal distribution for e-book and print book reading:
P(e-book)=55/130=11/26, P(Print book)=75/130=15/26.
Null hypothesis, H0: fiction or non-fiction does not affects whether or not you use e-books or print books
vs. Alternative hypothesis, H1: fiction or non-fiction affects whether or not you use e-books or print books
Expected Count:
Fiction | Non-fiction | |
E-book | 29.6154=e11 | 25.3846=e12 |
Print book | 40.3846=e21 | 34.6154=e22 |
Degrees of freedom=(2-1)(2-1)=1
Hence we fail to reject H0 at 5% level of significance and conclude that you read fiction or non-fiction does not affect whether or not you use e-books or print books.
We want to know if whether you read fiction or non-fiction affects whether or not you...
Imagine that we want to see if a person’s income grows as they get older. We want to see if their current income is significantly higher than their income was 5 years ago. What statistical test would we need to run to answer this question? Can we answer it with this data set? If the answer is yes, tell me each mean, then complete the test and include a complete write up, including the test name, statistic, degrees of freedom,...
Write a C++ program that asks for the following information about a book order from the console: • Title • Author • ISBN (hint: careful about what data type to use - validate 9 or 13 characters) • Price (validate number < 400) • Quantity (number of books to purchase – validate > 0 and < 100) • Fiction/Non-Fiction (‘N’ or ‘F’ - validate) • Genre (‘R’ romance, ‘D’ drama, ‘M’ mystery – validate) Make use of the following data...
We want to know whether boys or girls get into trouble more often in school. Below is the table documenting the percentage of boys and girls who got int Gender Got in Trouble No Trouble Total Boys 43 71 117 Girls 37 83 120 Total 83 154 237 Examine statistically whether boys got in trouble in school more often. Can you create a StatCrunch crosstabulation table result for this data? Perform the chi-square analysis. Make sure to state the five...
One Way ANOVA: You want to know if keeping people on a diet for a longer period of time will lead to greater weight loss. So you decide to run three groups of people. Those who don’t diet, those who diet for two weeks and those who diet for 4 weeks. For each group you measure the amount of weight they lost over the corresponding time period. This is what you find Non-dieter: -1 1 0 2 -1 2-week: 2...
You want to know whether people who power-pose feel more confident than those who don't. To answer this question, you ask 50 people to power-pose, then rate how confident they are (from 0 to 11) where higher is more. You also ask 50 other randomly picked individuals to rate how confident they are without power-posing. This data is in the file "power_posing.txt". The first column represents the confidence ratings, the second column whether they power-posed (1) or not (0). What...
6. We want to test whether there is an equal ratio of freshman to sophomores to juniors to seniors at UC Davis. I perform a Goodness of Fittest and to reject the null hypothesis then a. the sample distribution was extremely uneven across dasses b. we conclude that the ratio in the null hypothesis is plausible c. we know the test statistic was larger than the critical value d. we know the degrees of freedom for the test was 7....
4. Repeated-measures ANOVA Aa Aa Suppose you are interested in studying whether lighting brightness affects spatial reasoning abilities. You decide to test spatial reasoning using completion time scores for the paper-folding test with five people, repeating the test on each person with three different lighting levels (800, 1,000, and 1,200 lux) In this experiment, the null hypothesis is that: O There are no individual differences in the completion time means O The completion time mean for at least one lighting...
2. Repeated-measures ANOoVA Aa Aa Suppose you are interested in studying whether temperature affects spatial reasoning abilities. You decide to test spatial reasoning using completion time scores for the paper-falding test with five peaple, repeating the test on each person with three different temperatures (40 degrees, 60 degrees, and 80 degrees Fahrenheit). In this experiment, the null hypothesis is that: O There are no differences in the mean completion times among the temporatures compared O There are no individual differences...
Question 5 (1 point) ✓ Saved Suppose you want to know whether travel experiences are related to knowledge of geography. You give a 15 item quiz on American Geography and you also ask how many states participants have visited then look to see if there is a relation between the 2 t-test O correlation Multiple Regression chi squared ANOVA (F test) Question 6 (1 point) ✓ Saved In an experiment designed to study the effects of exposure to an aggressive...
Problem 3. (15 points) We want to study the distribution of sleep deprivation for people affected by 3 distinct diseases. Random samples of affected subjects of sizes 80, 70 and 60 from disease 1,2 and 3, respectively were obtained. The results are shown in the following table. Mild 30 20 None Very severe Seve Discase1 Disease 2 Disease 3 80 70 60 30 34 For all subsequent parts state the null and altemative hypothesis, write down the test statistics and...