Model Evaluation in R

PoshOlivine avatar
PoshOlivine
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

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

One-sample t-test

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

The pairwise differences between y2 and y1

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

Pearson 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