Question: Using R studio Exercise 4. Who uses Instagram? A recent study compared the proportions of young women and men who use Instagram. A total of

Using R studio

Using R studio Exercise 4. Who uses Instagram? A recent study comparedthe proportions of young women and men who use Instagram. A total

Exercise 4. Who uses Instagram? A recent study compared the proportions of young women and men who use Instagram. A total of 1069 young women and men were surveyed. Find a 95% confidence interval for the difference between the proportions of women and of men who use Instagram. Total Users Women 537 328 Men 532 234 a) State the hypotheses. b) The binomial test can be used for one proportion only. For this exercise use prop.test, Let |1 be the list of successess, 12 the list of totals. Call prop.test with arguments |1, 12. Exercise 5. Are young men and women equally likely to say they use Instagram? a. Set up a test of hypothesis. b. Find the p-value and state your conclusion.Inverse Transform Method (Discrete distribution) X P(X=x) 0 0.1 1 0.2 2 0.2 0.2 4 0.3 a. Use the inverse transform method to generate a random sample of size 10000 from the distribution of X. b. Construct a relative frequency table and compare the empirical with the theoretical probabilities. c. Repeat part a and b using the R sample function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!