Learn R Programming

⚠️There's a newer version (0.7.6) of this package.Take me there.

fmsb (version 0.7.2)

Functions for Medical Statistics Book with some Demographic Data

Description

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.

Copy Link

Version

Install

install.packages('fmsb')

Monthly Downloads

14,476

Version

0.7.2

License

GPL (>= 2)

Maintainer

Minato Nakazawa

Last Published

December 13th, 2021

Functions in fmsb (0.7.2)

IRCIPois

Calculate incidence rate with its confidence intervals by exact method
CT

Coale and Trussell's model marital fertility and its fitting
Hadwiger

Hadwiger's model fertility and its fitting
CronbachAlpha

Calculate Cronbach's alpha coefficient.
H27MPJ

Tentative model population of Japan in Heisei 27 (2015)
Denny

Denny's model mortality for lx and its fitting
IRCI

Calculate a incidence rate with confidence interval
CaretakerRatio

Caretaker Ratio
CM

Coale and McNeil's model nupitiality and its fitting
GompertzMakeham

Gompertz-Makeham's model mortality for u(x) and its fitting
Kappa.test

Calculate Cohen's kappa statistics for agreement
S60MPJ

Model population of Japan in Showa 60 (1985)
NagelkerkeR2

Calculate Nagelkerke's R squared.
WhipplesIndex

Whipple's Index
IndexOfDissimilarity

Index of dissimilarity (ID)
RCI

Calculate risk and its confidence interval
pvalueplot

Drawing p-value function plot by a cross table
PrefYLL2015

Years of Life Lost by several causes in Japan 2015 for each prefecture
Jvital

Longitudinal data of several vital statistics in Japan
Jvital2013byPref

Cross sectional data of several vital statistics in Japan 2013 for each prefecture
JASM

Japanese mortality data
SIQR

Calculate semi-interquartile range
Jfert

Age-specific fertility rates and age-specific marital fertility rates in Japan.
Siler

Siler's model mortality for qx and its fitting
Jlife

Completed lifetables in Japan.
mhchart

Draw maternity history charts.
VIF

Calculate variance inflation factor (VIF) from the result of lm.
geary.test

Geary's test for normality about kurtosis.
rateratio

Calculate incidence rate ratio and its confidence intervals
pvpORMH

Drawing p-value function plot by stratified or pooled cross tables
riskdifference

Calculate risk difference and its confidence intervals
spearman.ci.sas

Calculate Spearman's rank correlation with its confidence intervals by SAS method
oddsratio

Calculate odds ratio and its confidence intervals
truemedian

Calculate true median for data with ties.
Jpop

Japanese population data
gstem

Draw the stem and leaf plot in a graphic device.
lifetable

Lifetable functions with mutual conversions
ORMH

Calculate pooled odds ratio and its confidence intervals with Mantel-Haenszel's method
percentile

Convert numeric vector into its percentile
Jpopl

Japanese population data (unshrunken version)
pairwise.fisher.test

Exact version of pairwise.prop.test
PEI

Population Expansion Index
radarchart

Drawing radar chart (a.k.a. spider plot)
ratedifference

Calculate incidence rate difference and its confidence intervals
riskratio

Calculate risk ratio and its confidence intervals
roc

Calculate Receiver Operating Characteristic (ROC) curve