Popular understanding the difference between T-Test and F-Test "turn"

Source: Internet
Author: User

Transferred from: http://blog.sina.com.cn/s/blog_4ee13c2c01016div.html
Origin of 1,t test and F-Test
In general, in order to determine the probability of making a mistake from the statistical results of samples (sample), we use statistical methods developed by statisticians to perform statistical verification.

By comparing the obtained statistical calibration values with the probability distributions of some random variables established by statisticians (probability distribution), we can see how much of the chance will get the current results. If, after comparison, it is found that there is little chance of such a result, that is to say, it arises only when there are few and very few opportunities, then we can confidently say that this is not a coincidence, it is statistically significant (in statistical words, it is possible to reject null hypothesis Hypothesis,ho). On the contrary, it is not uncommon for a comparison to be found to have a high probability of occurrence, and we cannot be very confident that this is not a coincidence, perhaps a coincidence, perhaps not, but we are not sure.

The F-value and T-value are the statistical calibration values, and their corresponding probability distributions are F-distributions and T-distributions. Statistical significance (SIG) is the probability that the results of the present sample appear.

2, statistical significance (P-value or sig value)
The statistical significance of the results is an estimation method of the true extent of the results (which can represent the population). Professionally, the P-value is a diminishing indicator of the confidence of the result, the greater the P-value, the more we cannot think that the correlation of the variables in the sample is a reliable indicator of the correlations among the variables in the population. The P-value is the probability that the observed result is considered effective, which has the overall representation of the error. If the p=0.05 hints that the variables in the sample are associated with 5% may be caused by contingency. That is, assuming that there is no association between any of the variables in the population, we repeat similar experiments, we will find that about 20 experiments have an experiment, we study the variable association will be equal to or stronger than our experimental results. (This is not to say that if there is an association between the variables, we can get the same result of 5% or 95% times, when the variables in the population are correlated, the possibility of repeating the study and discovering correlations is related to the statistical effectiveness of the design.) In many research areas, the P-value of 0.05 is generally considered to be an acceptable false boundary level.


3,t inspection and F-Test

The specific content to be certified depends on which statistical procedure you are doing.

For example, if you want to test whether two independent sample mean differences can be inferred to the general, the T-test of the line.
Two samples (such as a class of boys and girls) the mean of a variable (such as height) is not the same, but whether the difference can be inferred to the general, there is a difference in the overall situation?
Will there be no difference between male and female students in general, but are you so skillfully drawn to these 2 samples of the value of different?
To do this, we perform a T-Test to calculate a T-Test value.
Compare the random variable T distributions established by statisticians with "No differences in general" to see how much of the chance (i.e., the significant sig value) will be present.
If the significant sig value is very small, such as <0.05 (less than 5% probability), that is, "if" the overall "really" no difference, then only if the opportunity is very few (5%), very rare circumstances, the current situation will occur. Although there is still a 5% chance of error (1-0.05=5%), we can still "more confident" said: The current sample of the situation (the difference between male and female students) is not a coincidence, is statistically significant, "the overall gender is not the difference" of the void hypothesis should be rejected, in short, there should be differences in general.

Each statistical method of the verification of the content is not the same, is also a T-test, it is possible that the above-mentioned verification of the overall difference, but also the same can be a single value in the overall verification is equal to 0 or equal to a certain value.

As for the F-Test, the analysis of variance (or the analysis of Variance), its principle is generally said, but it is through the variance of the view variable. It is mainly used for: the significance test of the mean difference, the separation of the relevant factors and estimate its effect on the total variation, the interaction between the analysis factors, homogeneity (equality of the variances) test.

Relationship between 4,t test and F-Test

T test process, is the difference between the two mean (mean) the significance of the test. The T-Test must know whether the variance of the two populations (variances) is equal, and the calculation of the T test value will vary depending on whether the variance is equal. In other words, the T test depends on the variance homogeneity (equality of variances) results. Therefore, SPSS in the t-test for equality of means, but also to do Levene ' s test for equality of variances.

