Please help me to run the program

i write a dynare programe about real estate DSGE model ,but always cannot run suceccfully.may someone help me to found what wrong in the programe?thank you very much!
phd.mod (1.44 KB)

There is a semicolon missing in line 8, don’t use squared brackets, sigma is not defined etc. Just follow the error messages. On how to read them, see the manual of the unstable version.