Learn R Programming

simrel (version 2.1.0)

Simulation of Multivariate Linear Model Data

Description

Researchers have been using simulated data from a multivariate linear model to compare and evaluate different methods, ideas and models. Additionally, teachers and educators have been using a simulation tool to demonstrate and teach various statistical and machine learning concepts. This package helps users to simulate linear model data with a wide range of properties by tuning few parameters such as relevant latent components. In addition, a shiny app as an 'RStudio' gadget gives users a simple interface for using the simulation function. See more on: Sb, S., Almy, T., Helland, I.S. (2015) and Rimal, R., Almy, T., Sb, S. (2018) .

Copy Link

Version

Install

install.packages('simrel')

Monthly Downloads

136

Version

2.1.0

License

GPL-3

Maintainer

Raju Rimal

Last Published

September 17th, 2021

Functions in simrel (2.1.0)

bisimrel

Simulation of Multivariate Linear Model data with response
cov_zw

Covariance between Z and W
cov_xy

Covariance between X and Y
plot_cov

Plotting Covariance Matrix
%>%

Pipe operator
plot_beta

Plotting Functions
cov_plot_data

Prepare data for Plotting Covariance Matrix
multisimrel

Simulation of Multivariate Linear Model Data
parse_parm

Some helper function for simulation
mbrdsim

A function to set up a design for a given set of factors with their specific levels using the MBR-design method.
plot_covariance

Plot Covariance between predictor (components) and response (components)
unisimrel

Function for data simulation
tidy_sigma

Tidy covariance matrix
msim

Simulation of Multivariate Linear Model Data
tidy_lambda

Extract Eigenvalues of predictors
tidy_beta

Tidy Functions to make plotting easy
plot_simrel

A wrapper function for a simrel object
simrel

Simulation of Multivariate Linear Model Data
prepare_design

Prepare design for experiment from a list of simulation parameter
simrelplot

Simulation Plot: The true beta, relevant component and eigen structure
expect_subset

Extra test functions
ggsimrelplot

Simulation Plot with ggplot: The true beta, relevant component and eigen structure
cov_mat

Extract various sigma matrices
AppSimrel

Simulation of Multivariate Linear Model Data
mbrd

Function to create MBR-design.
cov_zy

Covariance between Z and Y