pruebas paramc3a9tricas y no parametricas

Table of contents

  1. Parametric and Non-Parametric Tests
  2. Types of Parametric Tests
  3. Covariation Tests
  4. Non-Parametric Tests
  5. Fisher's Exact Probability Test and Yates' Correction
  6. McNemar's Test for Dependent Samples
  7. Cochran's Q Test for Three or More Dependent Samples
  8. Types of Non-Parametric Tests: Ordinal
  9. Summary

1. Parametric and Non-Parametric Tests

1.1 Introduction to Parametric Tests

Parametric tests are used for hypothesis testing when estimating population parameters from samples. They assume that the population distribution is known and typically involve continuous quantitative variables.

The accuracy of parameter estimation increases with sample size 3.

1.2 Advantages of Parametric Tests

  • Efficiency: They possess greater power, meaning they are more likely to detect a significant effect if one exists.
  • Sensitivity: They are more sensitive to the characteristics of collected data.
  • Accuracy: They offer a lower possibility of errors and provide quite exact probabilistic estimations 4.

1.3 Disadvantages of Parametric Tests

  • Complexity: Calculations can be more complicated.
  • Data Limitations: They have limitations regarding the types of data that can be evaluated 4.

1.4 Introduction to Non-Parametric Tests

Non-parametric tests are utilized when analyzing data on a nominal or ordinal scale. They can be employed even when the parameters of the population under study are unknown.

These tests are used for hypothesis testing, particularly with independent data 34.

1.5 Types of Non-Parametric Tests (Nominal Scale)

  • Binomial test.
  • Pearson's chi-squared test for one sample.
  • Pearson's chi-squared test for two or more independent samples.
  • Chi-squared test of proportions for three or more independent samples.
  • Fisher's exact probability test and Yates' correction.
  • McNemar's test for dependent samples.
  • Cochran's Q test for three or more dependent samples.
  • Sequential analysis 35.

📝 The binomial test analyzes dichotomous variables by comparing observed frequencies in each category, using the formula P(xi)=nCr⋅pr⋅q(n−r)P(x_i) = nCr \cdot p^r \cdot q^{(n-r)}, where P(xi)P(x_i) is the probability of an event's occurrences, nCrnCr is the number of combinations, nn is the total number of events, rr is the expected arrangement value, pp is the probability of occurrence, and qq is the probability of non-occurrence 37.

2. Types of Parametric Tests

2.1 Z-test of the Normal Distribution

The Z-test of the normal distribution involves forming a standard normal probability curve, often bell-shaped. It locates three measures of central tendency: the arithmetic mean (average), median, and mode.

The standard deviation is also a key parameter 9.

2.2 Steps for the Z-test

  1. Calculate the average and standard deviation of the sample observations.
  2. Determine the difference between the sample average and a hypothesized population average.
  3. Divide this difference by the sample's standard deviation to obtain the Z-value.
  4. Decide whether to accept or reject the hypothesis based on the calculated Z-value 11.

The Z-value represents the number of standard deviations a data point is from the mean 12.

📝 To calculate the Z-value, you first find the sample average and standard deviation, then determine the difference between the sample average and a hypothesized population average, and finally divide this difference by the sample's standard deviation 11.

2.3 Student's T-tests

Student's T-tests are used for hypothesis testing concerning the arithmetic mean. They are powerful and efficient for avoiding Type I errors, provided their theoretical assumptions are met 13.

2.4 Requirements for T-tests

  • Observations must be independent.
  • Populations should have a normal distribution.
  • Measurements must be on an interval scale, allowing for all admissible arithmetic operations.
  • Variances of the groups should be homogeneous (equal) 13.

2.5 Steps for T-test (Independent Samples)

  1. Calculate the mean for each population group.
  2. Compute the variance for each group to test for homogeneity using Bartlett's chi-squared test.
  3. Calculate the sum of squares for each group.
  4. Compute the pooled standard deviation (sp) for both groups.
  5. Determine the absolute difference between the group means.
  6. Apply the formula to obtain the t-statistic.
  7. Calculate the degrees of freedom (df).
  8. Find the probability of the t-value in a table.
  9. Decide whether to accept or reject the hypothesis 14.

