# Distribution Comparison Through Density Ratio Estimation

## Documentation for package ‘densityratio’ version 0.2.2

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

colon | colon
create_bivariate_plot | Bivariate plot
create_univariate_plot | Univariate plot
denominator_data | denominator_data
denominator_small | denominator_small
distance | Create a Gram matrix with squared Euclidean distances between observations in the input matrix 'X' and the input matrix 'Y'
dr.histogram | A histogram of density ratio estimates
insurance | insurance
kernel_gaussian | Create gaussian kernel gram matrix from distance matrix
kidiq | kidiq
kliep | Kullback-Leibler importance estimation procedure
kmm | Kernel mean matching approach to density ratio estimation
lhss | Least-squares heterodistributional subspace search
naive | Naive density ratio estimation
numerator_data | numerator_data
numerator_small | numerator_small
permute | Single permutation
permute.kliep | Single permutation
permute.kmm | Single permutation
permute.lhss | Single permutation
permute.naivedensityratio | Single permutation
permute.spectral | Single permutation
permute.ulsif | Single permutation
plot.kliep | A histogram of density ratio estimates
plot.kmm | A histogram of density ratio estimates
plot.lhss | A histogram of density ratio estimates
plot.naivedensityratio | A histogram of density ratio estimates
plot.spectral | A histogram of density ratio estimates
plot.ulsif | A histogram of density ratio estimates
plot_bivariate | Densityratio in two-dimensional plot
plot_univariate | Scatter plot of density ratios and individual variables
predict.kliep | Obtain predicted density ratio values from a 'kliep' object
predict.kmm | Obtain predicted density ratio values from a 'kmm' object
predict.lhss | Obtain predicted density ratio values from a 'lhss' object
predict.naivedensityratio | Obtain predicted density ratio values from a 'naivedensityratio' object
predict.spectral | Obtain predicted density ratio values from a 'spectral' object
predict.ulsif | Obtain predicted density ratio values from a 'ulsif' object
print.kliep | Print a 'kliep' object
print.kmm | Print a 'kmm' object
print.lhss | Print a 'lhss' object
print.naivedensityratio | Print a 'naivedensityratio' object
print.spectral | Print a 'spectral' object
print.summary.kliep | Print a 'summary.kliep' object
print.summary.kmm | Print a 'summary.kmm' object
print.summary.lhss | Print a 'summary.lhss' object
print.summary.naivedensityratio | Print a 'summary.naivedensityratio' object
print.summary.spectral | Print a 'summary.spectral' object
print.summary.ulsif | Print a 'summary.ulsif' object
print.ulsif | Print a 'ulsif' object
spectral | Spectral series based density ratio estimation
summary.kliep | Extract summary from 'kliep' object, including two-sample significance test for homogeneity of the numerator and denominator samples
summary.kmm | Extract summary from 'kmm' object, including two-sample significance test for homogeneity of the numerator and denominator samples
summary.lhss | Extract summary from 'lhss' object, including two-sample significance test for homogeneity of the numerator and denominator samples
summary.naivedensityratio | Extract summary from 'naivedensityraito' object, including two-sample significance test for homogeneity of the numerator and denominator samples
summary.spectral | Extract summary from 'spectral' object, including two-sample significance test for homogeneity of the numerator and denominator samples
summary.ulsif | Extract summary from 'ulsif' object, including two-sample significance test for homogeneity of the numerator and denominator samples
ulsif | Unconstrained least-squares importance fitting