Description Usage Arguments Details References See Also Examples
Returns the design matrix for a general k-phase intervention model
1 | hmmat(vecss, k)
|
vecss |
a vector of length k with each element being the number of observations in each phase |
k |
number of phases |
It returns a matrix of 2*k columns. The design can be unbalanced, i.e. each phase has different observations.
Huitema, B. E., Mckean, J. W., & Mcknight, S. (1999). Autocorrelation effects on least- squares intervention analysis of short time series. Educational and Psychological Measurement, 59 (5), 767-786.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.