1.
In the Levene's test for equality of variances column, the F value is 2.36, Sig. 128, indicating variance homogeneity test "no significant difference", that is, two variance qi (Equal variances), Therefore, the following T test results table to see the first row of data, that is the case of homogeneity T test results.

2.
In t-test for equality of means, the case of the first row (variances=equal): t=8.892, df=84, 2-tail sig=.000, Mean difference=22.99
Since sig=.000, that is, two sample mean difference has significant significance!

3.
To see which Levene's Test for equality of variances column in the sig, or see t-test for equality of means in the sig. (2-tailed) Ah?
The answer is: two to see.
First look at Levene's test for equality of variances, if the variance homogeneity test "there is no significant difference", that is, two variance qi (Equal variances), so the result table of the T test to see the first row of data, That is, the result of the T test in the case of homogeneity.
Conversely, if the variance homogeneity test "there is a significant difference", that is, two variance is not homogeneous (unequal variances), so the results of the T-Test table to see the second row of data, that is, variance is not the case of the T test results.

4.
You do a T-Test, why do you have an F-value?
It is because we want to evaluate whether the variance of two population (variances) is equal, to do Levene's test for equality of variances, to test the variance, so there is an F value.

Another explanation:

The T test had a single-sample t-Test, paired T-Test and two-sample T-Test.

Single-Sample T-Test: The difference between this group of samples and the population is observed by comparing the unknown population mean and the known population mean by the mean number of the sample.

Paired T test: The following cases were observed by pairing design method, 1, two homogeneous subjects received two different treatments, 2, the same subjects received two different treatments, 3, the same subjects were treated before and after treatment.

The F-Test is also called the homogeneity test of variance. The F-test is used in the two-sample T-Test.

In order to compare the two samples randomly, we should first determine whether the two population variances are the same, that is, the variance homogeneity. If the variance of the two populations is equal, the T-Test or variable transformation or rank and test can be used directly.

To determine whether the two population variances are equal, the F test can be used.

If a single group of design, must give a standard value or the overall mean, at the same time, provide a set of quantitative observations, the application of T test is the precondition is that the group of data must obey the normal distribution; if paired design, each pair of data must obey the normal distribution, if the group design, the individual is independent of each other, Both groups of data were taken from the general distribution and the homogeneity of variance was satisfied. These prerequisites are required because the T-Statistic must be calculated under such a premise, and T-Test is based on the T-distribution as the theoretical basis of the test method.

In short, the practical t-test is conditional, one of which is to conform to the homogeneity of variance, which requires an F-test to verify.




1, Q: What is the degree of freedom? How to determine?
A: (definition) The number of independent sample observations that comprise the sample statistics or the number of sample observations that are free to change. expressed in DF.
The setting of degrees of freedom is based on the reason that, when the population averages are unknown, the calculation of the dispersion using a sample average (small s) is constrained by the fact that the standard deviation (small s) must first be known, and the sum of the data is a constant when the average of the samples and n are known. Therefore, the "last" sample data can not be changed, because if it changes, the sum is changed, and this is not allowed. As for some degrees of freedom is n-2 or something, is the same reason.
When a statistic is calculated as an estimate, the introduction of a statistic loses one degree of freedom.
Popular Point said that there are 50 people in a class, we know that their Chinese scores on average divided into 80, now only need to know the results of 49 people can infer the results of the remaining person. You can quote 49 people, but the last one you can't lie about, because the average is fixed, the degree of freedom is one less.
The simple point is like you have 100 pieces, which is fixed, known, if you are going to buy five things, then the first four pieces you can buy whatever you want, as long as you have money, such as you can eat KFC can buy pens, can buy clothes, these flowers to the amount of money, when you left only 2 dollars, Perhaps you can only buy a bottle of Coke, of course, but also to buy a meat floss omelet, but no matter how to spend, you have only two dollars, and this you spend 98 dollars at that time has been settled. (This example is really good!!) )

2, Q: X-square test of freedom problem
Answer: In the normal distribution test, here the M (three statistics) is n (total), average and standard deviation.
Because we are doing the normal test, we need to use the mean and standard deviation to determine the normal distribution pattern, in addition, to calculate the theoretical times of each interval, we also have to use to N.
Therefore, in the normal distribution test, the degree of freedom is K-3. (This one is more special, remember!) )
In the overall distribution of the coordination degree test, the degree of freedom is K-1.
In the independent test and homogeneity test of the cross-table, the degree of freedom is (R-1) x (c-1).

3. Q: What is the difference between T test and variance analysis
A: the T test is suitable for the difference test between the two variables, and the variance analysis is used to compare the mean of more than two variables.
The T-Test used to compare mean can be divided into three categories, the first is quantitative data for a single group design, the second is quantitative data for pairing design, and the third is for group design quantitative data. The difference between the latter two design types is whether the two groups of subjects are paired in a way that is similar in character to one or several aspects. No matter what type of T test, it is reasonable to apply the application under certain preconditions.
If a single group of design, must give a standard value or the overall mean, at the same time, provide a set of quantitative observations, the application of T test is the precondition is that the group of data must obey the normal distribution; if paired design, each pair of data must obey the normal distribution, if the group design, the individual is independent of each other, Both groups of data were taken from the general distribution and the homogeneity of variance was satisfied. These prerequisites are required because the T-Statistic must be calculated under such a premise, and T-Test is based on the T-distribution as the theoretical basis of the test method.
It is worth noting that the variance analysis is the same as the precondition of group design T test, that is, normality and variance homogeneity.
T-Test is the most frequently used method in medical research, and the most common way to deal with quantitative data in medical papers is hypothesis test. T test has been so widely used, the reasons are as follows: The existing medical periodicals have made more statistical demands, the research conclusions need statistical support; The traditional medical statistics teaching has introduced T-Test as an introductory method of hypothesis testing, which makes it become the most familiar method for the general medical researchers. The T test method is simple and the result is easy to explain. Simplicity, familiarity and external requirements have led to the popularity of T-Test. However, because some people understand this method is not comprehensive, leading to a lot of problems in the application process, some even very serious errors, directly affect the reliability of the conclusion. The classification of these questions can be broadly summarized in the following two cases: not considering the application of the T test, the comparison of the two groups with T-Test, the various types of experimental design are considered as multiple single-factor two-level design, many times with the T test to 22 comparison between the mean value. In both cases, the risk of concluding a false conclusion is increased to varying degrees. Moreover, in the number of experimental factors greater than or equal to 2 o'clock, it is impossible to study the interaction between the experimental factors of the size.

Q: Statistical significance (P-value)
A: The statistical significance of the results is a method of estimating the true extent of the results (which can represent the population). Professionally, the P-value is a diminishing indicator of the confidence of the result, the greater the P-value, the more we cannot think that the correlation of the variables in the sample is a reliable indicator of the correlations among the variables in the population. The P-value is the probability that the observed result is considered effective, which has the overall representation of the error. If the p=0.05 hints that the variables in the sample are associated with 5% may be caused by contingency. That is, assuming that there is no association between any of the variables in the population, we repeat similar experiments, we will find that about 20 experiments have an experiment, we study the variable association will be equal to or stronger than our experimental results. (This is not to say that if there is an association between the variables, we can get the same result of 5% or 95% times, when the variables in the population are correlated, the possibility of repeating the study and discovering correlations is related to the statistical effectiveness of the design.) In many research areas, the P-value of 0.05 is generally considered to be an acceptable false boundary level.

4, Q: How to determine the results have real significance
A: In the final conclusion, judging what the significance of the level is statistically significant, inevitably with arbitrariness. In other words, the choice of a level that is rejected as an invalid result is arbitrary. In practice, the final decision usually depends on the data set comparison and analysis process of the result is a priori or only for the 22 > Comparison between the mean, depending on the overall data set the consensus of the number of supporting evidence, relying on previous practice in the field of research. Often, the results of P-values in many scientific fields are ≤0.05 considered to be statistically significant, but this significant level also contains a fairly high probability of error. Results 0.05≥p>0.01 was considered to be statistically significant, while 0.01≥p≥0.001 was considered highly statistically significant. However, it should be noted that this classification is only an informal judgment rule based on research.

