polyJumpBiv: polyJumpBiv Simulate a polynomial bivariate relationship

Description Usage Arguments Value

Description

polyJumpBiv Simulate a polynomial bivariate relationship

Usage

1
polyJumpBiv(x1, x2, npoly, coef, deg1, jumpLoc)

Arguments

x1

A vector

x2

A vector

npoly

A numeric indicating the number of polynomial terms to simulate

coef

A vector indicating the coefficient for each polynomial term

deg1

A vector indicating the degree of the first polynomial term

jumpLoc

Location of randomly chosen quantile

coef

A numeric coefficient

Value

coef[1]*x1^deg1[1]*x2^deg2[2] + ... + coef[npoly]*x1^deg1[npoly]*x2^deg2[2]


benkeser/haltmle.sim documentation built on May 12, 2019, noon