Data science enhances people’s decision making. Doctors and researchers are making critical decisions every day. Therefore, it is absolutely necessary for those people to have some basic knowledge of data science. This series aims to help people that are around medical field to enhance their data science skills. This is the third part of the […]

## Data Science for Doctors – Part 3 : Distributions Solutions

Below are the solutions to these exercises on data display. #################### # # # Exercise 1 # # # #################### n <- 100 p <- 0.3 #a dbinom(34, n, p) ## [1] 0.05788395 sum(dbinom(34:n, n, p)) ## [1] 0.2207422 pbinom(34, n, p) ## [1] 0.8371417 #b sum(dbinom(30:60, n, p)) ## [1] 0.5376603 #c qbinom(0.025,n,p) ## […]

## Data Science for Doctors – Part 2 : Descriptive Statistics Solutions

Below are the solutions to these exercises on descriptive statistics. #################### # # # Exercise 1 # # # #################### mean(data[[‘mass’]]) ## [1] 31.99258 #OR sum(data[[‘mass’]])/length(data[[‘mass’]]) ## [1] 31.99258 #################### # # # Exercise 2 # # # #################### median(data[[‘mass’]]) ## [1] 32 #OR (sort(data[[‘mass’]])[length(data[[‘mass’]])/2] + sort(data[[‘mass’]])[length(data[[‘mass’]])/2+1] )/2 ## [1] 32 # This is a […]

## Data Science for Doctors – Part 2 : Descriptive Statistics

Data science enhances people’s decision making. Doctors and researchers are making critical decisions every day. Therefore, it is absolutely necessary for those people to have some basic knowledge of data science. This series aims to help people that are around medical field to enhance their data science skills. We will work with a health related […]

## Data Science for Doctors – Part 1 : Data Display

Data science enhances people’s decision making. Doctors and researchers are making critical decisions every day. Therefore, it is absolutely necessary for those people to have some basic knowledge of data science. This series aims to help people that are around medical field to enhance their data science skills. We will work with a health related […]

## Data Science for Doctors – Part 1 : Data Display Solutions

Below are the solutions to these exercises on data display. #################### # # # Exercise 1 # # # #################### table(data[‘class’]) ## ## 0 1 ## 500 268 #################### # # # Exercise 2 # # # #################### pie(table(data[‘class.fac’])) # OR ggplot(data, aes(x = factor(1), fill = class.fac)) + geom_bar(width = 1) + coord_polar(theta = […]

## Descriptive Analytics-Part 6: Interactive dashboard ( 2/2) solutions

Below are the solutions to these exercises on interactive dashboarding. In case, you feel like you need the full script, you can find it here. ############### # # # Exercise 1 # # # ############### ui <- fluidPage(pageWithSidebar( headerPanel(“Visualization”))) ## Error in eval(expr, envir, enclos): could not find function “fluidPage” ############### # # # Exercise […]

## Descriptive Analytics-Part 6: Interactive dashboard ( 2/2)

Descriptive Analytics is the examination of data or content, usually manually performed, to answer the question “What happened?”.As this series of exercises comes to an end, the last part is going to be the development of a data product. Not everybody is able to code in R, so it is useful to be able to […]

## Descriptive Analytics-Part 6: Interactive dashboard ( 1/2)

Descriptive Analytics is the examination of data or content, usually manually performed, to answer the question “What happened?”.As this series of exercises comes to an end, the last part is going to be the development of a data product. Not everybody is able to code in R, so it is useful to be able to […]

## Descriptive Analytics-Part 6: Interactive dashboard ( 1/2) Solutions

Below are the solutions to these exercises on interactive dashboarding. In case, you feel like you need the full script, you can find it here. ############### # # # Exercise 1 # # # ############### ui <- fluidPage(pageWithSidebar( headerPanel(“Descriptive Analysis”))) ############### # # # Exercise 2 # # # ############### ui <- fluidPage(pageWithSidebar( headerPanel(“Descriptive Analysis”), […]