You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 31, 2024. It is now read-only.
```grmpy``` relies on an ```"initialization.yml"``` file (referred to as ``ìnit_file`` below)
24
+
to perform both simulation and estimation.
25
+
For example, check out these two ``init_files`` for
26
+
[simulation and parametric estimation](https://github.com/OpenSourceEconomics/grmpy/blob/master/promotion/grmpy_tutorial_notebook/files/tutorial.grmpy.yml) as well as
27
+
a [semiparametric estimation](https://github.com/OpenSourceEconomics/grmpy/blob/master/promotion/grmpy_tutorial_notebook/files/tutorial_semipar.yml) setup.
28
+
29
+
Below you'll find some example code you can copy to jump-start your project.
30
+
31
+
> Simulation
32
+
```
33
+
import grmpy
34
+
35
+
# Specify the initilaization file you want to use, e.g.:
36
+
init_file = "ProjectFiles/simulation.yml"
37
+
38
+
data = grmpy.simulate(init_file)
39
+
```
40
+
> Estimation
41
+
42
+
```
43
+
import grmpy
44
+
45
+
# Specify the initilaization file you want to use, e.g.:
0 commit comments