Two different sets of data which hypothesis tests to use?

  • Context: Undergrad 
  • Thread starter Thread starter FishBulb
  • Start date Start date
  • Tags Tags
    Data Sets
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 9K views
FishBulb
Messages
1
Reaction score
0
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.
 
Physics news on Phys.org
FishBulb said:
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.

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.