gen_one_samp_mi: Generate data from a poission random variable while still...

Description Usage Arguments

View source: R/sim_data.R

Description

Generate data from a poission random variable while still obtaining the desired xy correlation for each xy match and obtain the desired xx correlation among all x variables. The y and non-correlated x will be marginally independent.

Usage

1
gen_one_samp_mi(base, xycor, xxcor, num_cor, num_uncor)

Arguments

base

Base rate that is desired

xycor

the correlation between each correlated x and y

xxcor

the correlation between the x's

num_cor

Number of correlated X's

num_uncor

Number of uncorrelated X's


adam-s-elder/amar documentation built on Feb. 5, 2022, 7:10 a.m.