Consider the Lucas endowment economy with inflation, we know that consumption growth and inflation are log-normally distributed,and that consumption growth and inflation are uncorrelated through time and with each other.
How can I compute Compute the one period nominal risk free rate (1 + it,t+1)?
I have to solve this problem through matlab and tried using
lognrnd()
g_t1 = lognrnd(mu_c, sg_c1)
g_t2 = lognrnd(mu_c, sg_c2)
pi_t1 = lognrnd(mu_pi, sg_pi)
pi_t2 = lognrnd(mu_pi, sg_pi)
but I don't know how to go on without any values. How can I then assign the distribution values to a vector or matrix?