Question

Please use Rstudio to answer the following. Thank you. Sounds that are either a tone or...

Please use Rstudio to answer the following. Thank you.

Sounds that are either a tone or a monkey call are fed into monkeys through electrodes attached to the brain. Of interest is a response measured by the firing rate (electric spikes per second). It is believed there are more spikes associated with calls than with tones.

a. Use a paired test to analyze the data. Summarize results giving test statistics, df, p-value, and state null and alternative hypotheses. Note this should be one-sided. Give a one-sentence description of results

a.1 Plot differences to evaluate the normality assumptions, comment on the graph.

a.2. Provide a confidence interval for the difference and interpret the interval.

Tone Call
474 500
256 138
241 485
226 338
185 194
174 159
176 341
168 85
161 303
150 208
145 42
141 241
129 194
113 123
112 182
102 141
100 118
74 62
72 112
71 134
68 65
59 182
59 97
57 318
56 201
47 279
46 62
41 84
35 103
31 70
28 192
26 203
26 135
21 129
20 193
20 54
19 66
0 0
Add a comment Improve this question Transcribed image text
Answer #1

> datas-read.csv(file.choose() >data names (data) [1] ToneCal1 > ## a) we have to use here paired test > ## to test: assu> ## a1) plot for difference > Difference = dat aSTone - data$call > plot.(Difference, Rch 16, ylab-Difference (Tone - call) s ablineCo,0, col-blue, 1wd-2) 0 5 10 15 202530 35 Index> ### conc1suion : Points below the blue line indicate observations where call is greater than Tonethat is where (Tone - call) is negative > ## checking assumptions of the model > hist.(Difference, +Sol-gray, main-Histogram of differences xlab-Difference)Histogram of differences 12 贮 しす- 300 -200 -100 0 100 Differencee 2 > ## concl suioni Histogram of differences of two populations from a paired にtest. Distribution of differences should be approximately normal. Bins with negative values indicate observations with a higher value for call than for Tone.2 > ## a2) confidence interval is ttest(dataSTone,dataScall,paired-T,conf. 1evel-0.95) Paired t-test data: dataSTone and dataSCall t4.8402, df 36, p-value 2.446e-0!5 alternative hypothesis: true difference in means is not equal to o 95 percent confidence interval -99.86794-40. 88882 sample estimates: mean of the differences -70.37838 > ## confidence interval is (-99.86794-40.88882) it is for 95 percent.

Add a comment
Know the answer?
Add Answer to:
Please use Rstudio to answer the following. Thank you. Sounds that are either a tone or...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Need 18.12 answered please! :) 18.11 To compare monkey's responses to a pure tone and monkey...

    Need 18.12 answered please! :) 18.11 To compare monkey's responses to a pure tone and monkey call, 37 monkeys were randomly selected. The table below contains the responses from the 37 monkeys. The mean differences of the monkey calls and pure tones from this 38 monkeys is * =70.378, the standard deviation is s=88.447. Researchers suspected that the response to monkey calls would be stronger than the response to a pure tone. Do the data support this idea? Do a...

  • Please use Rstudio to answer the following question. Thank you. In a double-blind experiment, healthy volunteers...

    Please use Rstudio to answer the following question. Thank you. In a double-blind experiment, healthy volunteers agreed to be exposed to a cold virus. They were either assigned to a control group (no echinacea but a placebo) or the group with echinacea. Here are the results Placebo group: 103 subjects 88 got a cold Echinacea group: 48 subjects 44 got a cold. a. Calculate the proportions getting cold in each group. b. Use a two-sample test to compare the proportions....

  • 33 On May 6, Jim Ryan borrowed $14,000 from Lane Bank at 7 % interest. Jim...

    33 On May 6, Jim Ryan borrowed $14,000 from Lane Bank at 7 % interest. Jim plans to repay the loan on March 11. Assume the loan is on ordinary interest. How much will Jim repay on March 11? (Use Days in a year table) (Round your answer to the nearest cent.) Jm repay etbook 7-1 TABLE Exact days-in-a-year calendar (excluding leap year)" Day of month 30 31 30 31 28 31 30 31 31 30 31 31 Dec Mar...

  • Please determine the IDENTITY of the unknown compound and explain how each peak / data point...

    Please determine the IDENTITY of the unknown compound and explain how each peak / data point from the following instruments led to that identification. What does the gcms indicate. Thank you very much! (The GCMS data is just a long set of numbers which is why the question appears so long). IR of unknown: NMR unknown Proton Graphs (first is overall graph, others that follow are zoomed in sections): NMR unknown Carbon Graphs (first is overall graph, others that follow...

  • Use the Tornadoes Data and your statistical expertise to answer the questions: Is it reasonable to claim that the averag...

    Use the Tornadoes Data and your statistical expertise to answer the questions: Is it reasonable to claim that the average number of observed tornadoes per year is different from the average number of tornado related deaths per year? 5. What test/procedure did you perform? a. One-sided t-test b. Two-sided t-test c. Regression d. ​​Confidence interval 6. What is the P-Value/margin of error? a. 0.007034504 b. 0.34922 c. 4.07497E-24 d. 2.03749E-24 e. ​​None of these 7. Statistical Interpretation a. Since P-value...

  • We are interested in the relationship between the compensation of Chief Executive Officers (CEO) ...

    We are interested in the relationship between the compensation of Chief Executive Officers (CEO) of firms and the return on equity of their respective firm, using the dataset below. The variable salary shows the annual salary of a CEO in thousands of dollars, so that y = 150 indicates a salary of $150,000. Similarly, the variable ROE represents the average return on equity (ROE)for the CEO’s firm for the previous three years. A ROE of 20 indicates an average return...

  • If the two signal handling functions in 3000pc were replaced by one function, would there be...

    If the two signal handling functions in 3000pc were replaced by one function, would there be any significant loss of functionality? Briefly explain /* 3000pc.c */ 2 3 4 5 6 7 8 #include <stdio.h> 9 #include <stdlib.h> 10 #include <unistd.h> 11 #include <sys/mman.h> 12 #include <errno.h> 13 #include <string.h> 14 #include <sys/types.h> 15 #include <sys/wait.h> 16 #include <semaphore.h> 17 #include <string.h> 18 #include <time.h> 19 20 #define QUEUESIZE 32 21 #define WORDSIZE 16 22 23 const int wordlist_size =...

  • kelly Pitney began her censulting busines, kelly Consulting For egete kelly on April 1, 2019. The...

    kelly Pitney began her censulting busines, kelly Consulting For egete kelly on April 1, 2019. The accoenting cycle Consulting a April, includia financial in this chapter. During Hay kelly Consulting entered inato the follew ing transactiens: Statements, was illestrated May 3 Received cash from clents as an aduance payment for services to be preided and recorded t as onearned fees, 4,500 5, Received cash fram clients on account, 2, 450 9 Paid cash for a news paper advertisement, $225 13....

  • HELP needed urgently....Data and question is attacted below..... Thank you in advance there is no data...

    HELP needed urgently....Data and question is attacted below..... Thank you in advance there is no data link fir this data it’s all in photos.... thank you i have already posted the question We were unable to transcribe this imageNo. 2 3 4 5 6 7 8 Working Sector Public Own Public Public Private Public Private Private Own Own Private Public Public Public Private 9 10 11 12 13 Public IS 16 17 18 19 20 21 22 23 24 25...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT