# Thread: Algebra, two-sample t-statistic, variance

1. ## Algebra, two-sample t-statistic, variance

http://s12.postimage.org/kvtyiacuj/question.png

Thanks!

2. ## Re: Algebra, two-sample t-statistic, variance

That clearly isn't the full question. There isn't enough information as it currently stands.

This looks like a homework question though. Our homework help policy can be found here. We mainly just want to see what you have tried so far and that you have put some effort into the problem. I would also suggest checking out this thread for some guidelines on smart posting behavior that can help you get answers that are better much more quickly.

3. ## Re: Algebra, two-sample t-statistic, variance

It's a full question and it is from homework. I am not asking for a solution. I am only asking for guidance. Thanks for your suggestions and recommendations for checking out 'posting behaviour'

4. ## Re: Algebra, two-sample t-statistic, variance

I'm sorry but there has to be more background than that. I don't know what the "never and ever-had steroid groups" are. Also all we're asking is that you show us what you've attempted so far.

5. ## Re: Algebra, two-sample t-statistic, variance

The question above is part of the question and the information provided for this part is in full.
The question asks for a proof of t=b/s(b) is equal to two-sample t-statistic with pooled standard deviation
b is least square regression with numerator and denominator parts: http://www.efunda.com/math/leastsqua...y1ddevsum4.gif

The question posted above is the denominator of b and I need to show that the denominator of b is equal to n0n1/(n0+n1) where n0 and n1 are sample size.
As I said the information for the part is in full. I don't require solution to the question. I seek for guidance and hints.

6. ## Re: Algebra, two-sample t-statistic, variance

Originally Posted by Dason
I'm sorry but there has to be more background than that. I don't know what the "never and ever-had steroid groups" are. Also all we're asking is that you show us what you've attempted so far.
This information is irrelevant. Each steroid group is a sample. There are two samples in question as stated above and in the original heading of the question

7. ## Re: Algebra, two-sample t-statistic, variance

Samples of what? Are we talking about a continuous quantity with a normal distribution? Is each X_i a binomial experiment? I still think we're missing some information.

8. ## Re: Algebra, two-sample t-statistic, variance

Originally Posted by Dason
Samples of what? Are we talking about a continuous quantity with a normal distribution? Is each X_i a binomial experiment? I still think we're missing some information.
Two sample of people. The information is irrelevant. You can assume normal distribution by CLT, however.

9. ## Re: Algebra, two-sample t-statistic, variance

Let's say and are in the never-steroid group and is the ever-steroid group. Then and .

Now but

So I'm thinking there has to be more to it than given because what is given doesn't work in general.

10. ## Re: Algebra, two-sample t-statistic, variance

Hot ****. Was that so hard? Now I know that X is actually just a dummy coded indicator variable so that if a person is in the never-steroid group and if they're in the ever-steroid group . It could be flipped around but that is very important information.

So now we know that and we can break the sum apart into two pieces - one piece where all the X_i are 0 and one piece where they're all 1. Have you tried this yet?

11. ## Re: Algebra, two-sample t-statistic, variance

Originally Posted by Dason
Hot ****. Was that so hard? Now I know that X is actually just a dummy coded indicator variable so that if a person is in the never-steroid group and if they're in the ever-steroid group . It could be flipped around but that is very important information.

So now we know that and we can break the sum apart into two pieces - one piece where all the X_i are 0 and one piece where they're all 1. Have you tried this yet?
I haven't tried this but it makes sense. Why is it and not ? and how can we break the sum in two parts?

I guess I need to find a good paper on dummy variable in regression model to understand the concept.

12. ## Re: Algebra, two-sample t-statistic, variance

Originally Posted by _joey
I haven't tried this but it makes sense. Why is it and not ?
That's a good question - why don't you start by computing for this situation (instead of just taking my word for it). Working on that simpler problem will probably help build up your intuition about working with these dummy coded variables.

13. ## Re: Algebra, two-sample t-statistic, variance

Originally Posted by Dason
That's a good question - why don't you start by computing for this situation (instead of just taking my word for it). Working on that simpler problem will probably help build up your intuition about working with these dummy coded variables.
I don't know how to apply the concept of dummy variable in solving the problem or computing in ' a situation' . I need to read on this first.

14. ## Re: Algebra, two-sample t-statistic, variance

Okay, it's easy. The key part, the hint was n1/n for ever steroid to be X_i=1

15. ## Re: Algebra, two-sample t-statistic, variance

What have you tried so far? You'll probably want to use the result from part (i).