Get Instant Help From 5000+ Experts For
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing:Proofread your work by experts and improve grade at Lowest cost

And Improve Your Grades
myassignmenthelp.com
loader
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!
Free Quote
wave
Analyzing Hemoglobin Change during Pregnancy using R Programming Language

Recreating Data Frame and Variables from Lab Assignments

Assignment Read the CSV file csvinto R. Name your data frame hgb and re-create the variable change that you created in Lab Assignment 1 and the variable group_factor that you created in Lab Assignment 2. At this stage, hgb should contain 15 variables. [Note: No written response is required for this question; include the R code that performs the data management below.] [3] We are going to analyze data from the subset of individuals who consumed tap water only or bottled/filtered water only. Re-create the data subset (named hgb12) that contains data from groups 1 and 2 only (tap water only, bottled/filtered water only). How many observations are in this new data frame? InLab Assignment 2, we saw that there were certain baseline and demographic characteristics that appeared to differ between these two groups. You will formally compare some of these demographic/baseline characteristics in Question 6. In this question, you will address the study’s main comparison of interest:  comparing mean hemoglobin change during pregnancy in women who drank tap water only vs. women who drank bottled/filtered water only. [9] Determine if pregnant women who drink only tap water and pregnant women who drink only bottled water are significantly different, on average, with respect to the primary outcome, hemoglobin change over the course of pregnancy. State the null and alternative hypotheses of this test. Clearly state which -test should be used in this case and why (i.e., support your choice of -test with the results of the -test for equality of variances or the rule of thumb). Use R to conduct the appropriate-test. In your written response, use your R output to report the -test statistic, degrees

support
close