![]() ![]() If you have not already finished with this problem, one thing to start with would be to find out just how slow my brute force approach is by trying it on a sample of 500 observations, 1,000, etc. (I looked at Nick's interesting link above, but I didn't readily recognize how to use it here, which is no comment on his work. The slowness here would come from having a large number of admits within lopenr.Īnyway, I suppose there might be faster things to do. Well, I had expected this would be slow, as it involves an "all possible pairs" comparison and a looping over observations. I thought the following could work, but it didn't. I have tried forvalues and while loops without luck. Label def InstitusjonID 997005562 "Helse Møre og Romsdal HF", modifyġ) I need to generate a dummy variable identifying the concurrent admissions, as described above. ![]() Label def InstitusjonID 993467049 "Oslo universitetssykehus HF", modify Label def InstitusjonID 983971709 "Sykehuset Innlandet HF", modify Label def InstitusjonID 975324699 "Lovisenberg diakonale sykehus, Lovisenberg DPS", modify Label def InstitusjonID 961721652 "Muritunet", modify Label def InstitusjonID 894166762 "Vestre Viken HF", modify Input double lopenr long innDato float utDato_ny double hfinst ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |