public class PopulationUnitWithUnequalInclusionProbability extends PopulationUnit
| Constructor and Description |
|---|
PopulationUnitWithUnequalInclusionProbability(Matrix obs,
double inclusionProbability)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getInclusionProbability()
This method returns the sampling probability of this population unit.
|
getDatapublic PopulationUnitWithUnequalInclusionProbability(Matrix obs, double inclusionProbability)
obs - the response that was observed in the unit.inclusionProbability - the probability that this unit is part of the sample.