June 2012

R script for a Markov model

Excel spreadsheet is probably the most popular medium for implementing Markov models. I learned the approach from a step-by-step guide by Damon Douglas (published through Knol, a service from Google and now discontinued). I tried to translate the guide into a script for R. Any comments or suggestions for improvement are welcome.

horizon<-10 # model horizon (years, days, whatever)
n=1000 # population size for a population matrix
sim_n<-1000 # number of simulations
n_strat<-2 # number of strategies
n_states<-3 # number of states

First experience with Drupal

I have spent a few days considering Wordpress vs. any other content management system (like Drupal) as a platform for a website. The ease of use is a very attractive feature in WordPress. However, a future scalability and security prevailed, and Drupal is my new friend. The site is spartan at this moment as 'Zen' theme is the easiest way to layout content for mobile devices without professional help. A stylish template might have helped impress the visitors but I never go to other websites. I pull all content to Google Reader via RSS anyway.


STATUS: In between the jobs and getting skills up-to-date
EXPERIENCE: Health economic models, reimbursement analysis (coding, coverage, and payment), quantitative methods
PAST EMPLOYERS: Smith & Nephew (Canada, 2006 - 2011), Pfizer Canada (2005-2006)
EDUCATION: MSc (Université de Sherbrooke, 2004)

PUBLICATIONS: http://www.ncbi.nlm.nih.gov/pubmed/?term=moshyk