By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Hypothesis testing is a statistical method used to determine whether there is enough evidence to support a claim or hypothesis about a population based on a sample of data. In business analytics, hypothesis testing is crucial for making informed decisions, such as determining whether a new marketing campaign is effective, whether a product is preferred by a specific demographic, or whether a process improvement has a significant impact on productivity. For example, a company wants to determine whether the average salary of its employees in the sales department is higher than the average salary of employees in the marketing department.
ttest_ind()
chi2_contingency()
t.test()
chisq.test()
T.TEST()
CHISQ.TEST()
A company wants to determine whether the average salary of its employees in the sales department is higher than the average salary of employees in the marketing department. The sample mean salary for the sales department is $80,000, and the sample mean salary for the marketing department is $70,000. The sample standard deviation for both departments is $10,000. What is the p-value associated with a two-sample t-test?
Answer: The p-value is approximately 0.01.
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.