# fmsb v0.6.3

0

0th

Percentile

## Functions for Medical Statistics Book with some Demographic Data

Several utility functions for the book entitled "Practices of Medical and Health Data Analysis using R" (Pearson Education Japan, 2007) with Japanese demographic data and some demographic analysis related functions.

## Functions in fmsb

 Name Description JASM Japanese mortality data WhipplesIndex Whipple's Index Denny Denny's model mortality for lx and its fitting GompertzMakeham Gompertz-Makeham's model mortality for u(x) and its fitting mhchart Draw maternity history charts. Jlife Completed lifetables in Japan. Jpop Japanese population data oddsratio Calculate odds ratio and its confidence intervals riskdifference Calculate risk difference and its confidence intervals truemedian Calculate true median for data with ties. geary.test Geary's test for normality about kurtosis. riskratio Calculate risk ratio and its confidence intervals Hadwiger Hadwiger's model fertility and its fitting IndexOfDissimilarity Index of dissimilarity (ID) NagelkerkeR2 Calculate Nagelkerke's R squared. PrefYLL2015 Years of Life Lost by several causes in Japan 2015 for each prefecture CaretakerRatio Caretaker Ratio Siler Siler's model mortality for qx and its fitting VIF Calculate variance inflation factor (VIF) from the result of lm. CronbachAlpha Calculate Cronbach's alpha coefficient. S60MPJ Model population of Japan in Showa 60 (1985) pvalueplot Drawing p-value function plot by a cross table SIQR Calculate semi-interquartile range pairwise.fisher.test Exact version of pairwise.prop.test radarchart Drawing radar chart (a.k.a. spider plot) percentile Convert numeric vector into its percentile ratedifference Calculate incidence rate difference and its confidence intervals rateratio Calculate incidence rate ratio and its confidence intervals CM Coale and McNeil's model nupitiality and its fitting CT Coale and Trussell's model marital fertility and its fitting Jpopl Japanese population data (unshrunken version) Jvital Longitudinal data of several vital statistics in Japan gstem Draw the stem and leaf plot in a graphic device. lifetable Lifetable functions with mutual conversions roc Calculate Receiver Operating Characteristic (ROC) curve spearman.ci.sas Calculate Spearman's rank correlation with its confidence intervals by SAS method Jfert Age-specific fertility rates and age-specific marital fertility rates in Japan. Kappa.test Calculate Cohen's kappa statistics for agreement Jvital2013byPref Cross sectional data of several vital statistics in Japan 2013 for each prefecture No Results!