October 24, 2018

Introduction

Here,I made an application on the Prediction of Fertility Variable in the "swiss" data using differnt values of "Agriculture" and "Education" variable.

The data set is available in the R itself.Let us take a look on it:

##              Fertility Agriculture Examination Education Catholic
## Courtelary        80.2        17.0          15        12     9.96
## Delemont          83.1        45.1           6         9    84.84
## Franches-Mnt      92.5        39.7           5         5    93.40
## Moutier           85.8        36.5          12         7    33.77
## Neuveville        76.9        43.5          17        15     5.16
## Porrentruy        76.1        35.3           9         7    90.57
##              Infant.Mortality
## Courtelary               22.2
## Delemont                 22.2
## Franches-Mnt             20.2
## Moutier                  20.3
## Neuveville               20.6
## Porrentruy               26.6

Exploratory Data Analysis

We will se a 3d graph of how Fertility depends upon Agriculture and Education

Application

  • We can predict the value of fertility using the slider provider in the app
  • The slider slides and change the value of the"Agriculture" variable
  • The second slider changes "Education"
  • The predicted value comes in the bottom of the app

Reference

  • Data Sciece Specialization coursera (John Hopkins University)

  • Brian Caffo(Instructor)