sim_univariate_ord: Simulate a univariate ordinal model

Description Usage Arguments Value

View source: R/univariate_models.R

Description

Create simulated data for a univariate ordinal 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_univariate_ord(th_v, mod_spec, N = NA, th_x = NA, x = NA)

Arguments

th_v

The ordinal parameter vector [b,tau,beta]

mod_spec

The model specification

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, v, and v*


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