Learn R Programming

hbmem (version 0.3-3)

sampleNorm2: Function sampleNorm2

Description

Function for sampling normal distribution with grand means built into participant effects (i.e., participant effects not zero-centered). This is useful for sampling DPSD or UVSD models with no item effects and without hierarchical pooling (neither of which should be done!).

Usage

sampleNorm2(sample, y, cond, subj, item, lag, N, I, J, R,
ncond, nsub, nitem, s2mu, s2a, s2b, meta, metb, sigma2, sampLag = 1, Hier = 1)

Arguments

sample

~~Describe sample here~~

y

~~Describe y here~~

cond

~~Describe cond here~~

subj

~~Describe subj here~~

item

~~Describe item here~~

lag

~~Describe lag here~~

N

~~Describe N here~~

I

~~Describe I here~~

J

~~Describe J here~~

R

~~Describe R here~~

ncond

~~Describe ncond here~~

nsub

~~Describe nsub here~~

nitem

~~Describe nitem here~~

s2mu

~~Describe s2mu here~~

s2a

~~Describe s2a here~~

s2b

~~Describe s2b here~~

meta

~~Describe meta here~~

metb

~~Describe metb here~~

sigma2

~~Describe sigma2 here~~

sampLag

~~Describe sampLag here~~

Hier

~~Describe Hier here~~