Closed cstepper closed 5 years ago
Hi,
Yes, no worries. You simply need to round the elements in $hat.
For instance if the result of Ipfp is stored in res, then simply use round(res$hat).
There are better ways to round the outputs from the Ipfp procedure, see for instance this paper: https://www.sciencedirect.com/science/article/pii/S0198971513000240?via%3Dihub
Cheers,
Johan
De : Christoph Stepper notifications@github.com Envoyé : mercredi 15 mai 2019 18:12 À : jojo-/mipfp Cc : Subscribed Objet : [jojo-/mipfp] Return integer values (#1)
Hi,
just out of curiosity:
Would it be possible to return integer values after running the IPFP while keeping the marginal sum restrictions?
In our usecase, we need to round modelled population figures, and in our result we want to have "number of persons".
Cheers, Christoph
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/jojo-/mipfp/issues/1?email_source=notifications&email_token=ABVFUNCA2KZSZZ7IDCLQXZDPVPAX7A5CNFSM4HNAYAB2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GT3NYDA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABVFUNBAQJGRBR6LJCK44QTPVPAX7ANCNFSM4HNAYABQ.
Hi Johan,
thanks for your answer, we'll have a look at that paper.
Best, Christoph
Hi,
just out of curiosity:
Would it be possible to return integer values after running the IPFP while keeping the marginal sum restrictions?
In our usecase, we need to round modelled population figures, and in our result we want to have "number of persons".
Cheers, Christoph