powerly v1.8.0
What's Changed
- Improve GGM creation and data generation by @mihaiconstantin in #18
Added
- Add more arguments for generating partial correlation matrices (i.e., in line with Yin and Li (2011; see reference below). The new arguments are
positive
(i.e., for the proportion of positive edges),range
(i.e., for the interval from which to sample values for the partial correlations), andconstant
(i.e., to vary the magnitude of the partial correlations). See Yin and Li (2011) for a description of the generating algorithm. - Add functionality to resample
GgmModel
data when variables withSD = 0
are detected.
Changed
- Update documentation to include the new arguments for generating a GGM.
- Update GGM data generation and estimation tests.
References
- Yin, J., and Li, H. (2011). A sparse conditional gaussian graphical model for analysis of genetical genomics data. The annals of applied statistics, 5(4), 2630.
Full Changelog: v1.7.4...v1.8.0