标签: r dataframe chi-squared hypothesis-test
我希望确认我的Chi Square测试设置正确。我有2个变量,1个观察,这是每个推文的数量。我只是想确认我已正确设置它。
代码:
Bridgewater_amount=328 Keenum_amount=1185 Quarterback_dataframe=data.frame(Bridgewater_amount,Keenum_amount) chisq.test(Keenum_amount,Bridgewater_amount)