Description Usage Arguments Details Value Author(s)
Checking a data matrix of households for the possible/impossible status under a predefined set of structural zeros.
| 1 | checkconstraints_HHhead_at_group_level(data, neededpossiblehh, hh_size, parallel)
 | 
| data  | A household data matrix generated by calling  | 
| neededpossiblehh  | The number of possible households needed before checking is stopped. | 
| hh_size  | The household size for the households in  | 
| parallel | Logical indicator for running the function in parallel mode. | 
Given an input household data matrix, these functions will check the possible/impossible status of each household and also output the desired number of possible and impossible households separately. checkconstraints_HHhead_at_group_level checks contraints when the household head is moved to the household level. For the list of structural zeros currently included, see the documentation for checkconstraints.
A list containing information on checking result.
| outcome  | An indicator vector for the possible/impossible household status under constraints. | 
| Households  | A data matrix for impossible households. | 
| Index  | A vector for the original indexes of households when possible households are found. Generally not to be used. | 
| synHouseholds  | A data matrix for possible households. | 
| possible  | The actual number of possible households returned. | 
Quanli Wang, Olanrewaju Akande
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.