5, Q: All the test statistics are normal distribution?
A: not entirely, but most tests are directly or indirectly related and can be deduced from the normal distribution, such as T-Test, F-Test, or chi-square test. These tests are generally required: the analyzed variables are normally distributed in general, which satisfies the so-called normal hypothesis. Many of the observed variables are normally distributed, which is why the normal distribution is the basic feature of the real world. The problem arises when people use a test that is established on the basis of a normal distribution to analyze data from non-normal-distribution variables (see normality tests for nonparametric and variance analysis). There are two methods under this condition: one is to use an alternative nonparametric test (i.e. no distribution test), but this method is inconvenient, because from the conclusion it provides, this method is inefficient and inflexible. Another approach is to use a test based on a normal distribution if the sample size is determined to be large enough. The latter method is based on a rather important principle, which plays an important role in the general test on the basis of the normal equation. That is, as the sample size increases, the sample distribution shape tends to be normal, even though the distribution of the variables studied is not normal.

6. Q: The connotation and steps of hypothesis testing
A: In the hypothesis test, because of randomness we may make two kinds of errors in decision-making, one is the assumption is correct, but we reject the assumption that such errors are "Discard true" errors, known as the first kind of error, the class is not correct, but we do not refuse to assume that such errors are "pseudo" errors, known as the second kind of In general, in the case of a sample determination, any decision cannot simultaneously avoid the occurrence of two types of errors, that is, to avoid the probability of the first type of error, while increasing the probability of the second type of error, or to avoid the probability of the second type of error, but also increase the probability of the first type of error occurs. People often choose to control that type of error as needed to reduce the chance of such errors.     In most cases, people control the probability that the first category of errors will occur. The probability of occurrence of the first type of error is called the significance level, which is generally expressed in α, in which the probability of the first type of error is controlled by giving the value of the significant level alpha in advance for hypothesis testing. Under this premise, the hypothesis test is performed as follows:
1), to determine assumptions;
2), sampling, to obtain a certain amount of data;
3), according to the hypothesis, constructs the test statistic, and calculates the concrete value of the test statistic in this sample according to the data sampled;
4), according to the structure of the sampling distribution of the test statistics, and given the significance of the level, to determine the reject domain and its critical value;
5) Comparing the value of the test statistic with the critical value in this sample, if the value of the test statistic is within the reject domain, the hypothesis is rejected;
In this step, the hypothesis test has been basically completed, but because the test is to use a prior given significance level of the method to control the probability of error, so for the two data is similar to the hypothesis test, we can not know that a hypothesis more prone to make mistakes, This means that we can only know the maximum probability (i.e. a given significance level) of the first type of error based on this sample, and we cannot know how to make a mistake at the level of probability. The calculated P-value solves this problem effectively, and the P-value is actually a probability value calculated according to the sampling distribution, which is calculated from the test statistic. By directly comparing the P-value with the given significance level α, it is possible to know whether to reject the hypothesis, which obviously replaces the method of comparing the value of the test statistic with the size of the critical value. And by this method, we can also know the actual probability of making the first kind of error in the case of P-value less than α, p=0.03<α=0.05, then the refusal hypothesis, the probability that this decision may err is 0.03. It should be noted that if p>α, then the assumption is not rejected, in which case the first type of error does not occur.

7, Q: Chi-square test results, the value is bigger the better, or the smaller the better?
A: As with other tests, the larger the calculated statistic, the smaller the probability value, the closer the distribution is to the tail end.
If the test design is reasonable, the data is correct, significant or not significant are objectively reflected. There's nothing good or bad.

8. Q: What is the difference between the T-Test and the related sample test for paired samples?
A: Paired samples have homologous pairings (such as twins in an animal experiment), conditional pairing (such as the same environment), self-pairing (e.g. before and after the drug in a medical experiment), etc. (as if there is no clear explanation, what is the difference between asking this question?) )


9, Q: In comparison between the two groups of data rate is the same, two distribution and chi-square test What is the difference?
A: Chi-square distribution is mainly used for multi-group comparison, is to examine the total number of research objects and a category group of the observed frequency and the expected frequency is significantly different, requires that the if number of each block is not less than 5, if less than 5 merge adjacent groups. Two distributions do not have this requirement.
If there are only two classes in the classification, it is better to take two Tests.
If the 2*2 table can be accurately tested with Fisher, it works better under small samples.

