gen_pois_samp: 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

Usage

1
gen_pois_samp(ss, base, xycor, xxcor, num_cor, num_uncor, marg_indep = TRUE)

Arguments

ss

sample size.

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

marg_indep

Are the X-values independent from one another


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