Learn R Programming

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

fmsb (version 0.7.0)

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

15,173

Version

0.7.0

License

GPL (>= 2)

Maintainer

Last Published

December 15th, 2019

Functions in fmsb (0.7.0)

CronbachAlpha

Calculate Cronbach's alpha coefficient.
Hadwiger

Hadwiger's model fertility and its fitting
Denny

Denny's model mortality for lx and its fitting
CaretakerRatio

Caretaker Ratio
IndexOfDissimilarity

Index of dissimilarity (ID)
IRCIPois

Calculate incidence rate with its confidence intervals by exact method
CM

Coale and McNeil's model nupitiality and its fitting
GompertzMakeham

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

Calculate a incidence rate with confidence interval
CT

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

Calculate Nagelkerke's R squared.
Jvital2013byPref

Cross sectional data of several vital statistics in Japan 2013 for each prefecture
Kappa.test

Calculate Cohen's kappa statistics for agreement
ORMH

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

Longitudinal data of several vital statistics in Japan
PrefYLL2015

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

Population Expansion Index
Jpopl

Japanese population data (unshrunken version)
Jlife

Completed lifetables in Japan.
JASM

Japanese mortality data
Jpop

Japanese population data
VIF

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

Whipple's Index
pvpORMH

Drawing p-value function plot by stratified or pooled cross tables
geary.test

Geary's test for normality about kurtosis.
percentile

Convert numeric vector into its percentile
S60MPJ

Model population of Japan in Showa 60 (1985)
RCI

Calculate risk and its confidence interval
riskdifference

Calculate risk difference and its confidence intervals
oddsratio

Calculate odds ratio and its confidence intervals
gstem

Draw the stem and leaf plot in a graphic device.
pairwise.fisher.test

Exact version of pairwise.prop.test
pvalueplot

Drawing p-value function plot by a cross table
lifetable

Lifetable functions with mutual conversions
riskratio

Calculate risk ratio and its confidence intervals
Jfert

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

Calculate semi-interquartile range
mhchart

Draw maternity history charts.
truemedian

Calculate true median for data with ties.
radarchart

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

Siler's model mortality for qx and its fitting
rateratio

Calculate incidence rate ratio and its confidence intervals
spearman.ci.sas

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

Calculate incidence rate difference and its confidence intervals
roc

Calculate Receiver Operating Characteristic (ROC) curve