T-test, ANOVA or Regression, what's the difference? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Post hoc test in a 2x3 mixed design ANOVA using SPSS?T-test vs. one-way ANOVAANOVA 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 interpretationANOVA on Excel: difference between paired and unpairedWhat is the relationship between ANOVA to compare means of several groups and ANOVA to compare nested models?Planned comparisons for mixed ANOVA interaction effectCompare change score across groups VS relation between pre score and change score

Karn the great creator - 'card from outside the game' in sealed

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

preposition before coffee

How long can equipment go unused before powering up runs the risk of damage?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

Is CEO the "profession" with the most psychopaths?

Can the Flaming Sphere spell be rammed into multiple Tiny creatures that are in the same 5-foot square?

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

How does light 'choose' between wave and particle behaviour?

How much damage would a cupful of neutron star matter do to the Earth?

Is there any word for a place full of confusion?

A term for a woman complaining about things/begging in a cute/childish way

What are the discoveries that have been possible with the rejection of positivism?

AppleTVs create a chatty alternate WiFi network

The Nth Gryphon Number

How can I set the aperture on my DSLR when it's attached to a telescope instead of a lens?

How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?

Why are my pictures showing a dark band on one edge?

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

Is there public access to the Meteor Crater in Arizona?

Project Euler #1 in C++

The test team as an enemy of development? And how can this be avoided?

How to compare two different files line by line in unix?



T-test, ANOVA or Regression, what's the difference?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Post hoc test in a 2x3 mixed design ANOVA using SPSS?T-test vs. one-way ANOVAANOVA 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 interpretationANOVA on Excel: difference between paired and unpairedWhat is the relationship between ANOVA to compare means of several groups and ANOVA to compare nested models?Planned comparisons for mixed ANOVA interaction effectCompare change score across groups VS relation between pre score and change score



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








7












$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!










share|cite|improve this question











$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
    2 days ago











  • $begingroup$
    May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
    $endgroup$
    – Felix
    2 days ago











  • $begingroup$
    Sure, I've added an answer to elaborate
    $endgroup$
    – Frans Rodenburg
    2 days ago






  • 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
    2 days ago


















7












$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!










share|cite|improve this question











$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
    2 days ago











  • $begingroup$
    May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
    $endgroup$
    – Felix
    2 days ago











  • $begingroup$
    Sure, I've added an answer to elaborate
    $endgroup$
    – Frans Rodenburg
    2 days ago






  • 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
    2 days ago














7












7








7


2



$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!










share|cite|improve this question











$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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 2 days ago







Felix

















asked 2 days ago









FelixFelix

416




416







  • 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
    2 days ago











  • $begingroup$
    May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
    $endgroup$
    – Felix
    2 days ago











  • $begingroup$
    Sure, I've added an answer to elaborate
    $endgroup$
    – Frans Rodenburg
    2 days ago






  • 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
    2 days ago













  • 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
    2 days ago











  • $begingroup$
    May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
    $endgroup$
    – Felix
    2 days ago











  • $begingroup$
    Sure, I've added an answer to elaborate
    $endgroup$
    – Frans Rodenburg
    2 days ago






  • 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
    2 days ago








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
2 days ago





$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
2 days ago













$begingroup$
May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
$endgroup$
– Felix
2 days ago





$begingroup$
May I ask what the different hypothesis are? Comparison means that they don't participate in the programme
$endgroup$
– Felix
2 days ago













$begingroup$
Sure, I've added an answer to elaborate
$endgroup$
– Frans Rodenburg
2 days ago




$begingroup$
Sure, I've added an answer to elaborate
$endgroup$
– Frans Rodenburg
2 days ago




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
2 days ago





$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
2 days ago











2 Answers
2






active

oldest

votes


















12












$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.






share|cite|improve this answer











$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
    2 days ago


















0












$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.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Why should we use ANOVA and not a linear regression?
    $endgroup$
    – Felix
    2 days ago










  • $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
    yesterday







  • 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
    yesterday











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/3.0/"u003ecc by-sa 3.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
);



);













draft saved

draft discarded


















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









12












$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.






share|cite|improve this answer











$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
    2 days ago















12












$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.






share|cite|improve this answer











$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
    2 days ago













12












12








12





$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.






share|cite|improve this answer











$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.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited 2 days ago









Maarten Punt

448310




448310










answered 2 days ago









Frans RodenburgFrans Rodenburg

3,6471529




3,6471529











  • $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
    2 days ago
















  • $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
    2 days ago















$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
2 days ago




$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
2 days ago













0












$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.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Why should we use ANOVA and not a linear regression?
    $endgroup$
    – Felix
    2 days ago










  • $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
    yesterday







  • 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
    yesterday















0












$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.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Why should we use ANOVA and not a linear regression?
    $endgroup$
    – Felix
    2 days ago










  • $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
    yesterday







  • 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
    yesterday













0












0








0





$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.






share|cite|improve this answer









$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.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 2 days ago









Ahmed ArifAhmed Arif

1415




1415











  • $begingroup$
    Why should we use ANOVA and not a linear regression?
    $endgroup$
    – Felix
    2 days ago










  • $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
    yesterday







  • 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
    yesterday
















  • $begingroup$
    Why should we use ANOVA and not a linear regression?
    $endgroup$
    – Felix
    2 days ago










  • $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
    yesterday







  • 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
    yesterday















$begingroup$
Why should we use ANOVA and not a linear regression?
$endgroup$
– Felix
2 days ago




$begingroup$
Why should we use ANOVA and not a linear regression?
$endgroup$
– Felix
2 days ago












$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
yesterday





$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
yesterday





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
yesterday




$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
yesterday

















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form