Model Evaluation in R
15 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

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</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}$</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</p> Signup and view all the answers

    What is the standard error of the mean?

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

    Which formula is used to calculate a confidence interval?

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

    Which effect size measure is independent of sample size?

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

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

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

    What is the formula for calculating Cohen's d?

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

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

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

    Use Quizgecko on...
    Browser
    Browser