T-test, ANOVA or Regression, what's the difference?How to select the best variant from an A/B/C test?Post hoc test in a 2x3 mixed design ANOVA using SPSS?ANOVA with 3 groups- does adding a group close to the mean reduce power?Is nested ANOVA model appropriate for analysing student performance on a pre/post test?Multiple t tests or an ANOVA?Regression vs ANOVA interpretationWhat is the relationship between ANOVA to compare means of several groups and ANOVA to compare nested models?
D&D Monsters and Copyright
Scalar `new T` vs array `new T[1]`
Why did a young George Washington sign a document admitting to assassinating a French military officer?
Describing the taste of food
Is there a more efficient alternative to pull down resistors?
Why would they pick a gamma distribution here?
Does "Op. cit." stand for "opus citatum" or "opere citato"?
What are the bars protruding from this C-130?
How to find an internship in OR/Optimization?
This fell out of my toilet when I unscrewed the supply line. What is it?
How to discipline overeager engineer
Why is there no logical not operator (!!) in C-style languages?
'Cheddar goes "good" with burgers?' Can "go" be seen as a verb of the senses?
Which accidental continues through the bar?
How long could a human survive completely without the immune system?
How to handle motorists' dangerous behaviour with an impassable group?
Would it be easier to colonise a living world or a dead world?
Difference between $HOME and ~
Should I replace a carport post as it was originally built or with an upgraded column?
Should I withdraw my paper because the Editor is behaving so badly with me?
Why are engines with carburetors hard to start in cold weather?
Is sleeping on the groud in cold weather better than on an air mattress?
Son of the Revenge of the Riley Riddles in Reverse Strikes Again
Is the text of all UK treaties and laws public?
T-test, ANOVA or Regression, what's the difference?
How to select the best variant from an A/B/C test?Post hoc test in a 2x3 mixed design ANOVA using SPSS?ANOVA with 3 groups- does adding a group close to the mean reduce power?Is nested ANOVA model appropriate for analysing student performance on a pre/post test?Multiple t tests or an ANOVA?Regression vs ANOVA interpretationWhat is the relationship between ANOVA to compare means of several groups and ANOVA to compare nested models?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
$begingroup$
I know this question has been asked in similar ways already, but cannot find a suitable answer to understand it. I have three subsamples defined on programme participation (participants, drop-out, and comparison) and want to test for each of the groups separately whether the difference in means between the groups is significantly different from 0. So, overall I have three tests, mean1 = mean2, mean2 = mean3, mean1 = mean3
I read that using a paired t-test and a regression would result in the same, but that with ANOVA there is a slight difference? Does somebody know more about this and could suggest which one is best suited?
Thanks!
regression anova t-test analysis-of-means
$endgroup$
add a comment
|
$begingroup$
I know this question has been asked in similar ways already, but cannot find a suitable answer to understand it. I have three subsamples defined on programme participation (participants, drop-out, and comparison) and want to test for each of the groups separately whether the difference in means between the groups is significantly different from 0. So, overall I have three tests, mean1 = mean2, mean2 = mean3, mean1 = mean3
I read that using a paired t-test and a regression would result in the same, but that with ANOVA there is a slight difference? Does somebody know more about this and could suggest which one is best suited?
Thanks!
regression anova t-test analysis-of-means
$endgroup$
1
$begingroup$
What does the group 'comparison' mean in this context? Also note that ANOVA is a regression, the difference lies in the null-hypotheses generally associated with these methods.
$endgroup$
– Frans Rodenburg
Apr 17 at 8:27
$begingroup$
May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Sure, I've added an answer to elaborate
$endgroup$
– Frans Rodenburg
Apr 17 at 9:14
1
$begingroup$
A paired t-test (also called dependent t-test) is used for dependent samples, which you usually get from repeated measures or otherwise dependent samples. Your situation would call for independent t-tests. However, see Frans Rodenburg's answer why you probably want to first use an ANOVA.
$endgroup$
– morphist
Apr 17 at 10:18
add a comment
|
$begingroup$
I know this question has been asked in similar ways already, but cannot find a suitable answer to understand it. I have three subsamples defined on programme participation (participants, drop-out, and comparison) and want to test for each of the groups separately whether the difference in means between the groups is significantly different from 0. So, overall I have three tests, mean1 = mean2, mean2 = mean3, mean1 = mean3
I read that using a paired t-test and a regression would result in the same, but that with ANOVA there is a slight difference? Does somebody know more about this and could suggest which one is best suited?
Thanks!
regression anova t-test analysis-of-means
$endgroup$
I know this question has been asked in similar ways already, but cannot find a suitable answer to understand it. I have three subsamples defined on programme participation (participants, drop-out, and comparison) and want to test for each of the groups separately whether the difference in means between the groups is significantly different from 0. So, overall I have three tests, mean1 = mean2, mean2 = mean3, mean1 = mean3
I read that using a paired t-test and a regression would result in the same, but that with ANOVA there is a slight difference? Does somebody know more about this and could suggest which one is best suited?
Thanks!
regression anova t-test analysis-of-means
regression anova t-test analysis-of-means
edited Apr 17 at 8:52
Felix
asked Apr 17 at 7:20
FelixFelix
398 bronze badges
398 bronze badges
1
$begingroup$
What does the group 'comparison' mean in this context? Also note that ANOVA is a regression, the difference lies in the null-hypotheses generally associated with these methods.
$endgroup$
– Frans Rodenburg
Apr 17 at 8:27
$begingroup$
May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Sure, I've added an answer to elaborate
$endgroup$
– Frans Rodenburg
Apr 17 at 9:14
1
$begingroup$
A paired t-test (also called dependent t-test) is used for dependent samples, which you usually get from repeated measures or otherwise dependent samples. Your situation would call for independent t-tests. However, see Frans Rodenburg's answer why you probably want to first use an ANOVA.
$endgroup$
– morphist
Apr 17 at 10:18
add a comment
|
1
$begingroup$
What does the group 'comparison' mean in this context? Also note that ANOVA is a regression, the difference lies in the null-hypotheses generally associated with these methods.
$endgroup$
– Frans Rodenburg
Apr 17 at 8:27
$begingroup$
May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Sure, I've added an answer to elaborate
$endgroup$
– Frans Rodenburg
Apr 17 at 9:14
1
$begingroup$
A paired t-test (also called dependent t-test) is used for dependent samples, which you usually get from repeated measures or otherwise dependent samples. Your situation would call for independent t-tests. However, see Frans Rodenburg's answer why you probably want to first use an ANOVA.
$endgroup$
– morphist
Apr 17 at 10:18
1
1
$begingroup$
What does the group 'comparison' mean in this context? Also note that ANOVA is a regression, the difference lies in the null-hypotheses generally associated with these methods.
$endgroup$
– Frans Rodenburg
Apr 17 at 8:27
$begingroup$
What does the group 'comparison' mean in this context? Also note that ANOVA is a regression, the difference lies in the null-hypotheses generally associated with these methods.
$endgroup$
– Frans Rodenburg
Apr 17 at 8:27
$begingroup$
May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Sure, I've added an answer to elaborate
$endgroup$
– Frans Rodenburg
Apr 17 at 9:14
$begingroup$
Sure, I've added an answer to elaborate
$endgroup$
– Frans Rodenburg
Apr 17 at 9:14
1
1
$begingroup$
A paired t-test (also called dependent t-test) is used for dependent samples, which you usually get from repeated measures or otherwise dependent samples. Your situation would call for independent t-tests. However, see Frans Rodenburg's answer why you probably want to first use an ANOVA.
$endgroup$
– morphist
Apr 17 at 10:18
$begingroup$
A paired t-test (also called dependent t-test) is used for dependent samples, which you usually get from repeated measures or otherwise dependent samples. Your situation would call for independent t-tests. However, see Frans Rodenburg's answer why you probably want to first use an ANOVA.
$endgroup$
– morphist
Apr 17 at 10:18
add a comment
|
2 Answers
2
active
oldest
votes
$begingroup$
ANOVA vs $t$-tests
With ANOVA, you generally first perform an omnibus test. This is a test against the null-hypothesis that all group means are equal ($mu_1=mu_2=mu_3$).
Only if there is sufficient evidence against this hypothesis, a post-hoc analysis can be run which is very similar to using 3 pairwise $t$-tests to check for individual differences. The most commonly used is called Tukey's Honest Significant Difference (or Tukey's HSD) and it has two important differences with a series of $t$-tests:
- It uses the studentized range distribution instead of the $t$-distribution for $p$-values / confidence intervals;
- It corrects for multiple testing by default.
The latter is the important part: Since you are testing three hypotheses, you have an inflated chance of at least one false positive. Multiple testing correction can also be applied to three $t$-tests, but with the ANOVA + Tukey's HSD, this is done by default.
A third difference with separate $t$-tests is that you use all your data, not group per group. This can be advantageous, as it allows for easier diagnostics of the residuals. However, it also means you may have to resort to alternatives to the standard ANOVA in case variances are not approximately equal among groups, or another assumption is violated.
ANOVA vs Linear Regression
ANOVA is a linear regression with only additions to the intercept, no 'slopes' in the colloquial sense of the word. However, when you use linear regression with dummy variables for each of your three categories, you will achieve identical results in terms of parameter estimates.
The difference is in the hypotheses you would usually test with a linear regression. Remember, in ANOVA, the tests are: omnibus, then pairwise comparisons. In linear regression you usually test whether:
$beta_0 = 0$, testing whether the intercept is significantly non-zero;
$beta_j = 0$, where $j$ is each of your variables.
In case you only have one variable (group), one of its categories will become the intercept (i.e., the reference group). In that case, the tests performed by most statistical software will be:
- Is the estimate for the reference group significantly non-zero?
- Is the estimate for $(textgroup 1) - (textreference group)$ significantly non-zero?
- Is the estimate for $(textgroup 2) - (textreference group)$ significantly non-zero?
This is nice if you have a clear reference group, because you can then simply ignore the (usually meaningless) intercept $p$-value and only correct the other two for multiple testing. This saves you some power, because you only correct for two tests instead of three.
So to summarize, if the group you call comparison
is actually a control group, you might want to use linear regression instead of ANOVA. However, the three tests you say you want to do in your question resemble that of an ANOVA post-hoc or three pairwise $t$-tests.
$endgroup$
$begingroup$
It could be added than in linear regression, you can also test differences between any two groups (H0: beta_i=beta_j), although that is not a default option in most statistical packages.
$endgroup$
– Pere
Apr 17 at 18:48
$begingroup$
Thank you for the great explanation!
$endgroup$
– Felix
May 8 at 10:04
add a comment
|
$begingroup$
paired t-test is only used when you have two groups. The name already says about the context in which it should be used. You should use ANOVA in this particular situation when you have more than two groups in the grouping variable.
$endgroup$
$begingroup$
Why should we use ANOVA and not a linear regression?
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Result won't change in either case, if you do not add any additional variables in the regression. However, interpretation will be different.
$endgroup$
– Ahmed Arif
Apr 18 at 9:18
1
$begingroup$
Usually people use the phrase 'paired t-test' when the individual data points can be paired up between the samples. That doesn't seem to be apparent in the original question.
$endgroup$
– svenhalvorson
Apr 18 at 12:23
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "65"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f403517%2ft-test-anova-or-regression-whats-the-difference%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
ANOVA vs $t$-tests
With ANOVA, you generally first perform an omnibus test. This is a test against the null-hypothesis that all group means are equal ($mu_1=mu_2=mu_3$).
Only if there is sufficient evidence against this hypothesis, a post-hoc analysis can be run which is very similar to using 3 pairwise $t$-tests to check for individual differences. The most commonly used is called Tukey's Honest Significant Difference (or Tukey's HSD) and it has two important differences with a series of $t$-tests:
- It uses the studentized range distribution instead of the $t$-distribution for $p$-values / confidence intervals;
- It corrects for multiple testing by default.
The latter is the important part: Since you are testing three hypotheses, you have an inflated chance of at least one false positive. Multiple testing correction can also be applied to three $t$-tests, but with the ANOVA + Tukey's HSD, this is done by default.
A third difference with separate $t$-tests is that you use all your data, not group per group. This can be advantageous, as it allows for easier diagnostics of the residuals. However, it also means you may have to resort to alternatives to the standard ANOVA in case variances are not approximately equal among groups, or another assumption is violated.
ANOVA vs Linear Regression
ANOVA is a linear regression with only additions to the intercept, no 'slopes' in the colloquial sense of the word. However, when you use linear regression with dummy variables for each of your three categories, you will achieve identical results in terms of parameter estimates.
The difference is in the hypotheses you would usually test with a linear regression. Remember, in ANOVA, the tests are: omnibus, then pairwise comparisons. In linear regression you usually test whether:
$beta_0 = 0$, testing whether the intercept is significantly non-zero;
$beta_j = 0$, where $j$ is each of your variables.
In case you only have one variable (group), one of its categories will become the intercept (i.e., the reference group). In that case, the tests performed by most statistical software will be:
- Is the estimate for the reference group significantly non-zero?
- Is the estimate for $(textgroup 1) - (textreference group)$ significantly non-zero?
- Is the estimate for $(textgroup 2) - (textreference group)$ significantly non-zero?
This is nice if you have a clear reference group, because you can then simply ignore the (usually meaningless) intercept $p$-value and only correct the other two for multiple testing. This saves you some power, because you only correct for two tests instead of three.
So to summarize, if the group you call comparison
is actually a control group, you might want to use linear regression instead of ANOVA. However, the three tests you say you want to do in your question resemble that of an ANOVA post-hoc or three pairwise $t$-tests.
$endgroup$
$begingroup$
It could be added than in linear regression, you can also test differences between any two groups (H0: beta_i=beta_j), although that is not a default option in most statistical packages.
$endgroup$
– Pere
Apr 17 at 18:48
$begingroup$
Thank you for the great explanation!
$endgroup$
– Felix
May 8 at 10:04
add a comment
|
$begingroup$
ANOVA vs $t$-tests
With ANOVA, you generally first perform an omnibus test. This is a test against the null-hypothesis that all group means are equal ($mu_1=mu_2=mu_3$).
Only if there is sufficient evidence against this hypothesis, a post-hoc analysis can be run which is very similar to using 3 pairwise $t$-tests to check for individual differences. The most commonly used is called Tukey's Honest Significant Difference (or Tukey's HSD) and it has two important differences with a series of $t$-tests:
- It uses the studentized range distribution instead of the $t$-distribution for $p$-values / confidence intervals;
- It corrects for multiple testing by default.
The latter is the important part: Since you are testing three hypotheses, you have an inflated chance of at least one false positive. Multiple testing correction can also be applied to three $t$-tests, but with the ANOVA + Tukey's HSD, this is done by default.
A third difference with separate $t$-tests is that you use all your data, not group per group. This can be advantageous, as it allows for easier diagnostics of the residuals. However, it also means you may have to resort to alternatives to the standard ANOVA in case variances are not approximately equal among groups, or another assumption is violated.
ANOVA vs Linear Regression
ANOVA is a linear regression with only additions to the intercept, no 'slopes' in the colloquial sense of the word. However, when you use linear regression with dummy variables for each of your three categories, you will achieve identical results in terms of parameter estimates.
The difference is in the hypotheses you would usually test with a linear regression. Remember, in ANOVA, the tests are: omnibus, then pairwise comparisons. In linear regression you usually test whether:
$beta_0 = 0$, testing whether the intercept is significantly non-zero;
$beta_j = 0$, where $j$ is each of your variables.
In case you only have one variable (group), one of its categories will become the intercept (i.e., the reference group). In that case, the tests performed by most statistical software will be:
- Is the estimate for the reference group significantly non-zero?
- Is the estimate for $(textgroup 1) - (textreference group)$ significantly non-zero?
- Is the estimate for $(textgroup 2) - (textreference group)$ significantly non-zero?
This is nice if you have a clear reference group, because you can then simply ignore the (usually meaningless) intercept $p$-value and only correct the other two for multiple testing. This saves you some power, because you only correct for two tests instead of three.
So to summarize, if the group you call comparison
is actually a control group, you might want to use linear regression instead of ANOVA. However, the three tests you say you want to do in your question resemble that of an ANOVA post-hoc or three pairwise $t$-tests.
$endgroup$
$begingroup$
It could be added than in linear regression, you can also test differences between any two groups (H0: beta_i=beta_j), although that is not a default option in most statistical packages.
$endgroup$
– Pere
Apr 17 at 18:48
$begingroup$
Thank you for the great explanation!
$endgroup$
– Felix
May 8 at 10:04
add a comment
|
$begingroup$
ANOVA vs $t$-tests
With ANOVA, you generally first perform an omnibus test. This is a test against the null-hypothesis that all group means are equal ($mu_1=mu_2=mu_3$).
Only if there is sufficient evidence against this hypothesis, a post-hoc analysis can be run which is very similar to using 3 pairwise $t$-tests to check for individual differences. The most commonly used is called Tukey's Honest Significant Difference (or Tukey's HSD) and it has two important differences with a series of $t$-tests:
- It uses the studentized range distribution instead of the $t$-distribution for $p$-values / confidence intervals;
- It corrects for multiple testing by default.
The latter is the important part: Since you are testing three hypotheses, you have an inflated chance of at least one false positive. Multiple testing correction can also be applied to three $t$-tests, but with the ANOVA + Tukey's HSD, this is done by default.
A third difference with separate $t$-tests is that you use all your data, not group per group. This can be advantageous, as it allows for easier diagnostics of the residuals. However, it also means you may have to resort to alternatives to the standard ANOVA in case variances are not approximately equal among groups, or another assumption is violated.
ANOVA vs Linear Regression
ANOVA is a linear regression with only additions to the intercept, no 'slopes' in the colloquial sense of the word. However, when you use linear regression with dummy variables for each of your three categories, you will achieve identical results in terms of parameter estimates.
The difference is in the hypotheses you would usually test with a linear regression. Remember, in ANOVA, the tests are: omnibus, then pairwise comparisons. In linear regression you usually test whether:
$beta_0 = 0$, testing whether the intercept is significantly non-zero;
$beta_j = 0$, where $j$ is each of your variables.
In case you only have one variable (group), one of its categories will become the intercept (i.e., the reference group). In that case, the tests performed by most statistical software will be:
- Is the estimate for the reference group significantly non-zero?
- Is the estimate for $(textgroup 1) - (textreference group)$ significantly non-zero?
- Is the estimate for $(textgroup 2) - (textreference group)$ significantly non-zero?
This is nice if you have a clear reference group, because you can then simply ignore the (usually meaningless) intercept $p$-value and only correct the other two for multiple testing. This saves you some power, because you only correct for two tests instead of three.
So to summarize, if the group you call comparison
is actually a control group, you might want to use linear regression instead of ANOVA. However, the three tests you say you want to do in your question resemble that of an ANOVA post-hoc or three pairwise $t$-tests.
$endgroup$
ANOVA vs $t$-tests
With ANOVA, you generally first perform an omnibus test. This is a test against the null-hypothesis that all group means are equal ($mu_1=mu_2=mu_3$).
Only if there is sufficient evidence against this hypothesis, a post-hoc analysis can be run which is very similar to using 3 pairwise $t$-tests to check for individual differences. The most commonly used is called Tukey's Honest Significant Difference (or Tukey's HSD) and it has two important differences with a series of $t$-tests:
- It uses the studentized range distribution instead of the $t$-distribution for $p$-values / confidence intervals;
- It corrects for multiple testing by default.
The latter is the important part: Since you are testing three hypotheses, you have an inflated chance of at least one false positive. Multiple testing correction can also be applied to three $t$-tests, but with the ANOVA + Tukey's HSD, this is done by default.
A third difference with separate $t$-tests is that you use all your data, not group per group. This can be advantageous, as it allows for easier diagnostics of the residuals. However, it also means you may have to resort to alternatives to the standard ANOVA in case variances are not approximately equal among groups, or another assumption is violated.
ANOVA vs Linear Regression
ANOVA is a linear regression with only additions to the intercept, no 'slopes' in the colloquial sense of the word. However, when you use linear regression with dummy variables for each of your three categories, you will achieve identical results in terms of parameter estimates.
The difference is in the hypotheses you would usually test with a linear regression. Remember, in ANOVA, the tests are: omnibus, then pairwise comparisons. In linear regression you usually test whether:
$beta_0 = 0$, testing whether the intercept is significantly non-zero;
$beta_j = 0$, where $j$ is each of your variables.
In case you only have one variable (group), one of its categories will become the intercept (i.e., the reference group). In that case, the tests performed by most statistical software will be:
- Is the estimate for the reference group significantly non-zero?
- Is the estimate for $(textgroup 1) - (textreference group)$ significantly non-zero?
- Is the estimate for $(textgroup 2) - (textreference group)$ significantly non-zero?
This is nice if you have a clear reference group, because you can then simply ignore the (usually meaningless) intercept $p$-value and only correct the other two for multiple testing. This saves you some power, because you only correct for two tests instead of three.
So to summarize, if the group you call comparison
is actually a control group, you might want to use linear regression instead of ANOVA. However, the three tests you say you want to do in your question resemble that of an ANOVA post-hoc or three pairwise $t$-tests.
edited Apr 17 at 11:00
Maarten Punt
4833 silver badges10 bronze badges
4833 silver badges10 bronze badges
answered Apr 17 at 9:13
Frans RodenburgFrans Rodenburg
5,7732 gold badges9 silver badges34 bronze badges
5,7732 gold badges9 silver badges34 bronze badges
$begingroup$
It could be added than in linear regression, you can also test differences between any two groups (H0: beta_i=beta_j), although that is not a default option in most statistical packages.
$endgroup$
– Pere
Apr 17 at 18:48
$begingroup$
Thank you for the great explanation!
$endgroup$
– Felix
May 8 at 10:04
add a comment
|
$begingroup$
It could be added than in linear regression, you can also test differences between any two groups (H0: beta_i=beta_j), although that is not a default option in most statistical packages.
$endgroup$
– Pere
Apr 17 at 18:48
$begingroup$
Thank you for the great explanation!
$endgroup$
– Felix
May 8 at 10:04
$begingroup$
It could be added than in linear regression, you can also test differences between any two groups (H0: beta_i=beta_j), although that is not a default option in most statistical packages.
$endgroup$
– Pere
Apr 17 at 18:48
$begingroup$
It could be added than in linear regression, you can also test differences between any two groups (H0: beta_i=beta_j), although that is not a default option in most statistical packages.
$endgroup$
– Pere
Apr 17 at 18:48
$begingroup$
Thank you for the great explanation!
$endgroup$
– Felix
May 8 at 10:04
$begingroup$
Thank you for the great explanation!
$endgroup$
– Felix
May 8 at 10:04
add a comment
|
$begingroup$
paired t-test is only used when you have two groups. The name already says about the context in which it should be used. You should use ANOVA in this particular situation when you have more than two groups in the grouping variable.
$endgroup$
$begingroup$
Why should we use ANOVA and not a linear regression?
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Result won't change in either case, if you do not add any additional variables in the regression. However, interpretation will be different.
$endgroup$
– Ahmed Arif
Apr 18 at 9:18
1
$begingroup$
Usually people use the phrase 'paired t-test' when the individual data points can be paired up between the samples. That doesn't seem to be apparent in the original question.
$endgroup$
– svenhalvorson
Apr 18 at 12:23
add a comment
|
$begingroup$
paired t-test is only used when you have two groups. The name already says about the context in which it should be used. You should use ANOVA in this particular situation when you have more than two groups in the grouping variable.
$endgroup$
$begingroup$
Why should we use ANOVA and not a linear regression?
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Result won't change in either case, if you do not add any additional variables in the regression. However, interpretation will be different.
$endgroup$
– Ahmed Arif
Apr 18 at 9:18
1
$begingroup$
Usually people use the phrase 'paired t-test' when the individual data points can be paired up between the samples. That doesn't seem to be apparent in the original question.
$endgroup$
– svenhalvorson
Apr 18 at 12:23
add a comment
|
$begingroup$
paired t-test is only used when you have two groups. The name already says about the context in which it should be used. You should use ANOVA in this particular situation when you have more than two groups in the grouping variable.
$endgroup$
paired t-test is only used when you have two groups. The name already says about the context in which it should be used. You should use ANOVA in this particular situation when you have more than two groups in the grouping variable.
answered Apr 17 at 7:34
Ahmed ArifAhmed Arif
1515 bronze badges
1515 bronze badges
$begingroup$
Why should we use ANOVA and not a linear regression?
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Result won't change in either case, if you do not add any additional variables in the regression. However, interpretation will be different.
$endgroup$
– Ahmed Arif
Apr 18 at 9:18
1
$begingroup$
Usually people use the phrase 'paired t-test' when the individual data points can be paired up between the samples. That doesn't seem to be apparent in the original question.
$endgroup$
– svenhalvorson
Apr 18 at 12:23
add a comment
|
$begingroup$
Why should we use ANOVA and not a linear regression?
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Result won't change in either case, if you do not add any additional variables in the regression. However, interpretation will be different.
$endgroup$
– Ahmed Arif
Apr 18 at 9:18
1
$begingroup$
Usually people use the phrase 'paired t-test' when the individual data points can be paired up between the samples. That doesn't seem to be apparent in the original question.
$endgroup$
– svenhalvorson
Apr 18 at 12:23
$begingroup$
Why should we use ANOVA and not a linear regression?
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Why should we use ANOVA and not a linear regression?
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Result won't change in either case, if you do not add any additional variables in the regression. However, interpretation will be different.
$endgroup$
– Ahmed Arif
Apr 18 at 9:18
$begingroup$
Result won't change in either case, if you do not add any additional variables in the regression. However, interpretation will be different.
$endgroup$
– Ahmed Arif
Apr 18 at 9:18
1
1
$begingroup$
Usually people use the phrase 'paired t-test' when the individual data points can be paired up between the samples. That doesn't seem to be apparent in the original question.
$endgroup$
– svenhalvorson
Apr 18 at 12:23
$begingroup$
Usually people use the phrase 'paired t-test' when the individual data points can be paired up between the samples. That doesn't seem to be apparent in the original question.
$endgroup$
– svenhalvorson
Apr 18 at 12:23
add a comment
|
Thanks for contributing an answer to Cross Validated!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f403517%2ft-test-anova-or-regression-whats-the-difference%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
What does the group 'comparison' mean in this context? Also note that ANOVA is a regression, the difference lies in the null-hypotheses generally associated with these methods.
$endgroup$
– Frans Rodenburg
Apr 17 at 8:27
$begingroup$
May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
$endgroup$
– Felix
Apr 17 at 8:51
$begingroup$
Sure, I've added an answer to elaborate
$endgroup$
– Frans Rodenburg
Apr 17 at 9:14
1
$begingroup$
A paired t-test (also called dependent t-test) is used for dependent samples, which you usually get from repeated measures or otherwise dependent samples. Your situation would call for independent t-tests. However, see Frans Rodenburg's answer why you probably want to first use an ANOVA.
$endgroup$
– morphist
Apr 17 at 10:18