Model Evaluation in R

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which type of statistical test is equivalent to the linear model $lm(y \sim 1)$ in R?

  • One-sample t-test (correct)
  • Wilcoxon signed-rank test
  • Paired-sample t-test
  • Two-sample t-test

What does the linear model $lm(y2 - y1 \sim 1)$ in R predict?

  • The mean of y1 and y2
  • The pairwise differences between y2 and y1 (correct)
  • The product of y1 and y2
  • The sum of y1 and y2

Which statistical test is equivalent to the linear model $lm(y \sim 1 + x)$ in R when the method is 'Pearson'?

  • Two-sample t-test
  • Pearson correlation test (correct)
  • Welch's t-test
  • Spearman correlation test

Which of the following is a measure of overall variability in a dataset?

<p>Variance (A)</p> Signup and view all the answers

What is the formula to calculate the standard deviation of a dataset?

<p>$s = \sqrt{\sum (x - \mu)^2}$ (C)</p> Signup and view all the answers

What does the Central Limit Theorem state?

<p>The sampling distribution of the mean is normal, even if the population distribution is not (D)</p> Signup and view all the answers

What is the standard error of the mean?

<p>The standard deviation of the mean (D)</p> Signup and view all the answers

Which formula is used to calculate a confidence interval?

<p>$d = (X_{\text{bar}} - \mu) / s$ (D)</p> Signup and view all the answers

Which effect size measure is independent of sample size?

<p>Cohen's d (B)</p> Signup and view all the answers

What is the effect size when $r = .3$?

<p>Medium effect (B)</p> Signup and view all the answers

What is the formula for calculating Cohen's d?

<p>$d = (X_{\text{bar}} - \mu) / s$ (D)</p> Signup and view all the answers

Which statistical test is equivalent to the linear model $lm(y \sim 1 + G2)$ in R when the weights argument is specified?

<p>One-way ANOVA (C)</p> Signup and view all the answers

What is the purpose of the function 'signed_rank' in R?

<p>To predict the signed rank of a variable (B)</p> Signup and view all the answers

What is the formula for calculating the mean of a dataset?

<p>$mean = \frac{\sum_{i=1}^{n}x_i},{n}$ (A)</p> Signup and view all the answers

What is the purpose of the function 'glm' in R?

<p>To fit linear models to data (A)</p> Signup and view all the answers

Flashcards are hidden until you start studying

Related Documents

Use Quizgecko on...
Browser
Browser