##Biostatistics - Basic Concepts## #Setting up the workspace# # go to Session - Set Working Directory - Chose Directory...- RGO5860 #Loading the data# week1<-read.csv("week1_data.csv", sep=";", header = TRUE) #This database contains data from 130 women with ovarian cancer. #There are 9 variables: id=patient id; age = age at diagnosis; preg = number of pregnancies; del = number of deliveries; misc = number of miscariages; surgery = type of surgery; stage: tumor staging; survival = patient survival in months; type = tumor type #Exploratory data analysis## attach(week1) # to view the database structure use the following command: View(week1) #Go to the week1 quiz and answer the questions 1-4. #Write commands to calculate the mean of patients age and the median of the number of pregnancies and answer the question 5. #write the command to answer the quiz #6 and #7 ##Graphics## #write the command to draw a graph to verify the relationship between the number of pregnancies and the number of deliveries and answer the quiz #8. #write a command to draw a graph to compare the age between tumor types and answer the quiz #9 #write the codes to draw graphs that allows to evaluate the distribution of frequencies of the variables age and survival and answer the quiz #10