10, Q: How to compare the differences between the two sets of data
Answer: from four aspects,
1). Design type is completely random design two sets of data comparison, do not know whether the data is a continuous variable?
2). Comparison method: If the data is continuous data, and the two sets of data obey normal distribution & homogeneity (Variance homogeneity test), then the T test can be used, if not obey the above conditions can be used rank and test.
3). Do you want to know if there are any significant differences between the two sets of data? Do not know what this obvious difference means? Whether the difference is statistically significant (that is, the probability of the difference) or the two population mean difference in which range of fluctuations? If the former, you can use the 2nd step can get the P value, if the latter, it is the mean difference between the confidence interval to complete. Of course, the results of both can be obtained in SPSS.

11. Q: The relationship and difference between regression analysis and correlation
A: Regression analysis (Regression): Dependant variable is defined and can being forecasted by independent variable. Analysis (Correlation): the RelA Tionship BTW, variables. ---A dose not define or determine B.
Regression more useful to interpret the meaning of the dependent variable, there is a little causal relationship in it, and can be linear or non-linear relationship;
Correlation is more likely to explain the relationship between the 22, but generally refers to the linear relationship, especially the correlation index, sometimes the image display particularly strong two-square image, but the correlation index is still very low, and this is only because the two are not linear relationship, does not mean that there is no relationship between the two, Therefore, in the relevant index to pay special attention to how to explain the value, especially recommended to make an image observation first.
However, regardless of regression or relevance, in the causal relationship should pay special attention, not every significant regression factor or a higher correlation index implies causality, it is possible that these factors are subject to the third, fourth factor constraints, are the cause or effect of another factor.
For the difference between the two, I would like to make it easy to understand by the following analogy:
For the relationship between the two, the relationship can only know that they are lovers relationship, as to their who is the dominant, who speaks the arithmetic, who is the follower, a sneeze, the other will have what reaction, the correlation is not competent, and regression analysis can be a good solution to the problem
Return is not necessarily a causal relationship. There are two main returns: one is explanation, one is prediction. The unknown dependent variables are predicted using known autocorrelation. The relationship is primarily about the sharing of the two variables. If there is a causal relationship, it is usually the path analysis or the linear structure relationship pattern.
I think we should look at this, we do regression analysis is based on a certain theory and intuition, through the relationship between the number of independent variables and dependent variables to explore whether there is a causal relationship. The man upstairs said, "The return is not necessarily a causal relationship ... If there is a causal relationship, usually a path analysis or linear structure relationship pattern "is a bit debatable, in fact, regression analysis can be seen as a special case of linear structural relationship patterns."
I think that the return is to explore the causal relationship is correct, because in fact, in the end we are not completely based on statistical results to determine causality, only in the statistical results and theory and reality on the basis of a more consistent with the cause we are certain of this causal relationship. Any statistical method is just a tool, but it is not entirely dependent on the tool. Even if it is SEM, we can not say that fully determine its accuracy, because even if the method is good, but the complex relationship of variables presented in a variety of ways, perhaps statistics can only tell you a direction of the optimal solution, may not be the most practical, not to mention the quality of the sample data will also make the results do not conform to the facts, This leads to doubts about the accuracy of statistical methods.
Statistics only describe statistical associations.
Does not prove a factor relationship.
Regression has a causal relationship, the correlation is not necessarily.
Regression analysis is a statistical method to deal with the linear dependence between two and more than two variables. Such problems are common, such as the content of a metal element in human hair and the content of the elements in the blood, human body surface area is related to height, weight, and so on. Regression analysis is the mathematical relationship used to illustrate this dependent change.
The existence of any thing is not isolated, but is interrelated, mutual restraint. Height and body weight, body temperature and pulse, age and blood pressure have some connections. The relationship between objective things and the relative degree of correlation with appropriate statistical indicators, the process is related to correlation analysis.

Popular understanding the difference between T-Test and F-Test "turn"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.