开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

暖暖 · 2024年04月06日

df的计算

NO.PZ2023061301000027

问题如下:

Which of the following statements is correct regarding the chi-square test of

independence?

选项:

A.

The test has a one-sided rejection region.

B.

The null hypothesis is that the two groups are dependent.

C.

If there are two categories, each with three levels or groups, there are six

degrees of freedom.

解释:

A is correct. The test statistic includes squared differences between the observed

and expected values, so the test involves only one side, the right side. B is incorrect

because the null hypothesis is that the groups are independent, and C is

incorrect because with three levels of groups for the two categorical variables,

there are four degrees of freedom.

我知道公式 df=(r-1)(C-1), 可是根据题目, 不是2个categories, 每个categeires 有3个子类目, 所以 row 是2, column 是3吗, 所以算出来是2吗, 为什么解析中说是一个三行三列的表格呢, 谢谢

3 个答案

品职助教_七七 · 2024年09月12日

嗨,从没放弃的小努力你好:


@petrov

自由度的公式为(r-1)(c-1),其中r为行数(row),c为列数(column)。由于本题为三行三列,所以自由度为(3-1)(3-1)=4

----------------------------------------------
努力的时光都是限量版,加油!

petrov · 2024年09月11日

还是不懂,为什么不是2*1,c和r是指什么意思

品职助教_七七 · 2024年04月07日

嗨,努力学习的PZer你好:


C选项的意思是两个类别,每个类别都有三个子科目。由于各自都有三个子科目,所以是3×3。

基础班的例子就是这种情况。

----------------------------------------------
努力的时光都是限量版,加油!

  • 3

    回答
  • 0

    关注
  • 248

    浏览
相关问题

NO.PZ2023061301000027 问题如下 Whiof the following statements is correregarng the chi-square test ofinpennce? A.The test ha one-sirejection region. B.The null hypothesis is ththe two groups are pennt. C.If there are two categories, eawith three levels or groups, there are sixgrees of freem. A is correct. The test statistic inclus squarefferences between the observeanexpectevalues, so the test involves only one si, the right si. B is incorrebecause the null hypothesis is ththe groups are inpennt, anC is incorrebecause with three levels of groups for the two categoricvariables, there are four grees of freem. 什么时候用卡方检验什么时候用F检验呢?

2024-10-30 20:50 1 · 回答

NO.PZ2023061301000027问题如下 Whiof the following statements is correregarng the chi-square test ofinpennce? A.The test ha one-sirejection region.B.The null hypothesis is ththe two groups are pennt.C.If there are two categories, eawith three levels or groups, there are sixgrees of freem. A is correct. The test statistic inclus squarefferences between the observenexpectevalues, so the test involves only one si, the right si. B is incorrectbecause the null hypothesis is ththe groups are inpennt, anC isincorrebecause with three levels of groups for the two categoricvariables,there are four grees of freem. 请问老师,b错在哪里呀?

2024-01-01 17:59 1 · 回答

NO.PZ2023061301000027问题如下 Whiof the following statements is correregarng the chi-square test ofinpennce? A.The test ha one-sirejection region.B.The null hypothesis is ththe two groups are pennt.C.If there are two categories, eawith three levels or groups, there are sixgrees of freem. A is correct. The test statistic inclus squarefferences between the observenexpectevalues, so the test involves only one si, the right si. B is incorrectbecause the null hypothesis is ththe groups are inpennt, anC isincorrebecause with three levels of groups for the two categoricvariables,there are four grees of freem. 怎么计算呢????

2023-08-31 15:32 1 · 回答