Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Two different sets of data which hypothesis tests to use?

  1. May 14, 2009 #1
    Hi there.

    For a statistics assignment, I have two different questions involving testing hypotheses.

    The first question concerns flu shots and whether or not patients had flu or no flu. So we have two categorical response variables(flu or no flu) and three categorical explanatory variables(no flu shot, one flu shot, two flu shots). I'm assuming use a chi squared test?

    The second question involves peak expiratory flow between two different groups of children given two different medications. It asks to provide the most appropiate graph to compare the distribution, and also to carry out the appropriate hypothesis test. For comparing two different sets of data, both with a continuous response variable and a categorical explanatory variable, which would be the best hypothesis test?

    Thanks in advance for any help.
     
  2. jcsd
  3. May 15, 2009 #2

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    That looks like an "ANOVA" (analysis of variance) problem to me.
     
  4. May 17, 2009 #3
    the first one seems to be the correct test.

    for the second, if you're comparing responses for two different medications, you should use a 2-sample z or t test, if you're comparing mean responses. if you're comparing the variability of the responses (standard deviations), then you should use ANOVA.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Two different sets of data which hypothesis tests to use?
Loading...