Question

A study was conducted to explore the effects of ethanol on sleep time. Fifteen rats were randomized to one of three treatment

Can you give me code for R for question (a) and (d)?

I have the plots but I do not know how the codes work.

Dotplot of Raw Data 70 60 40 30 Treatmentsfor (a)

Residuals vs Fitted Values 35 40 45 50 60 Fitted Values(d-1)

QQ Plot of Residuals Theoretical Quantiles(d-2)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution :
Given that

Soluttory Given ghat 4560, 4o, S 6 3: 31,40, чГ,25,23,2 Treatment Treatment ra ph 어 Jhe data. aid and orat dou it tell you GiSo This bor Plot Tb Show iF hate ok A Extemvah da afkectHing So. 3 Theovwagt4 ar al 가. box at difierent ,와 ostheus γ1le vantAHeye live 4pothesi- The meanSp time For * 3 -treatment treat mint ual aau not 404 SuMMARy Gyoups Treatment530681.3 Treatmentiiventha Basd on the AdovaHabu , maáa a Conclashien Given The t So1 uwe hypotheis and Concur that he. rtan 3 treatmant A So

Add a comment
Know the answer?
Add Answer to:
Can you give me code for R for question (a) and (d)? I have the plots...
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
  • I only need help with (e) and (f). Thanks! Please show work by hand 1. A...

    I only need help with (e) and (f). Thanks! Please show work by hand 1. A study was conducted to explore the effects of ethanol on sleep time. Fifteen rats were randomized to one of three treatments. Treatment 1 got only water (control). Treatment 2 got lg of ethanol per kg of body weight, and treatment 3 got 2g/kg of ethanol. The amount of REM sleep in a 24hr period was recorded, in minutes. Data are below: Treatment 1: 63,...

  • A study explored the effect of ethanol on sleep time. Fifteen rats were randomized to one of thre...

    A study explored the effect of ethanol on sleep time. Fifteen rats were randomized to one of three treatments. Treatment 1 was water (control). Treatment 2 was 1g of ethanol per kg of body weight, and Treatment 3 was 2g/kg. The amount of REM sleep (in minutes) in a 24hr period was recorded: Treatment 1 63 54 69 50 72 Treatment 2 45 60 40 56 Treatment 3 31 40 45 25 23 28 Are these data strong evidence REM...

  • I do not know how make dot plots. I have the plots but do not know the code for R. Help me with t...

    I do not know how make dot plots. I have the plots but do not know the code for R. Help me with the code please 1. A dairy scientist is testing a new feed additive. She chooses 13 cows at random from a large population of cows. She randomly assigns mold 8 to get the old dict, and nnew-5 to get the new diet including the additive. The cows are housed in 13 separated pens and each gets separate...

  • Hi, Could someone please give detail explanation of the following graphs. I try to understand wha...

    Hi, Could someone please give detail explanation of the following graphs. I try to understand what assumptions are being violate here ie (constant variance, independent residuals, linearity) sample size is n=270 observation. I think the variance in top left graph is not constant; there is huge gap in middle of data, but i do not know how to explain formally, I really looking for someone who has a strong understanding of statistics to provide justification. I want to understand if...

  • i need help with this question, please show work by hand no excel, spss thank you ! Assume you're using an alpha of 05, and a two-tailed test, to make your decision about whether to reject...

    i need help with this question, please show work by hand no excel, spss thank you ! Assume you're using an alpha of 05, and a two-tailed test, to make your decision about whether to reject the null hypothesis. Assume that 18 subjects received one of three treatments and produced the data reported in Data Set B. Conduct a one-way ANOVA to see if the means of the three treatments are different on a statistically significant level. Complete an ANOVA...

  • Solve d,e and f please using R code Part I: qqplots This part deals with qqplots...

    Solve d,e and f please using R code Part I: qqplots This part deals with qqplots of all kinds. Let's do some easy expe riments, first. Let's take a sample from a normal distribution with mu-2, sigma 3, and then look at the hist and the qqplot of that data: set.seed(3) n 100 # Sample size x norm(n,2,3) # Sample from N(mu-2, sigma-3) hist(x) # Looks normal. But that depends on breaks. qqnorm(x) # This doesn't depend on binsize, and...

  • I have couple questions for this Problem; 1- can you show me on the graph how...

    I have couple questions for this Problem; 1- can you show me on the graph how to solve and identify the point using the graph (-5,40)? 2- I solve the question using the equation method and it gave me correct number the angle was positive 45! shouldn't be -45? The state of stress at a point in a member is shown on the element. (Figure 1) Using the Mohr's circle constructed for the given plane stress, select the point that...

  • Please I want someone help me to solve this question a,b,c,d,e I’m not sure about my...

    Please I want someone help me to solve this question a,b,c,d,e I’m not sure about my solution This is the data # Set directory to data folder setwd("C:data") # getwd() # Read data from csv file data <- read.csv("SweetPotatoFirmness.csv",header=TRUE, sep=",") head(data) str(data) # scatterplot of independent and dependent variables plot(data$pectin,data$firmness,xlab="Pectin, %",ylab="Firmness") par(mfrow = c(2, 2)) # Split the plotting panel into a 2 x 2 grid model <- lm(firmness ~ pectin , data=data) summary(model) plot(model) par(mfrow=c(1,1)) # Residual Plot data$residuals...

  • do the following problem from the text book. please use R software and oost the code along woth answes and any graphs that you are required to make, olease read both pictures 13-10. An article in...

    do the following problem from the text book. please use R software and oost the code along woth answes and any graphs that you are required to make, olease read both pictures 13-10. An article in Environment International [1992, Vol. 18(4)] described an experiment in which the amount of radon released in showers was investigated. Radon-enriched water was used in the experiment, and six different orifice diameters were tested in shower heads. The data from the experiment are shown in...

  • This problem is using R. Can an expert answer this question? I also need to find...

    This problem is using R. Can an expert answer this question? I also need to find the anova and its summary from R. A scientist wants to see if the type of four vitamin supplements (A, B, C, D) affects the weight gain (y in grams) of laboratory animals. The experiment was conducted in a completely randomized design with five separately caged animals for each treatment. Since the caloric intake (in calories/10) will differ among animals and influence y, she...

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