fmsb: 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.

Install the latest version of this package by entering the following in R:
AuthorMinato Nakazawa <>
Date of publication2017-03-20 11:02:53 UTC
MaintainerMinato Nakazawa <>
LicenseGPL (>= 2)

View on CRAN

Man pages

CM: Coale and McNeil's model nupitiality and its fitting

CronbachAlpha: Calculate Cronbach's alpha coefficient.

CT: Coale and Trussell's model marital fertility and its fitting

Denny: Denny's model mortality for lx and its fitting

geary: Geary's test for normality about kurtosis.

GompertzMakeham: Gompertz-Makeham's model mortality for u(x) and its fitting

gstem: Draw the stem and leaf plot in a graphic device.

Hadwiger: Hadwiger's model fertility and its fitting

JASM: Japanese mortality data

Jfert: Age-specific fertility rates and age-specific marital...

Jlife: Completed lifetables in Japan.

Jpop: Japanese population data

Jpopl: Japanese population data (unshrunken version)

Jvital: Longitudinal data of several vital statistics in Japan

Jvital2013byPref: Cross sectional data of several vital statistics in Japan...

Kappatest: Calculate Cohen's kappa statistics for agreement

lifetable: Lifetable functions with mutual conversions

mhchart: Draw maternity history charts.

Nagelkerke: Calculate Nagelkerke's R squared.

oddsratio: Calculate odds ratio and its confidence intervals

pairwisefisher: Exact version of pairwise.prop.test

percentile: Convert numeric vector into its percentile

pvalueplot: Drawing p-value function plot by a cross table

radarchart: Drawing radar chart (a.k.a. spider plot)

ratedifference: Calculate incidence rate difference and its confidence...

rateratio: Calculate incidence rate ratio and its confidence intervals

riskdifference: Calculate risk difference and its confidence intervals

riskratio: Calculate risk ratio and its confidence intervals

roc: Calculate Receiver Operating Characteristic (ROC) curve

S60MPJ: Model population of Japan in Showa 60 (1985)

Siler: Siler's model mortality for qx and its fitting

SIQR: Calculate semi-interquartile range Calculate Spearman's rank correlation with its confidence...

truemedian: Calculate true median for data with ties.

VIF: Calculate variance inflation factor (VIF) from the result of...


clifetable Man page
CM Man page
CronbachAlpha Man page
CT Man page
Denny Man page
dxtolx Man page
dxtoqx Man page
fitCM Man page
fitCT Man page
fitDenny Man page
fitGM Man page
fitHad Man page
fitSiler Man page
geary.test Man page
getax Man page
GompertzMakeham Man page
gstem Man page
Hadwiger Man page
hlifetable Man page
JASM Man page
Jfert Man page
Jlife Man page
Jp2010s Man page
Jpop Man page
Jpopl Man page
Jvital Man page
Jvital2013byPref Man page
Kappa.test Man page
lifetable Man page
lifetable2 Man page
lifetable3 Man page
lxtodx Man page
lxtoqx Man page
mhchart Man page
mxtoqx Man page
NagelkerkeR2 Man page
oddsratio Man page
pairwise.fisher.test Man page
percentile Man page
plot.roc Man page
print.roc Man page
pvalueplot Man page
qxtodx Man page
qxtolx Man page
qxtomx Man page
radarchart Man page
ratedifference Man page
rateratio Man page
riskdifference Man page
riskratio Man page
roc Man page
S60MPJ Man page
Siler Man page
SIQR Man page Man page
truemedian Man page
uxtoqx Man page
VIF Man page

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.