• 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 3 out of 16 pages
Exam (elaborations)

Wgu C207 Qum2 Task 1 Exam Prep Tested Questions And Complete Solutions

Document preview thumbnail
Preview 3 out of 16 pages

WGU C207 QUM2 TASK 1 EXAM PREP TESTED QUESTIONS AND COMPLETE SOLUTIONS

Content preview

WGU C207 QUM2 TASK 1 EXAM PREP
TESTED QUESTIONS AND COMPLETE
SOLUTIONS

◉ L6: What does r close to +1 mean?
Answer: Strong positive association.


◉ L6: What does r close to -1 mean?
Answer: Strong negative association.


◉ L6: What does r close to 0 mean?
Answer: Weak or no linear association.


◉ L6: R code for correlation
Answer: cor(x, y, use = "complete.obs")


◉ L6: R code for correlation test
Answer: cor.test(x, y)


◉ L6: R code for Spearman correlation test
Answer: cor.test(x, y, method = "spearman")

,◉ T6: R code loading thuesen dataset
Answer: library(ISwR); data(thuesen)


◉ T6: R code scatterplot for regression example
Answer: plot(thuesen$blood.glucose, thuesen$short.velocity)


◉ T6: R code regression model thuesen
Answer: mymodel <- lm(short.velocity ~ blood.glucose, data =
thuesen)


◉ T6: R code regression summary
Answer: summary(mymodel)


◉ T6: R code confidence intervals for model coefficients
Answer: confint(mymodel)


◉ T6: R code residual histogram
Answer: hist(resid(mymodel))


◉ T6: R code residuals vs fitted plot
Answer: plot(fitted(mymodel), resid(mymodel))


◉ T6: R code QQ plot with line
Answer: qqnorm(resid(mymodel)); qqline(resid(mymodel))

, ◉ T6: R code create newdata for prediction
Answer: nd <- data.frame(blood.glucose = c(5, 10, 15))


◉ T6: R code predict new values
Answer: predict(mymodel, newdata = nd)


◉ T6: R code predict confidence intervals
Answer: predict(mymodel, newdata = nd, interval = "confidence")


◉ T6: R code predict prediction intervals
Answer: predict(mymodel, newdata = nd, interval = "prediction")


◉ T6: R code Pearson correlation with missing values handled
Answer: cor(thuesen$blood.glucose, thuesen$short.velocity, use =
"complete.obs")


◉ T6: R code correlation test
Answer: cor.test(thuesen$blood.glucose, thuesen$short.velocity)


◉ T6: R code Spearman correlation test
Answer: cor.test(thuesen$blood.glucose, thuesen$short.velocity,
method = "spearman")

Document information

Uploaded on
September 7, 2026
Number of pages
16
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$17.99

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.
TopGradeInsider
4.1
(14)
Sold
202
Followers
1
Items
65747
Last sold
10 hours 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