RE: .17HMR vs. .22WMR
.204 ruger would be better.
For yotes I would not Suggest .17 HMR or .22 MAG!!
But if you had to get one of them. I would suggest the .17 because you will get better accuracy at longer ranges the the .22 mag.
But I wouldn't shoot at coyotes further than 100 yards with the .17hmr.
go with the .20 grain hollow points and place your shot well and it should do ok.