Skip to content

smarches/mdrm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multivariate density ratio model

Herein is an R package implementing the density ratio regression model for univariate and/or multivariate outcomes.

Usage

The so-called density ratio model is a flexible semi-parametric regression model which functions as a useful alternative to standard GLMs when parametric model assumptions are dubious. Information about the model, background, and technical details can be found in this article.

This implementation is mostly intended to mirror the syntax of standard R model fitting formula interface, ex. a_model = drm(log(Y)~X1+X2*X3,data=my_dataset). Likewise, most of the standard S3 methods for models (summary,plot,vcov,resid, etc.) are implemented for convenient analysis. The outcomes may be univarite or multivariate, though plotting is only specialized for univariate and bivariate outcomes.

Installation

The package can be installed with devtools::install_github or built with R CMD INSTALL or install.packages; the only possibly non-standard requirement is C++11 via CXX_STD = CXX11.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors