Childs Height Prediction Application Deck

Mayank Pundir
Sun Mar 22 18:22:15 2015

Intoduction

This application is created using R Shiny package.With the help of this Application a user can Predict Childs height by entering Parents Heights and Childs Gender. The applicaton will display predicted child height in inches/Feets/Centimeters on the Prediction Panel along with an interactive graph which will generate a historam showing Childs Height with respect to Parents Height. The data used for prediction is taken from GaltonFamilies data which is available in package UsingR.For prediction I have used caret package and glm(generalized linear models) method.

Data Used for Prediction

library(UsingR)
summary(GaltonFamilies)
     family        father         mother      midparentHeight
 185    : 15   Min.   :62.0   Min.   :58.00   Min.   :64.40  
 066    : 11   1st Qu.:68.0   1st Qu.:63.00   1st Qu.:68.14  
 120    : 11   Median :69.0   Median :64.00   Median :69.25  
 130    : 11   Mean   :69.2   Mean   :64.09   Mean   :69.21  
 166    : 11   3rd Qu.:71.0   3rd Qu.:65.88   3rd Qu.:70.14  
 097    : 10   Max.   :78.5   Max.   :70.50   Max.   :75.43  
 (Other):865                                                 
    children         childNum         gender     childHeight   
 Min.   : 1.000   Min.   : 1.000   female:453   Min.   :56.00  
 1st Qu.: 4.000   1st Qu.: 2.000   male  :481   1st Qu.:64.00  
 Median : 6.000   Median : 3.000                Median :66.50  
 Mean   : 6.171   Mean   : 3.586                Mean   :66.75  
 3rd Qu.: 8.000   3rd Qu.: 5.000                3rd Qu.:69.70  
 Max.   :15.000   Max.   :15.000                Max.   :79.00  

Sample Historam showing Childs Height with respect to Parents Height

plot of chunk unnamed-chunk-2