Generate.NPRUM.Data: Generate data from an NPRUM model

Description Usage Arguments Examples

Description

This is useful for performing inference tasks for NPRUM

Usage

1
Generate.NPRUM.Data(Estimate, n, bw = 0.1)

Arguments

Estimate

fitted NPRUM object

n

number of agents that we want in our sample

bw

smoothing parameter to use when sampling data

Examples

1
2
3
Data.Tiny <- matrix(c(1, 2, 3, 3, 2, 1, 1, 2, 3), ncol = 3, byrow = TRUE)
Estimate <- Estimation.RUM.Nonparametric(Data.Tiny, m = 3, iter = 3)
Generate.NPRUM.Data(Estimate, 3, bw = 0.1)

StatRank documentation built on May 1, 2019, 8:22 p.m.