[Statistics] Obtaining test statistic in short problem

AI Thread Summary
The discussion revolves around calculating the test statistic for a statistical problem related to a sample of 120 people categorized as workers, students, and retirees. Participants debate whether to use an F-test or a chi-square statistic for analysis. The F-test formula is provided, emphasizing the importance of R-squared in determining model effectiveness. The conversation highlights the need to calculate expected counts in each category based on predicted percentages. Clarification is sought on how to derive these expected counts from the given data.
ozill
Messages
3
Reaction score
0
Hey everyone! Exam practice, that time of year. In this problem 13 with correct answer C, I'm not sure how they get the test statistic: http://i.imgur.com/doar3.jpgI think they want you to use a F-test, that tests the entire model, which is calculated by: F= ((R^2)/ K)/ ((1 - R^2)/(n-K-1)) where K is the number of independent variables (3 in this question)

Then the R square is the percentage of the model that is explained, so the explained variation in Y / total variation in Y

R^2 = SSR / (SSE+SSR)
SSR= sum of squared regression, SSE=sum of squared errors

Thanks for any help or insight!
Many thanks
 
Physics news on Phys.org
I think they are doing a contingency table with a chi-square statistic.
 
Right, but I'm still at a loss! :)
 
Well, how many people in each of the three categories would expect, based on the predicted percentages? And how many were actually surveyed?
 
Hey, thanks for helping!

It's a sample of 120 people, so n=120
So in this sample : 60 workers, 30 students, 30 retirees
 
ozill said:
Hey, thanks for helping!

It's a sample of 120 people, so n=120
So in this sample : 60 workers, 30 students, 30 retirees

That was not the question. The question was: how many would you EXPECT in each group if the predicted percentages held true?

RGV
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks

Similar threads

Replies
4
Views
2K
Replies
5
Views
2K
Replies
1
Views
3K
Replies
1
Views
3K
Replies
1
Views
2K
Replies
3
Views
1K
Replies
6
Views
5K
Replies
1
Views
3K
Back
Top