Closed Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 27

Thread: Hypothesis Testing

  1. #1
    Points: 4,293, Level: 41
    Level completed: 72%, Points required for next Level: 57

    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hypothesis Testing




    Need to know the test that will be performed on the following question:

    The data comprises hours devoted to patient care per week for practitioners in conventional and alternative medical practices.

    Question:
    Can we infer that the mean amount of time devoted to patient care per week by doctors using conventional methods exceeds that of doctors using alternative methods? Test at the 10% level of significance.

    What test will be performed:
    Hypothesis Test for m (s known)--Two-sided Z-Test
    Hypothesis Test for m (s known)--One-sided Z-Test
    Hypothesis Test for m (s unknown)--Two-sided t-Test
    Hypothesis Test for m (s unknown)--One-sided t-Test
    Hypothesis Test for p--One-sided Z-Test

  2. #2
    TS Contributor
    Points: 17,636, Level: 84
    Level completed: 58%, Points required for next Level: 214
    JohnM's Avatar
    Posts
    1,948
    Thanks
    0
    Thanked 6 Times in 5 Posts
    In the problem are you given s (std dev) and n (sample size)? Can't answer your question unless I know this.

  3. #3
    Points: 4,293, Level: 41
    Level completed: 72%, Points required for next Level: 57

    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here is all the data that is given:

    Alternative
    (hours per week)

    54
    60
    49
    45
    53
    44
    48
    49
    51
    54
    51
    53
    53
    51
    54
    39
    52
    48
    51
    52
    52
    51
    25
    52
    47
    45



    Conventional
    (hours per week)

    50
    52
    52
    53
    52
    58
    53
    58
    51
    50
    55
    54
    52
    57
    54
    57
    56
    53
    50
    49
    52
    47
    49
    48
    53
    84

    In previous parts of the question it was asked to calculate the SD, mean, variance of the above data using excel, and all that information is already with me.
    And this itself is the population and not the sample.

  4. #4
    TS Contributor
    Points: 17,636, Level: 84
    Level completed: 58%, Points required for next Level: 214
    JohnM's Avatar
    Posts
    1,948
    Thanks
    0
    Thanked 6 Times in 5 Posts
    There's no way that's the population - if so, there would be no point in running a statistical test. Count the sample size - if it's less than 30 then it's:

    Hypothesis Test for m (s unknown)--One-sided t-Test

    if it's >= 30 then:

    Hypothesis Test for m (s unknown)--One-sided Z-Test

    s is unknown because you needed to estimate it from the data.

  5. #5
    Points: 4,293, Level: 41
    Level completed: 72%, Points required for next Level: 57

    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The question does not specify if its population or a sample only that:

    "The data comprises hours devoted to patient care per week for practitioners in conventional and alternative medical practices."

    And each table includes 26 units of data.

    When you say: Count the sample size - if it's less than 30 then it's: are you referring to the total no. or the data in an individual table.

  6. #6
    TS Contributor
    Points: 17,636, Level: 84
    Level completed: 58%, Points required for next Level: 214
    JohnM's Avatar
    Posts
    1,948
    Thanks
    0
    Thanked 6 Times in 5 Posts
    I think it's safe to assume that it's a sample - if it were the entire population, then it would be pointless to do a statistical test (the purpose of a statistical test is to use sample data to draw an inference about the population - if you have the entire population, there's no inference to draw - you have all the info you need.)

    Count n in an individual table. Since it's n=26 compared to n=26, use a t-test.

  7. #7
    Points: 4,293, Level: 41
    Level completed: 72%, Points required for next Level: 57

    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here is the result obtained (the attachment contains the .xls file):

    Alternative, Conventional
    Mean 49.34615385 53.80769231
    Variance 41.43538462 46.80153846
    Observations 26 26
    Hypothesized Mean Difference 0
    df 50
    t Stat -2.421843846
    P(T<=t) one-tail 0.009555236
    t Critical one-tail 1.298712959
    P(T<=t) two-tail 0.019110472
    t Critical two-tail 1.675905423

    What will be the conclusion. The question stated: Can we infer that the mean amount of time devoted to patient care per week by doctors using conventional methods exceeds that of doctors using alternative methods?
    Attached Files

  8. #8
    TS Contributor
    Points: 17,636, Level: 84
    Level completed: 58%, Points required for next Level: 214
    JohnM's Avatar
    Posts
    1,948
    Thanks
    0
    Thanked 6 Times in 5 Posts
    OK, well - what do you think? Sometimes it's better if we let students answer their own questions...

  9. #9
    Points: 4,293, Level: 41
    Level completed: 72%, Points required for next Level: 57

    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well have not been through the theoretical concepts as yet. Have had to do this on excel so will take time till i can determine the conclusion.

  10. #10
    Points: 4,672, Level: 43
    Level completed: 61%, Points required for next Level: 78

    Location
    California, USA
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hope yous don't mind if I but in.

    The difference between population and sample is rather interesting...

    I guess if you are not interested in future groups (note, I did not say sample here) then you could consider many samples as populations. But it makes sense what John is saying: if you consider the groups "populations' then you have all the information about your groups. For example: the entire "population" of the earth, say you compare the heights of men and women; if you consider this a population then you can't talk about whether the difference in mean is stat diff but if you consider that the population of the earth is increasing then you could consider the current population as a sample and then you could talk about whether there is a stat difference.

    John, am I on tera firma here?

    Lark

  11. #11
    TS Contributor
    Points: 4,575, Level: 43
    Level completed: 13%, Points required for next Level: 175

    Location
    Nashville, TN
    Posts
    177
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It is also interesting to note: if the population is normally distributed, and the sd is known, then a z-test is appropriate regardless of the sample size. This is true because, the sample mean xbar will be exactly N(mu, (sigma^2)/n).

    ~Matt

  12. #12
    TS Contributor
    Points: 17,636, Level: 84
    Level completed: 58%, Points required for next Level: 214
    JohnM's Avatar
    Posts
    1,948
    Thanks
    0
    Thanked 6 Times in 5 Posts
    Yep. But I've never seen a situation where the population standard deviation is known.....

  13. #13
    Points: 4,257, Level: 41
    Level completed: 54%, Points required for next Level: 93

    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have a question

    Teaching method A produces a mean score of 75 on a standard test. Teaching method B has been introduced, and the first sample of 19 students achieved a mean score of 79 with a standard deviation of 8. At 5% level of significance, test the claim that method B is better.

    H0 : Mb <= Ma
    H1 : Mb > Ma

    I completely forgot how to do this type. I have a feeling if i see it done, I'll remember. Please help me!

  14. #14
    TS Contributor
    Points: 17,636, Level: 84
    Level completed: 58%, Points required for next Level: 214
    JohnM's Avatar
    Posts
    1,948
    Thanks
    0
    Thanked 6 Times in 5 Posts
    Check out our Examples forum - we have examples like your question:

    http://www.talkstats.com/showthread.php?t=141

  15. #15
    Points: 4,257, Level: 41
    Level completed: 54%, Points required for next Level: 93

    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    would they ALL be done like that?

    EDIT : Is there a way I could contact you on AIM or MSN in case i need future help?

Closed Thread
Page 1 of 2 1 2 LastLast

           




Similar Threads

  1. hypothesis testing
    By WeeG in forum Statistics
    Replies: 1
    Last Post: 06-16-2010, 11:04 AM
  2. Hypothesis Testing
    By bbrown79 in forum Statistics
    Replies: 0
    Last Post: 12-02-2009, 05:12 PM
  3. hypothesis testing
    By kfrizz in forum Statistics
    Replies: 1
    Last Post: 04-19-2007, 11:29 AM
  4. hypothesis testing PLEASE HELP
    By Kathaleenm in forum Statistics
    Replies: 2
    Last Post: 02-07-2007, 05:33 PM
  5. hypothesis testing
    By FB99 in forum Statistics
    Replies: 1
    Last Post: 01-28-2007, 11:24 AM

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