sim_multivariate: Create simulated observations for a multivarate mixed...

Description Usage Arguments Value

View source: R/multivariate_models.R

Description

Create simulated observations for a multivariate mixed cumulative probit model. For x, either the number of samples (N) and a parameter vector (th_x) must be given, or the full vector (x) must be given.

Usage

1
sim_multivariate(th_y, mod_spec, N = NA, th_x = NA, x = NA)

Arguments

th_y

The parameter vector for the y-model to simulate with

mod_spec

The model specification (for the y-model)

N

The number of samples to simulate

th_x

The parameterization for x

x

The vector of independent variables

Value

A list object of simulated data containing x, Y, and Ystar


MichaelHoltonPrice/yada documentation built on Sept. 19, 2021, 11:27 p.m.