• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 5 pages
Summary

Summary Sta3701 Assignment 5 2021 Worked Solutions

Document preview thumbnail
Preview 1 out of 5 pages

UP TO 100% WORKED SOLUTION.

Content preview

Question 1

(a) ANCOVA is the analysis of covariance which is used to test the effect of the independent
variable which is categorical in nature and the dependent variable which is continuous in nature. The
main difference between ANCOVA and ANOVA is the later used to test the difference of the mean of
three or more groups whereas ANCOVA is a mixture of Analysis of variance and regression

(b)

(i) False. For each level of the independent variable, there is a linear relationship between the
dependent variable and the covariate
(ii) True

(c) The exam scores (y) against current grade of a student (x) using different plotting symbols for the
studying technique can be produced using the R code:

set.seed(10)
> data <- data.frame(technique = rep(c("A", "B", "C"), each = 30), current_grade =
runif(90, 65, 95), exam = c(runif(30, 80, 95), runif(30, 70, 95), runif(30, 70, 90)))
> data$technique <- as.factor(data$technique)
> plot(exam ~ current_grade, pch = as.character(technique), main = "current_grade vs
exam", data)
> library(ggplot2)
> ggplot(data, aes(x=current_grade, y=exam, shape=technique))+geom_point()
> library(lattice)
> print(xyplot(exam ~ current_grade | technique, data = data, type = c("r", "p")))

current_grade vs exam
95




A
A A BB A
A B B A
A B B A
A A A A
A B
90




B C C
C A A
BC A A A
A A
B A A
C AA B
85




C C B
C A
C C B
exam




CA B A
A
C C
AB A
80




C
C C
B B
B B C C
B
C C
C BB B
75




C B C
C B C
B C BC
CB C
B B C

65 70 75 80 85 90

current_grade


Figure 1(a) : Comparison of student exam scores according to the study technique used in the data,
the variables of interest are studying technique (A,B,C) used by each student

Document information

Uploaded on
September 29, 2021
Number of pages
5
Written in
2021/2022
Type
Summary
$28.29

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Mmatshwene05
3.9
(10)
Sold
57
Followers
47
Items
11
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions