+ Reply to Thread
Results 1 to 6 of 6

Thread: Whether to use z test or t test

  1. #1
    Points: 37, Level: 1
    Level completed: 74%, Points required for next Level: 13

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Whether to use z test or t test




    hi team,

    I got the following question given below. According to me this should be solved using z test as the sample size is more than 30. But they are using t test. What is the correct method z test or t test? Please advice

    A social worker wants to know whether the mean annual salary of her clients
    matches the mean annual salary for all city residents, which is $28,000, or whether
    it is less. She obtains a random sample of her clients salaries of size 36. The
    mean of the sample is $27,500 and the standard deviation is $1,200. Perform a
    hypothesis test at the 5% level of significance

    Thanks
    Simi

  2. #2
    Omega Contributor
    Points: 38,432, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    7,006
    Thanks
    398
    Thanked 1,186 Times in 1,147 Posts

    Re: Whether to use z test or t test

    Funny enough, over the years I have wondered what the general rule was as well. I imagine it is more of a discipline thing. Though, I think there may be a pseudo-sample size rule. The t-distribution has slightly longer tails if I remember right, but with increasing sample size will converge toward the standard normal.


    I would be interested to see if anyone else has some input.
    Stop cowardice, ban guns!

  3. #3
    Points: 20,006, Level: 89
    Level completed: 32%, Points required for next Level: 344

    Posts
    568
    Thanks
    50
    Thanked 20 Times in 19 Posts

    Re: Whether to use z test or t test

    It's a t-test. You don't have the population standard deviation.

  4. #4
    Devorador de queso
    Points: 95,995, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,938
    Thanks
    307
    Thanked 2,630 Times in 2,246 Posts

    Re: Whether to use z test or t test

    I feel like these rules are just holdovers from the old days when it was much more difficult to do something like a t-test than it is now. Can you do a z-test instead of a t-test when your sample size is large enough? It doesn't really make a difference so some people go and do that. It's just seems silly to me though since we actually can do the t-test and there is no real reason to opt for z instead of t in a situation like this.

    With all that said most likely the assumptions for either test aren't fully 100% met so they're both just approximations to the truth anyways.
    I don't have emotions and sometimes that makes me very sad.

  5. The Following User Says Thank You to Dason For This Useful Post:

    hlsmith (08-31-2017)

  6. #5
    Omega Contributor
    Points: 38,432, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    7,006
    Thanks
    398
    Thanked 1,186 Times in 1,147 Posts

    Re: Whether to use z test or t test

    Dason, I totally agree with you. I also thought this may be a hangover from previous approaches. I just called it a discipline thing because I know someone not in an analytic field that runs a single test on occasion looking for non-representativeness of a sample and they use a Ztest. I feel like the supreme court or some governing body said in their field, hey this is how you can do it.


    Though, I have always wondered why. That is the reason I am intrigue by this question. Whether there is a sample size (general) rule or theory behind it. Or is one test more forgiving to normality assumptions, etc..
    Stop cowardice, ban guns!

  7. #6
    Points: 37, Level: 1
    Level completed: 74%, Points required for next Level: 13

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Whether to use z test or t test


    Thankyou all for the reply. I am new to statistics. I read in one book which says, if population standard deviation is unknown and the sample size is less than 30, then we go for t test and in other case we go for z test. But when i was trying to solve some problems which i saw online, i saw this is not the case. So i was looking for some guidance.

+ Reply to Thread

           




Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats