Description Usage Details Value Author(s)
Builds a Parametric Working Model Based on Sample Size
1 |
This functions builds a sample-size-dependent parametric working
model. Two fine-tune parameters are determined based on sample size
n: deg=3 + \lfloor n/500\rfloor and nlev=\lceil
n/250\rceil. If nlev equals one, then the model is given by the
formula
Y~I(A=0)*V*poly(U)+I(A=1)*V*poly(U)
where
poly(U) consists of deg orthogonal polynoms of degrees 1 to
deg. If nlev is larger than or equal to two, then the model is
given by the formula
Y~I(A=0)*V*(poly(U)+step(U))+I(A=1)*V*(poly(U)+step(U))
where poly(U) consists of deg orthogonal polynoms of degrees 1 to deg and step(U) consits of nlev indicator functions of subsets of [0,1] of the form \{x:x<\frac{k}{nlev}\}.
Returns a formula
describing the parametric model.
Antoine Chambaz [aut, cre]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.