2.6 Student-Welch T-test

The Student-Welch T-test is used for two independent samples with non-homogeneous variances. It adjusts the degrees of freedom calculation to reduce error caused by unequal variances 15.

2.7 T-statistic Equation (Welch's)

t=xˉ1−xˉ2σ12n1+σ22n2t = \frac{\bar{x}_1 - \bar{x}_2}{\sqrt{\frac{\sigma^2_1}{n_1} + \frac{\sigma^2_2}{n_2}}} Where:

  • tt is the t-statistic.
  • xˉ1\bar{x}_1 and xˉ2\bar{x}_2 are the means of group 1 and group 2.
  • σ12\sigma^2_1 and σ22\sigma^2_2 are the variances of group 1 and group 2.
  • n1n_1 and n2n_2 are the sample sizes of group 1 and group 2 16.

2.8 Degrees of Freedom Calculation (Welch's)

df≈(σ12n1+σ22n2)2(σ12n1)2n1−1+(σ22n2)2n2−1df \approx \frac{\left(\frac{\sigma^2_1}{n_1} + \frac{\sigma^2_2}{n_2}\right)^2}{\frac{\left(\frac{\sigma^2_1}{n_1}\right)^2}{n_1-1} + \frac{\left(\frac{\sigma^2_2}{n_2}\right)^2}{n_2-1}} Where:

  • σ12\sigma^2_1 and σ22\sigma^2_2 are the variances of group 1 and group 2.
  • n1n_1 and n2n_2 are the sample sizes of group 1 and group 2 17.

2.9 Process for Student-Welch T-test

  1. Determine the mean, variance, and sample size for each population.
  2. Apply the t-statistic equation.
  3. Calculate the degrees of freedom using the provided equation.
  4. Compare the calculated t-value with critical t-values for the determined degrees of freedom.
  5. Decide whether to accept or reject the hypothesis 18.

2.10 F-test (Analysis of Variance - ANOVA) 20

ANOVA is a powerful statistical tool that analyzes variation within data by decomposing it into various factors. It helps determine if significant differences exist between population means or if observed differences are due to sampling limitations 19.

ANOVA tests the hypothesis that the means of two or more populations are equal. It assesses the importance of one or more factors by comparing the means of a response variable across different factor levels.

The null hypothesis (H0H_0) states all population means are equal, while the alternative hypothesis (HaH_a) states at least one mean is different 20.

The name "analysis of variance" stems from its approach of comparing variance between group means to variance within groups. This comparison helps determine if groups belong to a single larger population or separate populations with distinct characteristics 21.

ConceptDescription
ANOVATests the hypothesis that the means of two or more populations are equal.
FactorsVariables that can influence the response variable.
LevelsThe different categories or values within a factor.
Response VariableThe outcome variable being measured.

For example, to evaluate the durability of four experimental carpet products, one might place a sample of each in ten homes and measure durability after 60 days. Using a one-factor ANOVA would assess if there are significant differences in durability among the carpet types 22.

If the p-value is less than the significance level, it indicates that at least one mean durability is different 22.

📝 To evaluate the durability of four experimental carpet products, you place a sample of each in ten homes and measure durability after 60 days. Using a one-factor ANOVA assesses if there are significant differences in durability among the carpet types 22.

3. Covariation Tests

Covariation tests examine the relationship between variables. The primary tests discussed are Pearson's correlation (parametric) and Spearman's correlation (non-parametric) 23.

3.1 Correlation

Correlation measures the degree to which two variables tend to change together. The correlation coefficient describes both the strength and direction of this relationship 24.

3.2 Pearson's Correlation (r)

Pearson's correlation coefficient (rr) measures the linear relationship between two variables measured on an interval or ratio scale. It assesses if "as X increases, Y increases" or "as X increases, Y decreases," without implying causality 25.

The coefficient is calculated from sample scores of two variables, relating scores from one variable to scores from another variable for the same subjects. It ranges from -1.00 to +1.00 25.

A Pearson correlation evaluates the linear relationship between two continuous variables, where a change in one variable is associated with a proportional change in the other 26.

AspectDescription
Type of DataInterval or ratio scale.
Relationship TypeLinear association.
Range of Coefficient-1.00 to +1.00.
InterpretationMeasures strength and direction of linear relationship; 0 indicates no linear relationship, 1 indicates perfect positive linear relationship, -1 indicates perfect negative linear relationship.

3.3 Example of Pearson's Correlation

An example involves calculating the correlation between "height" and "weight" of students 29.

📝 If both Spearman's rho and Pearson's r yield a value of 0.424 when analyzing customer satisfaction with car service levels, it suggests a positive association: customers choosing higher service plans tend to express more satisfaction 32.

3.4 Spearman's Correlation (rho)

Spearman's rank-order correlation coefficient (ρ\rho) identifies if two variables have a monotonic relationship, meaning they consistently increase or decrease together 30.

The coefficient ranges from -1 to +1. A higher absolute value indicates a stronger relationship.

An absolute value of 1 signifies a perfect relationship, while a value of 0 indicates no relationship. The interpretation of intermediate values as weak, moderate, or strong depends on the specific research goals 30.

3.5 Example of Spearman's and Pearson's Correlation 30 33

Consider analyzing customer satisfaction in a car dealership offering three service levels (no service, standard, premium) and customer satisfaction (dissatisfied, indifferent, satisfied). Both Spearman's rho and Pearson's r might be calculated for these ordinal variables 31.

If both coefficients yield a value of 0.424, it suggests a positive association: customers choosing higher service plans tend to express more satisfaction 32.

Spearman's rho and Pearson's r can be used to assess the association between two variables with ordinal categories (e.g., small, medium, large) 33.

CoefficientScaleRelationship TypeInterpretation
Pearson's rInterval/RatioLinearStrength and direction of linear association.
Spearman's rhoOrdinal/RankedMonotonicStrength and direction of monotonic association.

4. Non-Parametric Tests

Non-parametric tests are used to analyze data on a nominal or ordinal scale and can be applied even when population parameters are unknown. They are employed for hypothesis testing, particularly with independent data 34.

4.1 Types of Non-Parametric Tests (Nominal Scale)

  • Binomial Test: Analyzes dichotomous variables by comparing observed frequencies in each category. The null hypothesis is accepted based on a 5% or 1% significance level, and its veracity depends on the probability value. The formula is: P(Xi)=nCr⋅pr⋅q(n−r)P(X_i) = nCr \cdot p^r \cdot q^{(n-r)}, where P(Xi)P(X_i) is the probability of a specific outcome, nCrnCr is the number of combinations, nn is the total number of events, rr is the expected value, pp is the probability of occurrence, and qq is the probability of non-occurrence 37.

  • Probability: p+q=1p+q=1. For example, if the probability of having a girl is 0.75, then p=0.75p=0.75 and q=0.25q=0.25, so p+q=1p+q=1 38.

  • Hypotheses:

  • Alternative Hypothesis (HaH_a): Having only daughters or only sons is determined genetically, suggesting a high probability for having only sons.

  • Null Hypothesis (H0H_0): Conceiving sons or daughters is a matter of chance 39.

  • Rejection Region: If the probability value is greater than 0.05, H0H_0 is accepted, and HaH_a is rejected 40.

  • Pearson's Chi-Squared Test (χ2\chi^2): Used for hypothesis testing, its effectiveness depends on sample size. It measures the discrepancy between observed and theoretical data and helps avoid Type I errors. It can be applied to one or multiple categories 41.

  • Hypothesis Determination: H0H_0 is accepted if the calculated value is less than the tabulated value, considering the degrees of freedom 42.

5. Fisher's Exact Probability Test and Yates' Correction

The Fisher's Exact Probability Test is a statistical test frequently used as an alternative when Pearson's chi-squared test cannot be applied. It is a more effective procedure for nominal scale data with two independent samples.

This test directly calculates the probability of observed frequency arrangements in a 2x2 contingency table, based on a hypergeometric distribution 44.

5.1 Fisher's Exact Probability Test Equation

P=(A+B)!(C+D)!(A+C)!(B+D)!N!A!B!C!D!P = \frac{(A+B)!(C+D)!(A+C)!(B+D)!}{N!A!B!C!D!} Where:

  • PP is the exact probability.
  • A,B,C,DA, B, C, D are the observations in the cells of the table.
  • NN is the grand total.
  • !! denotes the factorial 45.

5.2 Steps for Fisher's Exact Probability Test

  1. Arrange observed frequencies in a 2x2 contingency table.
  2. Obtain row totals (A+BA+B, C+DC+D), column totals (A+CA+C, B+DB+D), and the grand total (NN).
  3. Calculate the factorials of row and column totals and multiply them.
  4. Calculate the factorial of the grand total and multiply it by the factorials of each cell in the table.
  5. Divide the product from step 3 by the product from step 4 to get the exact probability.
  6. Decide whether to accept or reject the hypothesis based on the calculated probability 46.

6. McNemar's Test for Dependent Samples

McNemar's test is used to determine if a "treatment" induces a change in dichotomous responses in "before-after" designs, where each element acts as its own control 47.

The results for a sample of nn elements are arranged in a 2x2 frequency table to capture responses before and after the intervention 47.

6.1 McNemar's Test Equation

χ2=(∣A−D∣−1)2A+D\chi^2 = \frac{(|A-D|-1)^2}{A+D} Where:

  • χ2\chi^2 is the chi-squared statistic for McNemar's test.
  • AA and DD are the observations in specific cells of the table representing changes.
  • −1-1 is the continuity correction 48.

6.2 Steps for McNemar's Test

  1. Arrange the data in a 2x2 contingency table.
  2. Apply McNemar's equation: subtract 1 (continuity correction), square the result, and divide by the sum of A+DA+D. This yields the chi-squared value.
  3. Calculate the degrees of freedom, which is always 1 for this test.
  4. Compare the calculated statistic with critical chi-squared values.
  5. Decide whether to accept or reject the hypothesis 49.

7. Cochran's Q Test for Three or More Dependent Samples

7.1 Description

Cochran's Q test is a statistical technique used for experimental models with three or more dependent or related samples. It is an extension of McNemar's test and is applicable when the data is on a nominal scale.

In this test, the population serves as its own control, with pre- and post-period measurements. The calculated value of Cochran's Q test follows a chi-squared distribution, denoted as χQ2\chi^2_Q 50.

7.2 Formula

The formula for Cochran's Q test is: χQ2=(K−1)(∑n=1KGn2−(∑n=1KGn)2K)∑i=1NLc2−(∑i=1NLc)2N\chi^2_Q = \frac{(K-1) \left( \sum_{n=1}^{K} G_n^2 - \frac{(\sum_{n=1}^{K} G_n)^2}{K} \right)}{\sum_{i=1}^{N} L_c^2 - \frac{(\sum_{i=1}^{N} L_c)^2}{N}} Where:

  • χQ2\chi^2_Q is the chi-squared statistic for Cochran's Q test.
  • KK is the number of treatments.
  • GnG_n is the total number of change responses for each treatment or column.
  • LcL_c is the total number of change responses per individual in the sample or rows.
  • NN is the total number of individuals in the sample 51.

7.3 Steps

  1. Arrange the individual samples with their change responses.
  2. Calculate the sum of changes for each treatment or column (GnG_n and ∑Gn\sum G_n).
  3. Calculate the sum of changes for each row, square these sums, and then sum these squared values (∑Lc\sum L_c and ∑Lc2\sum L_c^2).
  4. Apply the Cochran's Q test formula to obtain the χQ2\chi^2_Q value.
  5. Calculate the degrees of freedom (df) as the number of treatments minus 1 (K−1K-1).
  6. Compare the obtained χQ2\chi^2_Q statistic with the critical value from the chi-squared distribution for the calculated degrees of freedom.
  7. Decide whether to accept or reject the hypothesis 52.

8. Types of Non-Parametric Tests: Ordinal

8.1 Overview of Ordinal Non-Parametric Tests

Non-parametric tests are used when data does not meet the assumptions of parametric tests, such as normality. For ordinal data, several tests are available to compare groups or assess distributions.

These include the Kolmogorov-Smirnov test for one sample, the Mann-Whitney U test for two independent samples, the Wilcoxon signed-ranks test for two dependent samples, the Kruskal-Wallis ANOVA for more than two independent samples, and Friedman's ANOVA for more than two dependent samples 53.

8.2 Kolmogorov-Smirnov Test for One Sample

The Kolmogorov-Smirnov (K-S) test is a "goodness-of-fit" procedure used to measure the agreement between the observed cumulative distribution function of a sample and a theoretical cumulative distribution function specified by the null hypothesis. It is often used to check if a variable, such as test scores, follows a normal distribution 54.

📝 The Kolmogorov-Smirnov test can be used to check if a variable, such as test scores, follows a normal distribution 54.

8.3 Hypotheses

  • Null Hypothesis (H0H_0): The analyzed data follows a specified distribution (e.g., normal distribution).
  • Alternative Hypothesis (H1H_1): The analyzed data does not follow the specified distribution 55.

8.4 Test Statistic

The Kolmogorov-Smirnov statistic (D) is the maximum absolute difference observed between the empirical cumulative distribution function (Fn(xi)F_n(x_i)) and the theoretical cumulative distribution function (F0(xi)F_0(x_i)). D=sup⁡x∣Fn(x)−F0(x)∣D = \sup_x |F_n(x) - F_0(x)| Where:

  • xix_i is the ii-th observed value in the sample, ordered from smallest to largest.
  • Fn(xi)F_n(x_i) is the empirical estimate of the probability of observing values less than or equal to xix_i.
  • F0(xi)F_0(x_i) is the theoretical probability of observing values less than or equal to xix_i if H0H_0 is true 56.

8.5 Decision Rule

  • If D≤DαD \le D_\alpha, accept H0H_0.
  • If D>DαD > D_\alpha, reject H0H_0 57.

8.6 Mann-Whitney U Test for Two Independent Samples

The Mann-Whitney U test is a non-parametric test used to compare two independent samples to determine if they come from the same population. It is an alternative to the t-test for independent samples when the data does not meet the normality assumption.

The test compares medians by using ranks instead of sample parameters like the mean or variance 58.

📝 For two independent samples of sizes n1n_1 and n2n_2, if R1R_1 and R2R_2 are the sums of ranks, then U1=n1n2+n1(n1+1)2−R1U_1 = n_1 n_2 + \frac{n_1(n_1+1)}{2} - R_1 and U2=n1n2+n2(n2+1)2−R2U_2 = n_1 n_2 + \frac{n_2(n_2+1)}{2} - R_2 61 62.

8.7 Requirements

  • A quantitative variable that does not meet normality and/or homogeneity of variances requirements, or a semi-quantitative variable.
  • Independent and random samples 59.

8.8 Hypotheses

  • Null Hypothesis (H0H_0): The two samples, of sizes n1n_1 and n2n_2, come from identical continuous populations (f1(x)=f2(x)f_1(x) = f_2(x)).
  • Alternative Hypothesis (H1H_1):
  • Two-tailed: There are differences between the medians (M) of the two groups.
  • One-tailed: There are differences between the medians, with a specified direction (e.g., M1>M2M_1 > M_2) 60.

8.9 Calculation Procedure

  1. Order: Combine data from both groups and order all values in ascending order. Assign ranks to each data point.
  2. Sum: Calculate the sum of ranks for each group (R1R_1 and R2R_2).
  3. Calculate U statistics: U1=n1n2+n1(n1+1)2−R1U_1 = n_1 n_2 + \frac{n_1(n_1+1)}{2} - R_1 U2=n1n2+n2(n2+1)2−R2U_2 = n_1 n_2 + \frac{n_2(n_2+1)}{2} - R_2 Where n1n_1 and n2n_2 are the sample sizes of group 1 and group 2, respectively 61 62.

8.10 Comparison

  • The test statistic UcalU_{cal} is the larger value between U1U_1 and U2U_2.
  • Compare UcalU_{cal} with a critical value (UcritU_{crit}) obtained from tables for a given significance level (e.g., α=0.05\alpha = 0.05).
  • If Ucal≥UcritU_{cal} \ge U_{crit}, reject H0H_0 (medians are different).
  • If Ucal<UcritU_{cal} < U_{crit}, accept H0H_0 (medians are equal) 63.

8.11 Wilcoxon Signed-Ranks Test for Two Dependent Samples

The Wilcoxon signed-ranks test is a non-parametric alternative to the paired t-test. It is used for small samples (typically between 6 and 25) when data is ordinal or when the assumptions for the t-test are not met.

For large samples (greater than 25), a Z-test approximation is used 64.

8.12 When to Use

  • Ordinal data.
  • Assessing differences in magnitudes (positive and negative).
  • Paired samples.
  • Detecting differences 64.

8.13 Steps

  1. Pair observations and calculate the difference for each pair.
  2. Rank the absolute values of the differences, retaining the original sign for each rank.
  3. Sum the ranks with the less frequent sign. This sum, without its sign, is the test statistic.
  4. For small samples, compare the obtained value with critical values from the Wilcoxon table.
  5. For large samples (> 25), use the Z-distribution and calculate the Z-value to consult probability tables.
  6. Decide whether to accept or reject the hypothesis 65.

8.14 Kruskal-Wallis One-Way ANOVA

The Kruskal-Wallis one-way ANOVA is an extension of the Mann-Whitney U test that uses ranks. It is employed when the experimental design involves more than two independent samples 66.

📝 For KK groups with sample sizes nin_i and sum of ranks RiR_i, the Kruskal-Wallis statistic is H=12N(N+1)∑i=1KRi2ni−3(N+1)H = \frac{12}{N(N+1)} \sum_{i=1}^{K} \frac{R_i^2}{n_i} - 3(N+1), where NN is the total sample size 66.

8.15 Formula

H=12N(N+1)∑i=1KRi2ni−3(N+1)H = \frac{12}{N(N+1)} \sum_{i=1}^{K} \frac{R_i^2}{n_i} - 3(N+1) Where:

  • HH is the Kruskal-Wallis test statistic.
  • NN is the total sample size.
  • RiR_i is the sum of ranks for each group ii.
  • nin_i is the sample size of each group.
  • KK is the number of groups 66.

8.16 Tie Adjustment (L)

If there are ties in the ranks, an adjustment factor LL is calculated: L=1−∑(ti3−ti)N3−NL = 1 - \frac{\sum (t_i^3 - t_i)}{N^3 - N} Where:

  • tit_i is the number of tied ranks in each group.
  • NN is the total sample size 67.

8.17 When to Use

  • When comparing different treatments or conditions.
  • For small samples.
  • Using ordinal scale data.
  • When samples are selected from different populations.
  • To test directional or non-directional hypotheses 68.

8.18 Steps

  1. Rank all observations from all groups combined, from smallest to largest.
  2. Assign ranks for each observation within its group. Calculate the sum of ranks for each group, square it, and divide by the group's sample size (nin_i).
  3. Identify ties in ranks and apply the adjustment formula (L) if necessary.
  4. Apply the Kruskal-Wallis formula to obtain the HH statistic.
  5. Calculate degrees of freedom: df=K−1df = K - 1.
  6. Compare the HH statistic with the critical values from the chi-squared distribution for the calculated degrees of freedom.
  7. Decide whether to accept or reject the hypothesis 69.

8.19 Friedman's Two-Way ANOVA by Ranks

Friedman's two-way ANOVA by ranks is complementary to the Kruskal-Wallis test. It is used when observations do not follow a normal distribution but can be ordered on an interval scale, meaning data is treated as ordinal.

This test can be applied to both independent and dependent samples with multiple factors or treatments 70.

8.20 Formula

χr2=12HK(K+1)∑j=1KRj2−3H(K+1)\chi^2_r = \frac{12}{H K (K+1)} \sum_{j=1}^{K} R_j^2 - 3H(K+1) Where:

  • χr2\chi^2_r is the calculated Friedman's rank ANOVA statistic.
  • HH is the number of rows (subjects or blocks).
  • KK is the number of columns (treatments or conditions).
  • RjR_j is the sum of ranks for each column 70.

8.21 When to Use

  • Ordinal data.
  • To establish differences.
  • For more than three treatments.
  • When samples are drawn from the same population.
  • For small samples (K=3−4,H=2−9K=3-4, H=2-9) and large samples (K=3−4,H>9K=3-4, H > 9).
  • Subjects are randomly assigned to each condition.
  • Matched samples (equal number of subjects in each condition).
  • Ranks are assigned per condition.
  • Working with double-entry tables 71.

8.22 Steps

  1. Order observations based on changes observed after treatment(s).
  2. Assign ranks from smallest to largest within each row.
  3. Sum the ranks for each column (RjR_j) and square these sums.
  4. Apply the Friedman's two-way ANOVA formula.
  5. Compare the Friedman's χr2\chi^2_r value with critical probability values from appropriate tables (Wilcoxon tables for small samples, Pearson's chi-squared tables for large samples) 72.

9. Summary

9.1 Hypothesis Testing Process

The hypothesis testing process involves a structured approach to making decisions based on sample data. The key steps ensure a rigorous evaluation of the null hypothesis 73.

9.2 Steps 50 53 58 64 66 70

  1. Formulate Hypotheses: State the null hypothesis (H0H_0) and the alternative hypothesis (H1H_1).
  2. Define Test Statistic: Select and define the appropriate statistical test statistic.
  3. Formulate Decision Rule: Establish the criteria for rejecting or accepting the null hypothesis based on the significance level and the distribution of the test statistic.
  4. Collect Sample Data: Obtain a sample and calculate the test statistic from the sample data.
  5. Make Decision: Compare the calculated test statistic to the decision rule to either reject H0H_0 (and accept H1H_1) or fail to reject H0H_0 73.
TestType of DataNumber of SamplesSample Dependency
Cochran's Q TestNominal3 or moreDependent
Kolmogorov-Smirnov TestOrdinal/Continuous1N/A
Mann-Whitney U TestOrdinal/Continuous2Independent
Wilcoxon Signed-Ranks TestOrdinal/Continuous2Dependent
Kruskal-Wallis ANOVAOrdinal/Continuous3 or moreIndependent
Friedman's ANOVAOrdinal/Continuous3 or moreDependent
Hypothesis Testing StepDescription
1. Formulate hypothesesState the null (H0H_0) and alternative (H1H_1) hypotheses.
2. Define test statisticSelect the appropriate statistical test and its corresponding statistic.
3. Formulate decision ruleEstablish criteria for accepting or rejecting H0H_0 based on significance level and test statistic distribution.
4. Take a sample and decideCollect sample data, calculate the test statistic, and compare it to the decision rule.
5. Reject H0H_0 or accept HaH_a (or vice versa)Conclude whether the sample data provides sufficient evidence to reject the null hypothesis.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also