0

I have a survey that was split into 2, one group had pens, another didn't have pens. I want to compare if adding pens led to a significant increase in responses.

Attached are the results. N is the responses for 1 (with pens) and 2(without pens), Ttl is the total response number.

Im using R for analysis.

Response Table

Phil
  • 7,287
  • 3
  • 36
  • 66
  • Hi, please do not post tables as images. Please add a [minimal reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example/5963610#5963610=). The statistical test you are looking for is most likely a t test. To perform a t test, we need the standard deviations and the group sizes for both groups, or even better the raw data (all observations). There is `t.test` where you input just the raw data for each group and choose a method depending on your hypotheses. You will probably want to specify the argument `alternative = "greater"`. – uke Jul 22 '22 at 22:15
  • What you want is a z test for proportions. Google it and use any of the million online stats calculators for comparing proportions. Generally, this is more a stats question IMO, not a coding question. – deschen Jul 22 '22 at 23:34

0 Answers0