search for: microsimulation

Displaying 4 results from an estimated 4 matches for "microsimulation".

2011 Dec 13
2
Generating input population for microsimulation
Hi all, I've been struggling with some code and was wondering if you all could help. I am trying to generate a theoretical population of P people who are housed within X different units. Each unit follows the same structure- 10 people per unit, 8 of whom are junior and two of whom are senior. I'd like to create a unit ID and a unique identifier for each person (person ID, PID) in the
2011 Dec 01
1
efficient ways to dynamically grow a dataframe
Hi, I'm trying to write a small microsimulation in R: that is, I have a dataframe with info on N individuals for the base-year and I have to grow it dynamically for T periods: df = data.frame( id = 1:N, x =.... ) The most straightforward way to solve the problem that came to my mind is to create for every period a new dataframe: for(t in 1:...
2018 Mar 26
2
Using R and the Tidyverse for an economic model
I've been translating an economic model from Python into R, and I thought members of the list would like to see a presentation I've written about it. I've blogged this at http://www.j-paine.org/blog/2018/03/r-taxben-a-microsimulation-economic-model-in-r.html , and the presentation itself is a slideshow at http://www.j-paine.org/rtaxben/R/reveal/rtaxben.html . The slideshow is written as one side of a conversation which reveals R and the Tidyverse a feature at a time to a colleague not familiar with R. Those who _are_ familar wi...
2018 Mar 27
0
Using R and the Tidyverse for an economic model
...Mar 2018, Jocelyn Ireson-Paine via R-help wrote: > I've been translating an economic model from Python into R, and I thought > members of the list would like to see a presentation I've written about it. > I've blogged this at > http://www.j-paine.org/blog/2018/03/r-taxben-a-microsimulation-economic-model-in-r.html > , and the presentation itself is a slideshow at > http://www.j-paine.org/rtaxben/R/reveal/rtaxben.html . The slideshow is > written as one side of a conversation which reveals R and the Tidyverse a > feature at a time to a colleague not familiar with R. Those...