Commits

stevejb committed 0b206eb

Adding a bunch of the runscripts for some of the SMM estimations

  • Participants
  • Parent commits c0f6848

Comments (0)

Files changed (108)

File data/iss_calc_moments_byIndustry.R

   influence_stack = do.call("rbind", mmmatlist)
   gmmweights = solve(influence_stack %*% t(influence_stack)/n)
 
+
   mmmatlist_ddw = list(if.mean_inv, if.var_inv, if.inv_3rd_central, if.mean_lev, if.var_lev, if.mean_opr_income, if.ser_cor, if.var_oper_income_innov, if.mean_tobins_q, if.mean_eq, if.var_eq, if.mean_cash_bal)
   
   influence_stack_ddw = do.call("rbind", mmmatlist_ddw)
   gmmweights_ddw = solve(influence_stack_ddw %*% t(influence_stack_ddw)/n)
 
+  mmmatlist_barr2 = list(if.mean_inv, if.var_inv, if.inv_3rd_central, if.mean_lev, if.var_lev, if.mean_opr_income, if.ser_cor, if.var_oper_income_innov, if.mean_tobins_q, if.mean_eq, if.var_eq, if.mean_cash_bal, if.cov_kl3_opinc3)
+  
+  influence_stack_barr2 = do.call("rbind", mmmatlist_barr2)
+  gmmweights_barr2 = solve(influence_stack_barr2 %*% t(influence_stack_barr2)/n)
+
+
 
 
   if(is.null(fname)) {
   write.csv(dwl, paste(fname, "rawdata.csv", sep=""))
   writeRawCSV(gmmweights, paste(fname, "gmmweights.csv", sep=""))
   writeRawCSV(gmmweights_ddw, paste(fname, "_ddw_gmmweights.csv", sep=""))
+  writeRawCSV(gmmweights_barr2, paste(fname, "_barr2_nosoa_gmmweights.csv", sep=""))
 
   ## write out all of the moments that make this happen
   mf2 = data.frame(mean_inv,
 
 ### make influence functions for the whole dataset
 totaldata = makeInfluenceFunctions(data.q, fname = "moments3")
+totaldata = makeInfluenceFunctions(data.q, fname = "moments_final") 
 
 
 ### lets run the moments for a couple of different groups
   print(paste("Making influence function for", industry_fname))
   makeInfluenceFunctions(mtmp, fname = industry_fname)
 }
+
+makeInfluenceFunctions(data.q, fname="moments_final")

File siman_solve/Makefile

 # Loader flags
 LDADD=-lm -lgsl -lgslcblas
 
-all:	siman_solve nm_solve nm_solve_smmddw nm_solve_smmddw_loggamma nm_solve_d11 nm_solve_lgll_d15 nm_solve_lgll_d13 nm_solve_lgll_d11 nm_solve_smmddw_loggamma_d13 nm_solve_smmddw_loggamma_d15 nm_solve_smmddw_loggamma_d11
+all:	siman_solve nm_solve nm_solve_smmddw nm_solve_smmddw_loggamma nm_solve_d11 nm_solve_lgll_d15 nm_solve_lgll_d13 nm_solve_lgll_d11 nm_solve_smmddw_loggamma_d13 nm_solve_smmddw_loggamma_d15 nm_solve_smmddw_loggamma_d11 siman_solve_highrho siman_solve_specificrho siman_solve_barr
 
 siman_solve:	siman_solve.o
 	gcc -o siman_solve siman_solve.o -L/usr/local/lib -lm -lgsl -lgslcblas
 
 siman_solve.o:	siman_solve.c
 
+
+siman_solve_highrho:	siman_solve_highrho.o
+	gcc -o siman_solve_highrho siman_solve_highrho.o -L/usr/local/lib -lm -lgsl -lgslcblas
+
+siman_solve_highrho.o:	siman_solve_highrho.c
+
+siman_solve_barr:	siman_solve_barr.o
+	gcc -o siman_solve_barr siman_solve_barr.o -L/usr/local/lib -lm -lgsl -lgslcblas
+
+siman_solve_barr.o:	siman_solve_barr.c
+
+
+siman_solve_specificrho:	siman_solve_specificrho.o
+	gcc -o siman_solve_specificrho siman_solve_specificrho.o -L/usr/local/lib -lm -lgsl -lgslcblas
+
+siman_solve_specificrho.o:	siman_solve_specificrho.c
+
+
+
+
+
 nm_solve:	nm_solve.o
 	gcc -o nm_solve nm_solve.o -L/usr/local/lib -lm -lgsl -lgslcblas
 

File siman_solve/rsarch/runscript.sh

+#!/bin/bash
+#./nm_solve --rho=0.7280 --sigma_v=0.2843 --a=0.151873 --gamma=0.003370 --s=0.0077 --lambda_1=0.161535 --lambda_2=0.004142 --delta=0.15 --epsilon_P=0.02 --theta=0.7880 --prefix=/mnt/eph0/smm_mm5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'
+
+./nm_solve --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'

File siman_solve/rsarch/runscript_FF12shops_BARR.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+./nm_solve_lgll_d15 --rho=0.5 --sigma_v=-1.257725 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ff12shops_barr --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.104859010428016,0.00494520541889343,0.000243988278979107,0.284899099288037,0.0469824512691197,0.144481524912413,0.86923679775599,0.00136627339266134,1.69000241106851,0.0091123123452546,0.000786798210175046,0.0606512332457055,0.921797878879398,0.0067749659800719' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/FF12__shopsgmmweights.csv'

File siman_solve/rsarch/runscript_FF12shops_DDW.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+./nm_solve_smmddw_loggamma_d15 --rho=0.87 --sigma_v=-1.257725 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ff12shops_ddw --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.104859010428016,0.00494520541889343,0.000243988278979107,0.284899099288037,0.0469824512691197,0.144481524912413,0.86923679775599,0.00136627339266134,1.69000241106851,0.0091123123452546,0.000786798210175046,0.0606512332457055' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/FF12__shops_ddw_gmmweights.csv'

File siman_solve/rsarch/runscript_FF12telcm_BARR.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+./nm_solve_lgll_d15 --rho=0.6 --sigma_v=-1.257725 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ff12telcm_barr --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.119092810534722,0.00594676954210437,0.00065675056798056,0.451475047131944,0.106523231032251,0.149406942222222,0.797996605280155,0.00134521259526338,2.91983779138889,0.0215880931567361,0.00300483544644659,0.0547023238805556,0.955450523466985,-0.0136583411142835' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/FF12__telcmgmmweights.csv'

File siman_solve/rsarch/runscript_FF12telcm_DDW.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+./nm_solve_smmddw_loggamma_d15 --rho=0.797996605280155 --sigma_v=-1.257725 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ff12telcm_ddw --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.119092810534722,0.00594676954210437,0.00065675056798056,0.451475047131944,0.106523231032251,0.149406942222222,0.797996605280155,0.00134521259526338,2.91983779138889,0.0215880931567361,0.00300483544644659,0.0547023238805556' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/FF12__telcm_ddw_gmmweights.csv'

File siman_solve/rsarch/runscript_barr_loggamma_transport.sh

+#!/bin/bash
+
+./nm_solve_lgll_d15 --rho=0.38 --sigma_v=-2.302585 --a=0.08 --gamma=-5.692842 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_transport_loggamma --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.103730629797826,0.00628072873726406,0.000361166560356407,0.341303088918478,0.0516248708598414,0.152083260634058,0.828257780654921,0.00147744780932678,1.56907982492754,0.0135167066079511,0.00240853074771662,0.0688966616403261,0.915791142188016,0.00103975853255081' --gmm_weight_matrix='/home/ec2-user/data/transport_mm1gmmweights.csv'

File siman_solve/rsarch/runscript_barr_retail_loggamma.sh

+#!/bin/bash
+
+./nm_solve_lgll_d13 --rho=0.38  --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_barr_retail_loggamma --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.107124722575284,0.00535355708017895,0.000216839955448869,0.284541999948171,0.0521805099884974,0.14980491692855,0.875747347175603,0.00150237313896556,1.56883518378941,0.00901287757819546,0.000801128518339913,0.065583365697604,0.922610463303042,0.00778109541367473' --gmm_weight_matrix='/home/ec2-user/data/retail_mm1gmmweights.csv'
+

File siman_solve/rsarch/runscript_baseline.sh

+#!/bin/bash
+
+./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_manuf --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --gmm_weight_matrix='/home/ec2-user/data/<SOMETHING>.csv'

File siman_solve/rsarch/runscript_ddw_dataq.sh

+#!/bin/bash
+
+## this reflects some newer moments
+
+export OMP_NUM_THREADS=16
+export PATH=$PATH:/home/stevejb/myhg/is-solver
+
+./nm_solve_smmddw --rho=0.76 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
+
+
+# result
+# Solved:
+#   rho=0.782336, sigma_v=0.018632, a=0.100353, gamma=0.001465, s=0.027273, lambda_1=-2.382303, lambda_2=-5.776427, theta=0.817266

File siman_solve/rsarch/runscript_ddw_dataq_fakeq.sh

+#!/bin/bash
+
+## this reflects some newer moments
+
+export OMP_NUM_THREADS=16
+export PATH=$PATH:/home/stevejb/myhg/is-solver
+
+./nm_solve_smmddw --rho=0.76 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,4.6,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
+
+
+# result
+# Solved:
+#   rho=0.782336, sigma_v=0.018632, a=0.100353, gamma=0.001465, s=0.027273, lambda_1=-2.382303, lambda_2=-5.776427, theta=0.817266

File siman_solve/rsarch/runscript_ddw_dataq_log_sigma_v.sh

+#!/bin/bash
+
+## this reflects some newer moments
+
+export OMP_NUM_THREADS=23
+export PATH=$PATH:/home/stevejb/myhg/is-solver
+
+./nm_solve_smmddw --rho=0.76 --sigma_v=-1.272975 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
+
+
+## unsolved

File siman_solve/rsarch/runscript_ddw_dataq_log_sigma_v_v2.sh

+#!/bin/bash
+
+## this reflects some newer moments
+
+export OMP_NUM_THREADS=23
+export PATH=$PATH:/home/stevejb/myhg/is-solver
+
+./nm_solve_smmddw --rho=0.88 --sigma_v=-1.3 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
+
+
+## unsolved

File siman_solve/rsarch/runscript_ddw_dataq_lslg.sh

+#!/bin/bash
+
+## this reflects some newer moments
+
+export OMP_NUM_THREADS=16
+export PATH=$PATH:/home/stevejb/myhg/is-solver
+
+./nm_solve_smmddw_loggamma --rho=0.76 --sigma_v=-1.272966 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_lgls --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
+
+
+# Found energy: 5.626150
+# converged to minimum at
+#    78  3.682e-01 -1.348e+00  2.046e-01 -5.331e+00  1.061e-01 -2.392e+00 -5.867e+00    8.355e-01 f() =   5.623 size = 0.009
+# Solved:
+#   rho=0.368239, sigma_v=-1.348416, a=0.204619, gamma=-5.331233, s=0.106140, lambda_1=-2.392476, lambda_2=-5.866700, theta=0.835461
+
+

File siman_solve/rsarch/runscript_ddw_dataq_lslg_s2.sh

+#!/bin/bash
+
+## this reflects some newer moments
+
+export OMP_NUM_THREADS=16
+export PATH=$PATH:/home/stevejb/myhg/is-solver
+
+./nm_solve_smmddw_loggamma --rho=0.8 --sigma_v=-1.2 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7580 --prefix=/mnt/eph0/smm_ddw_lgls --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
+
+
+# ## currently running on ec2-50-16-23-167.compute-1.amazonaws.com
+# Found energy: 2.605730
+# converged to minimum at
+#    76  3.194e-01 -1.580e+00  5.718e-01 -5.869e+00  3.680e-01 -2.423e+00 -5.731e+00    8.085e-01 f() =   2.601 size = 0.006
+# Solved:
+#   rho=0.319449, sigma_v=-1.580158, a=0.571800, gamma=-5.868508, s=0.367963, lambda_1=-2.422914, lambda_2=-5.731017, theta=0.808493

File siman_solve/rsarch/runscript_ddw_dataq_lslg_s3.sh

+#!/bin/bash
+
+## this reflects some newer moments
+
+export OMP_NUM_THREADS=16
+export PATH=$PATH:/home/stevejb/myhg/is-solver
+
+./nm_solve_smmddw_loggamma --rho=0.8 --sigma_v=-1.609438 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7580 --prefix=/mnt/eph0/smm_ddw_lgls3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
+
+
+## currently running on ec2-50-16-23-167.compute-1.amazonaws.com
+# Found energy: 6.266240
+# converged to minimum at
+#    46  6.604e-01 -1.571e+00  1.455e-01 -5.699e+00  1.810e-02 -2.346e+00 -5.807e+00    8.493e-01 f() =   6.226 size = 0.006
+# Solved:
+#   rho=0.660399, sigma_v=-1.571222, a=0.145515, gamma=-5.698864, s=0.018096, lambda_1=-2.345818, lambda_2=-5.806726, theta=0.849298

File siman_solve/rsarch/runscript_ddw_dataq_start2.sh

+#!/bin/bash
+
+## this reflects some newer moments
+
+export OMP_NUM_THREADS=16
+export PATH=$PATH:/home/stevejb/myhg/is-solver
+
+./nm_solve_smmddw --rho=0.76 --sigma_v=0.25 --a=0.08 --gamma=0.1 --s=0.05 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv

File siman_solve/rsarch/runscript_ip12_lgll_DDW_m3.sh

+#!/bin/bash
+
+## delta = 0.13 for this one
+
+./nm_solve_smmddw_loggamma_d13 --rho=0.8 --sigma_v=-1.203973 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll_DDW_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'
+

File siman_solve/rsarch/runscript_ip13_DDW_m3.sh

+#!/bin/bash
+
+## delta = 0.13 for this one
+
+./nm_solve_smmddw_loggamma_d15 --rho=0.8 --sigma_v=-1.203973 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll_DDW_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'
+

File siman_solve/rsarch/runscript_ip5_lgll.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+./nm_solve_lgll_d15 --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip5_loglambda.sh

+#!/bin/bash
+#./nm_solve --rho=0.7280 --sigma_v=0.2843 --a=0.151873 --gamma=0.003370 --s=0.0077 --lambda_1=0.161535 --lambda_2=0.004142 --delta=0.15 --epsilon_P=0.02 --theta=0.7880 --prefix=/mnt/eph0/smm_mm5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'
+
+./nm_solve_d15 --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5_d3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip6.sh

+#!/bin/bash
+
+./nm_solve --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'

File siman_solve/rsarch/runscript_ip6_ddw.sh

+#!/bin/bash
+
+
+export OMP_NUM_THREADS=16
+export PATH=$PATH:/home/stevejb/myhg/is-solver
+
+./nm_solve_smmddw --rho=0.76 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
+
+# Found energy: 1.481960
+# converged to minimum at
+#    73  7.698e-01  2.059e-03  9.716e-02 -1.473e-02  4.563e-02 -2.308e+00 -5.791e+00    7.859e-01 f() =   1.464 size = 0.009
+# Solved:
+#   rho=0.769757, sigma_v=0.002059, a=0.097165, gamma=-0.014728, s=0.045625, lambda_1=-2.307937, lambda_2=-5.790979, theta=0.785886

File siman_solve/rsarch/runscript_ip6_lgll.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+./nm_solve_lgll_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip6_lgll_DDW.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+./nm_solve_lgll_d15 --rho=0.75 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip6_lgll_DDW_m3.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+./nm_solve_smmddw_loggamma_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'
+
+

File siman_solve/rsarch/runscript_ip6_lgll_m3.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+./nm_solve_lgll_d15 --rho=0.6 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413,0.881474433622887,0.00626605862564496' --gmm_weight_matrix='/home/stevejb/myhg/is-solver/data/ddwweights/moments3gmmweights.csv'

File siman_solve/rsarch/runscript_ip6_lgll_redo.sh

+#!/bin/bash
+
+## this has log gamma, log sigma_v, and log lambdas
+
+export OMP_NUM_THREADS=16
+
+## this is just a redo under the positive cash balance assumption
+
+./nm_solve_lgll_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip6_loglambda.sh

+#!/bin/bash
+
+./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip7.sh

+#!/bin/bash
+
+./nm_solve --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.11 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'

File siman_solve/rsarch/runscript_ip7_lgll.sh

+#!/bin/bash
+
+## delta = 0.11 for this one
+
+./nm_solve_lgll_d11 --rho=0.38 --sigma_v=0.2843 --a=0.08  --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip7_lgll_DDW.sh

+#!/bin/bash
+
+## delta = 0.11 for this one
+
+./nm_solve_lgll_d11 --rho=0.38 --sigma_v=0.2843 --a=0.08  --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip7_lgll_DDW_m3.sh

+#!/bin/bash
+
+## delta = 0.11 for this one
+
+./nm_solve_smmddw_loggamma_d11 --rho=0.75 --sigma_v=0.2843 --a=0.08  --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_lgll_DDW_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'

File siman_solve/rsarch/runscript_ip7_lgll_m3.sh

+#!/bin/bash
+
+## delta = 0.11 for this one
+
+./nm_solve_lgll_d11 --rho=0.6 --sigma_v=0.2843 --a=0.08  --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_lgll_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413,0.881474433622887,0.00626605862564496' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3gmmweights.csv'
+

File siman_solve/rsarch/runscript_ip7_loglambda.sh

+#!/bin/bash
+
+./nm_solve --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'  --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip8_lgll.sh

+#!/bin/bash
+
+## delta = 0.13 for this one
+
+./nm_solve_lgll_d13 --rho=0.38 --sigma_v=0.2843 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip8_lgll_DDW.sh

+#!/bin/bash
+
+## delta = 0.13 for this one
+
+./nm_solve_lgll_d13 --rho=0.38 --sigma_v=0.2843 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/rsarch/runscript_ip8_lgll_DDW_m3.sh

+#!/bin/bash
+
+## delta = 0.13 for this one
+
+./nm_solve_smmddw_loggamma_d13 --rho=0.76 --sigma_v=0.2843 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll_DDW_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'
+

File siman_solve/rsarch/runscript_ip8_lgll_m3.sh

+#!/bin/bash
+
+## delta = 0.13 for this one
+
+./nm_solve_lgll_d13 --rho=0.6 --sigma_v=0.2843 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413,0.881474433622887,0.00626605862564496' --gmm_weight_matrix='/home/stevejb/myhg/is-solver/data/ddwweights/moments3gmmweights.csv'

File siman_solve/rsarch/runscript_loggamma_manuf.sh

+#!/bin/bash
+
+## this one also has log sigma v
+
+./nm_solve_lgll_d13 --rho=0.38 --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_manuf_lgll_lsv --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.0947590628322185,0.00435633879405301,0.000287268510046085,0.252932947685694,0.0333747550705714,0.15282198196,0.82691796308497,0.00260620639690851,2.40688288424767,0.011538735024014,0.00117778917137703,0.0763207510831715,0.873271926411803,0.00721135162522104' --gmm_weight_matrix='/home/ec2-user/data/manuf_mm1gmmweights.csv'

File siman_solve/rsarch/runscript_loggamma_manuf_DDW.sh

+#!/bin/bash
+
+## this one also has log sigma v
+
+./nm_solve_smmddw_loggamma_d13 --rho=0.38 --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=
+0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --theta=0.7880 --prefix=/mnt/eph0/smm_manuf_DDW --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.0947590628322185,0.00435633879405301,0.000287268510046085,0.252932947685694,0.0333747550705714,0.15282198196,0.82691796308497,0.00260620639690851,2.40688288424767,0.011538735024014,0.00117778917137703,0.0763207510831715' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/manuf_mm1_ddw_gmmweights.csv'

File siman_solve/rsarch/runscript_loggamma_mining.sh

+#!/bin/bash
+
+./nm_solve_lgll_d13 --rho=0.38 --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_loggamma_mining --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.119498143648485,0.0077942028673757,0.000696599357929067,0.294050967614069,0.0371897861263375,0.140287152530736,0.493488232355855,0.00789423609714277,0.976775067467533,0.0311101594532056,0.0044164026670411,0.0519209822642056,0.731437314187128,0.0138672980938603' --gmm_weight_matrix='/home/ec2-user/data/mining_mm1gmmweights.csv'

File siman_solve/rsarch/runscript_loggamma_mining_DDW.sh

+#!/bin/bash
+
+./nm_solve_smmddw_loggamma_d13 --rho=0.38 --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --theta=0.7880 --prefix=/mnt/eph0/smm_loggamma_mining_DDW --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.119498143648485,0.0077942028673757,0.000696599357929067,0.294050967614069,0.0371897861263375,0.140287152530736,0.493488232355855,0.00789423609714277,0.976775067467533,0.0311101594532056,0.0044164026670411,0.05192098226420563' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/mining_mm1_ddw_gmmweights.csv'

File siman_solve/rsarch/runscript_loggamma_transport_DDW.sh

+#!/bin/bash
+
+./nm_solve_smmddw_loggamma_d15 --rho=0.38 --sigma_v=-2.302585 --a=0.08 --gamma=-5.692842 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_transport_loggamma_ddw --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.103730629797826,0.00628072873726406,0.000361166560356407,0.341303088918478,0.0516248708598414,0.152083260634058,0.828257780654921,0.00147744780932678,1.56907982492754,0.0135167066079511,0.00240853074771662,0.0688966616403261,0.915791142188016,0.00103975853255081' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/transport_mm1_ddw_gmmweights.csv'

File siman_solve/rsarch/runscript_manuf.sh

+#!/bin/bash
+
+./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_manuf --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.0947590628322185,0.00435633879405301,0.000287268510046085,0.252932947685694,0.0333747550705714,0.15282198196,0.82691796308497,0.00260620639690851,2.40688288424767,0.011538735024014,0.00117778917137703,0.0763207510831715,0.873271926411803,0.00721135162522104' --gmm_weight_matrix='/home/ec2-user/data/manuf_mm1gmmweights.csv'

File siman_solve/rsarch/runscript_mining.sh

+#!/bin/bash
+
+./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_mining --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.119498143648485,0.0077942028673757,0.000696599357929067,0.294050967614069,0.0371897861263375,0.140287152530736,0.493488232355855,0.00789423609714277,0.976775067467533,0.0311101594532056,0.0044164026670411,0.0519209822642056,0.731437314187128,0.0138672980938603' --gmm_weight_matrix='/home/ec2-user/data/mining_mm1gmmweights.csv'

File siman_solve/rsarch/runscript_mining_2.sh

+#!/bin/bash
+
+./nm_solve_d15 --rho=0.66 --sigma_v=0.1 --a=0.08 --gamma=0.1 --s=0.0077 --lambda_1=0.2 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.84 --prefix=/mnt/eph0/smm_mining --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.119498143648485,0.0077942028673757,0.000696599357929067,0.294050967614069,0.0371897861263375,0.140287152530736,0.493488232355855,0.00789423609714277,0.976775067467533,0.0311101594532056,0.0044164026670411,0.0519209822642056,0.731437314187128,0.0138672980938603' --gmm_weight_matrix='/home/ec2-user/data/mining_mm1gmmweights.csv'

File siman_solve/rsarch/runscript_retail.sh

+#!/bin/bash
+
+./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_manuf --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.107124722575284,0.00535355708017895,0.000216839955448869,0.284541999948171,0.0521805099884974,0.14980491692855,0.875747347175603,0.00150237313896556,1.56883518378941,0.00901287757819546,0.000801128518339913,0.065583365697604,0.922610463303042,0.00778109541367473' --gmm_weight_matrix='/home/ec2-user/data/retail_mm1gmmweights.csv'
+

File siman_solve/rsarch/runscript_retail_loggamma_ddw.sh

+#!/bin/bash
+
+./nm_solve_smmddw_loggamma_d13 --rho=0.38  --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_retail_loggamma_ddw --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.107124722575284,0.00535355708017895,0.000216839955448869,0.284541999948171,0.0521805099884974,0.14980491692855,0.875747347175603,0.00150237313896556,1.56883518378941,0.00901287757819546,0.000801128518339913,0.065583365697604' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/retail_mm1_ddw_gmmweights.csv'
+

File siman_solve/rsarch/runscript_services.sh

+#!/bin/bash
+
+./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_services --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.11380010445974,0.00613730754456499,0.000538570282313263,0.336989774206494,0.0649412644867921,0.167701880064935,0.880911616582838,0.00172825154252222,3.64977641402597,0.0217153959295766,0.00384305800517649,0.0952005491636364,0.870794609523446,0.00436160110293463' --gmm_weight_matrix='/home/ec2-user/data/services_mm1gmmweights.csv'

File siman_solve/rsarch/runscript_services_barr_loggamma.sh

+#!/bin/bash
+
+./nm_solve_lgll_d15 --rho=0.38   --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_services_loggamma --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.11380010445974,0.00613730754456499,0.000538570282313263,0.336989774206494,0.0649412644867921,0.167701880064935,0.880911616582838,0.00172825154252222,3.64977641402597,0.0217153959295766,0.00384305800517649,0.0952005491636364,0.870794609523446,0.00436160110293463' --gmm_weight_matrix='/home/ec2-user/data/services_mm1gmmweights.csv'

File siman_solve/rsarch/runscript_services_ddw_loggamma.sh

+#!/bin/bash
+
+./nm_solve_smmddw_loggamma_d15 --rho=0.38   --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_services_loggamma --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.11380010445974,0.00613730754456499,0.000538570282313263,0.336989774206494,0.0649412644867921,0.167701880064935,0.880911616582838,0.00172825154252222,3.64977641402597,0.0217153959295766,0.00384305800517649,0.0952005491636364' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/services_mm1_ddw_gmmweights.csv'

File siman_solve/rsarch/runscript_transport.sh

+#!/bin/bash
+
+./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_transport --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.103730629797826,0.00628072873726406,0.000361166560356407,0.341303088918478,0.0516248708598414,0.152083260634058,0.828257780654921,0.00147744780932678,1.56907982492754,0.0135167066079511,0.00240853074771662,0.0688966616403261,0.915791142188016,0.00103975853255081' --gmm_weight_matrix='/home/ec2-user/data/transport_mm1gmmweights.csv'

File siman_solve/runscript.sh

-#!/bin/bash
-#./nm_solve --rho=0.7280 --sigma_v=0.2843 --a=0.151873 --gamma=0.003370 --s=0.0077 --lambda_1=0.161535 --lambda_2=0.004142 --delta=0.15 --epsilon_P=0.02 --theta=0.7880 --prefix=/mnt/eph0/smm_mm5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'
-
-./nm_solve --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'

File siman_solve/runscript_FF12shops_BARR.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-./nm_solve_lgll_d15 --rho=0.5 --sigma_v=-1.257725 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ff12shops_barr --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.104859010428016,0.00494520541889343,0.000243988278979107,0.284899099288037,0.0469824512691197,0.144481524912413,0.86923679775599,0.00136627339266134,1.69000241106851,0.0091123123452546,0.000786798210175046,0.0606512332457055,0.921797878879398,0.0067749659800719' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/FF12__shopsgmmweights.csv'

File siman_solve/runscript_FF12shops_DDW.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-./nm_solve_smmddw_loggamma_d15 --rho=0.87 --sigma_v=-1.257725 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ff12shops_ddw --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.104859010428016,0.00494520541889343,0.000243988278979107,0.284899099288037,0.0469824512691197,0.144481524912413,0.86923679775599,0.00136627339266134,1.69000241106851,0.0091123123452546,0.000786798210175046,0.0606512332457055' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/FF12__shops_ddw_gmmweights.csv'

File siman_solve/runscript_FF12telcm_BARR.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-./nm_solve_lgll_d15 --rho=0.6 --sigma_v=-1.257725 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ff12telcm_barr --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.119092810534722,0.00594676954210437,0.00065675056798056,0.451475047131944,0.106523231032251,0.149406942222222,0.797996605280155,0.00134521259526338,2.91983779138889,0.0215880931567361,0.00300483544644659,0.0547023238805556,0.955450523466985,-0.0136583411142835' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/FF12__telcmgmmweights.csv'

File siman_solve/runscript_FF12telcm_DDW.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-./nm_solve_smmddw_loggamma_d15 --rho=0.797996605280155 --sigma_v=-1.257725 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ff12telcm_ddw --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.119092810534722,0.00594676954210437,0.00065675056798056,0.451475047131944,0.106523231032251,0.149406942222222,0.797996605280155,0.00134521259526338,2.91983779138889,0.0215880931567361,0.00300483544644659,0.0547023238805556' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/FF12__telcm_ddw_gmmweights.csv'

File siman_solve/runscript_barr_loggamma_transport.sh

-#!/bin/bash
-
-./nm_solve_lgll_d15 --rho=0.38 --sigma_v=-2.302585 --a=0.08 --gamma=-5.692842 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_transport_loggamma --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.103730629797826,0.00628072873726406,0.000361166560356407,0.341303088918478,0.0516248708598414,0.152083260634058,0.828257780654921,0.00147744780932678,1.56907982492754,0.0135167066079511,0.00240853074771662,0.0688966616403261,0.915791142188016,0.00103975853255081' --gmm_weight_matrix='/home/ec2-user/data/transport_mm1gmmweights.csv'

File siman_solve/runscript_barr_retail_loggamma.sh

-#!/bin/bash
-
-./nm_solve_lgll_d13 --rho=0.38  --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_barr_retail_loggamma --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.107124722575284,0.00535355708017895,0.000216839955448869,0.284541999948171,0.0521805099884974,0.14980491692855,0.875747347175603,0.00150237313896556,1.56883518378941,0.00901287757819546,0.000801128518339913,0.065583365697604,0.922610463303042,0.00778109541367473' --gmm_weight_matrix='/home/ec2-user/data/retail_mm1gmmweights.csv'
-

File siman_solve/runscript_baseline.sh

-#!/bin/bash
-
-./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_manuf --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --gmm_weight_matrix='/home/ec2-user/data/<SOMETHING>.csv'

File siman_solve/runscript_ddw_dataq.sh

-#!/bin/bash
-
-## this reflects some newer moments
-
-export OMP_NUM_THREADS=16
-export PATH=$PATH:/home/stevejb/myhg/is-solver
-
-./nm_solve_smmddw --rho=0.76 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
-
-
-# result
-# Solved:
-#   rho=0.782336, sigma_v=0.018632, a=0.100353, gamma=0.001465, s=0.027273, lambda_1=-2.382303, lambda_2=-5.776427, theta=0.817266

File siman_solve/runscript_ddw_dataq_fakeq.sh

-#!/bin/bash
-
-## this reflects some newer moments
-
-export OMP_NUM_THREADS=16
-export PATH=$PATH:/home/stevejb/myhg/is-solver
-
-./nm_solve_smmddw --rho=0.76 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,4.6,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
-
-
-# result
-# Solved:
-#   rho=0.782336, sigma_v=0.018632, a=0.100353, gamma=0.001465, s=0.027273, lambda_1=-2.382303, lambda_2=-5.776427, theta=0.817266

File siman_solve/runscript_ddw_dataq_log_sigma_v.sh

-#!/bin/bash
-
-## this reflects some newer moments
-
-export OMP_NUM_THREADS=23
-export PATH=$PATH:/home/stevejb/myhg/is-solver
-
-./nm_solve_smmddw --rho=0.76 --sigma_v=-1.272975 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
-
-
-## unsolved

File siman_solve/runscript_ddw_dataq_log_sigma_v_v2.sh

-#!/bin/bash
-
-## this reflects some newer moments
-
-export OMP_NUM_THREADS=23
-export PATH=$PATH:/home/stevejb/myhg/is-solver
-
-./nm_solve_smmddw --rho=0.88 --sigma_v=-1.3 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
-
-
-## unsolved

File siman_solve/runscript_ddw_dataq_lslg.sh

-#!/bin/bash
-
-## this reflects some newer moments
-
-export OMP_NUM_THREADS=16
-export PATH=$PATH:/home/stevejb/myhg/is-solver
-
-./nm_solve_smmddw_loggamma --rho=0.76 --sigma_v=-1.272966 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_lgls --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
-
-
-# Found energy: 5.626150
-# converged to minimum at
-#    78  3.682e-01 -1.348e+00  2.046e-01 -5.331e+00  1.061e-01 -2.392e+00 -5.867e+00    8.355e-01 f() =   5.623 size = 0.009
-# Solved:
-#   rho=0.368239, sigma_v=-1.348416, a=0.204619, gamma=-5.331233, s=0.106140, lambda_1=-2.392476, lambda_2=-5.866700, theta=0.835461
-
-

File siman_solve/runscript_ddw_dataq_lslg_s2.sh

-#!/bin/bash
-
-## this reflects some newer moments
-
-export OMP_NUM_THREADS=16
-export PATH=$PATH:/home/stevejb/myhg/is-solver
-
-./nm_solve_smmddw_loggamma --rho=0.8 --sigma_v=-1.2 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7580 --prefix=/mnt/eph0/smm_ddw_lgls --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
-
-
-# ## currently running on ec2-50-16-23-167.compute-1.amazonaws.com
-# Found energy: 2.605730
-# converged to minimum at
-#    76  3.194e-01 -1.580e+00  5.718e-01 -5.869e+00  3.680e-01 -2.423e+00 -5.731e+00    8.085e-01 f() =   2.601 size = 0.006
-# Solved:
-#   rho=0.319449, sigma_v=-1.580158, a=0.571800, gamma=-5.868508, s=0.367963, lambda_1=-2.422914, lambda_2=-5.731017, theta=0.808493

File siman_solve/runscript_ddw_dataq_lslg_s3.sh

-#!/bin/bash
-
-## this reflects some newer moments
-
-export OMP_NUM_THREADS=16
-export PATH=$PATH:/home/stevejb/myhg/is-solver
-
-./nm_solve_smmddw_loggamma --rho=0.8 --sigma_v=-1.609438 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7580 --prefix=/mnt/eph0/smm_ddw_lgls3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
-
-
-## currently running on ec2-50-16-23-167.compute-1.amazonaws.com
-# Found energy: 6.266240
-# converged to minimum at
-#    46  6.604e-01 -1.571e+00  1.455e-01 -5.699e+00  1.810e-02 -2.346e+00 -5.807e+00    8.493e-01 f() =   6.226 size = 0.006
-# Solved:
-#   rho=0.660399, sigma_v=-1.571222, a=0.145515, gamma=-5.698864, s=0.018096, lambda_1=-2.345818, lambda_2=-5.806726, theta=0.849298

File siman_solve/runscript_ddw_dataq_start2.sh

-#!/bin/bash
-
-## this reflects some newer moments
-
-export OMP_NUM_THREADS=16
-export PATH=$PATH:/home/stevejb/myhg/is-solver
-
-./nm_solve_smmddw --rho=0.76 --sigma_v=0.25 --a=0.08 --gamma=0.1 --s=0.05 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413' --gmm_weight_matrix=moments3_ddw_gmmweights.csv

File siman_solve/runscript_ip12_lgll_DDW_m3.sh

-#!/bin/bash
-
-## delta = 0.13 for this one
-
-./nm_solve_smmddw_loggamma_d13 --rho=0.8 --sigma_v=-1.203973 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll_DDW_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'
-

File siman_solve/runscript_ip13_DDW_m3.sh

-#!/bin/bash
-
-## delta = 0.13 for this one
-
-./nm_solve_smmddw_loggamma_d15 --rho=0.8 --sigma_v=-1.203973 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll_DDW_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'
-

File siman_solve/runscript_ip5_lgll.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-./nm_solve_lgll_d15 --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip5_loglambda.sh

-#!/bin/bash
-#./nm_solve --rho=0.7280 --sigma_v=0.2843 --a=0.151873 --gamma=0.003370 --s=0.0077 --lambda_1=0.161535 --lambda_2=0.004142 --delta=0.15 --epsilon_P=0.02 --theta=0.7880 --prefix=/mnt/eph0/smm_mm5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'
-
-./nm_solve_d15 --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5_d3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip6.sh

-#!/bin/bash
-
-./nm_solve --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'

File siman_solve/runscript_ip6_ddw.sh

-#!/bin/bash
-
-
-export OMP_NUM_THREADS=16
-export PATH=$PATH:/home/stevejb/myhg/is-solver
-
-./nm_solve_smmddw --rho=0.76 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ddw_loglambdas --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089' --gmm_weight_matrix=moments3_ddw_gmmweights.csv
-
-# Found energy: 1.481960
-# converged to minimum at
-#    73  7.698e-01  2.059e-03  9.716e-02 -1.473e-02  4.563e-02 -2.308e+00 -5.791e+00    7.859e-01 f() =   1.464 size = 0.009
-# Solved:
-#   rho=0.769757, sigma_v=0.002059, a=0.097165, gamma=-0.014728, s=0.045625, lambda_1=-2.307937, lambda_2=-5.790979, theta=0.785886

File siman_solve/runscript_ip6_lgll.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-./nm_solve_lgll_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip6_lgll_DDW.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-./nm_solve_lgll_d15 --rho=0.75 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip6_lgll_DDW_m3.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-./nm_solve_smmddw_loggamma_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'
-
-

File siman_solve/runscript_ip6_lgll_m3.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-./nm_solve_lgll_d15 --rho=0.6 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413,0.881474433622887,0.00626605862564496' --gmm_weight_matrix='/home/stevejb/myhg/is-solver/data/ddwweights/moments3gmmweights.csv'

File siman_solve/runscript_ip6_lgll_redo.sh

-#!/bin/bash
-
-## this has log gamma, log sigma_v, and log lambdas
-
-export OMP_NUM_THREADS=16
-
-## this is just a redo under the positive cash balance assumption
-
-./nm_solve_lgll_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip6_loglambda.sh

-#!/bin/bash
-
-./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip6_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip7.sh

-#!/bin/bash
-
-./nm_solve --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.11 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip5 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'

File siman_solve/runscript_ip7_lgll.sh

-#!/bin/bash
-
-## delta = 0.11 for this one
-
-./nm_solve_lgll_d11 --rho=0.38 --sigma_v=0.2843 --a=0.08  --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip7_lgll_DDW.sh

-#!/bin/bash
-
-## delta = 0.11 for this one
-
-./nm_solve_lgll_d11 --rho=0.38 --sigma_v=0.2843 --a=0.08  --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip7_lgll_DDW_m3.sh

-#!/bin/bash
-
-## delta = 0.11 for this one
-
-./nm_solve_smmddw_loggamma_d11 --rho=0.75 --sigma_v=0.2843 --a=0.08  --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_lgll_DDW_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'

File siman_solve/runscript_ip7_lgll_m3.sh

-#!/bin/bash
-
-## delta = 0.11 for this one
-
-./nm_solve_lgll_d11 --rho=0.6 --sigma_v=0.2843 --a=0.08  --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_lgll_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413,0.881474433622887,0.00626605862564496' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3gmmweights.csv'
-

File siman_solve/runscript_ip7_loglambda.sh

-#!/bin/bash
-
-./nm_solve --rho=0.38 --sigma_v=0.2843 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip7_loglambda --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446'  --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip8_lgll.sh

-#!/bin/bash
-
-## delta = 0.13 for this one
-
-./nm_solve_lgll_d13 --rho=0.38 --sigma_v=0.2843 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip8_lgll_DDW.sh

-#!/bin/bash
-
-## delta = 0.13 for this one
-
-./nm_solve_lgll_d13 --rho=0.38 --sigma_v=0.2843 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.116133918565569,0.00529034006004757,0.000497090630660871,0.260844629731877,0.0348920617043264,0.162837051807986,0.803218896010606,0.00276270166802403,2.57024910029797,0.0173872752510021,0.00187734375586305,0.0720916438999089,0.866531737508857,0.00397080337542446' --gmm_weight_matrix='/home/ec2-user/data/dwin_v2___gmmweights.csv'

File siman_solve/runscript_ip8_lgll_DDW_m3.sh

-#!/bin/bash
-
-## delta = 0.13 for this one
-
-./nm_solve_smmddw_loggamma_d13 --rho=0.76 --sigma_v=0.2843 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll_DDW_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413'  --gmm_weight_matrix='/home/ec2-user/data/ddwweights/moments3_ddw_gmmweights.csv'
-

File siman_solve/runscript_ip8_lgll_m3.sh

-#!/bin/bash
-
-## delta = 0.13 for this one
-
-./nm_solve_lgll_d13 --rho=0.6 --sigma_v=0.2843 --a=0.08   --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_ip8_lgll_m3 --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.101982512990753,0.00525221237387688,0.000374579386447437,0.27982121020644,0.0421828100326982,0.15063836004174,0.787670022970381,0.00276892608293018,2.11157939893646,0.0139092966268079,0.00180157753219826,0.0718037584001413,0.881474433622887,0.00626605862564496' --gmm_weight_matrix='/home/stevejb/myhg/is-solver/data/ddwweights/moments3gmmweights.csv'

File siman_solve/runscript_loggamma_manuf.sh

-#!/bin/bash
-
-## this one also has log sigma v
-
-./nm_solve_lgll_d13 --rho=0.38 --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_manuf_lgll_lsv --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.0947590628322185,0.00435633879405301,0.000287268510046085,0.252932947685694,0.0333747550705714,0.15282198196,0.82691796308497,0.00260620639690851,2.40688288424767,0.011538735024014,0.00117778917137703,0.0763207510831715,0.873271926411803,0.00721135162522104' --gmm_weight_matrix='/home/ec2-user/data/manuf_mm1gmmweights.csv'

File siman_solve/runscript_loggamma_manuf_DDW.sh

-#!/bin/bash
-
-## this one also has log sigma v
-
-./nm_solve_smmddw_loggamma_d13 --rho=0.38 --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=
-0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --theta=0.7880 --prefix=/mnt/eph0/smm_manuf_DDW --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.0947590628322185,0.00435633879405301,0.000287268510046085,0.252932947685694,0.0333747550705714,0.15282198196,0.82691796308497,0.00260620639690851,2.40688288424767,0.011538735024014,0.00117778917137703,0.0763207510831715' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/manuf_mm1_ddw_gmmweights.csv'

File siman_solve/runscript_loggamma_mining.sh

-#!/bin/bash
-
-./nm_solve_lgll_d13 --rho=0.38 --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_loggamma_mining --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.119498143648485,0.0077942028673757,0.000696599357929067,0.294050967614069,0.0371897861263375,0.140287152530736,0.493488232355855,0.00789423609714277,0.976775067467533,0.0311101594532056,0.0044164026670411,0.0519209822642056,0.731437314187128,0.0138672980938603' --gmm_weight_matrix='/home/ec2-user/data/mining_mm1gmmweights.csv'

File siman_solve/runscript_loggamma_mining_DDW.sh

-#!/bin/bash
-
-./nm_solve_smmddw_loggamma_d13 --rho=0.38 --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --theta=0.7880 --prefix=/mnt/eph0/smm_loggamma_mining_DDW --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.119498143648485,0.0077942028673757,0.000696599357929067,0.294050967614069,0.0371897861263375,0.140287152530736,0.493488232355855,0.00789423609714277,0.976775067467533,0.0311101594532056,0.0044164026670411,0.05192098226420563' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/mining_mm1_ddw_gmmweights.csv'

File siman_solve/runscript_loggamma_transport_DDW.sh

-#!/bin/bash
-
-./nm_solve_smmddw_loggamma_d15 --rho=0.38 --sigma_v=-2.302585 --a=0.08 --gamma=-5.692842 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_transport_loggamma_ddw --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.103730629797826,0.00628072873726406,0.000361166560356407,0.341303088918478,0.0516248708598414,0.152083260634058,0.828257780654921,0.00147744780932678,1.56907982492754,0.0135167066079511,0.00240853074771662,0.0688966616403261,0.915791142188016,0.00103975853255081' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/transport_mm1_ddw_gmmweights.csv'

File siman_solve/runscript_manuf.sh

-#!/bin/bash
-
-./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_manuf --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.0947590628322185,0.00435633879405301,0.000287268510046085,0.252932947685694,0.0333747550705714,0.15282198196,0.82691796308497,0.00260620639690851,2.40688288424767,0.011538735024014,0.00117778917137703,0.0763207510831715,0.873271926411803,0.00721135162522104' --gmm_weight_matrix='/home/ec2-user/data/manuf_mm1gmmweights.csv'

File siman_solve/runscript_mining.sh

-#!/bin/bash
-
-./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003 --delta=0.13 --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_mining --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.119498143648485,0.0077942028673757,0.000696599357929067,0.294050967614069,0.0371897861263375,0.140287152530736,0.493488232355855,0.00789423609714277,0.976775067467533,0.0311101594532056,0.0044164026670411,0.0519209822642056,0.731437314187128,0.0138672980938603' --gmm_weight_matrix='/home/ec2-user/data/mining_mm1gmmweights.csv'

File siman_solve/runscript_mining_2.sh

-#!/bin/bash
-
-./nm_solve_d15 --rho=0.66 --sigma_v=0.1 --a=0.08 --gamma=0.1 --s=0.0077 --lambda_1=0.2 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.84 --prefix=/mnt/eph0/smm_mining --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.119498143648485,0.0077942028673757,0.000696599357929067,0.294050967614069,0.0371897861263375,0.140287152530736,0.493488232355855,0.00789423609714277,0.976775067467533,0.0311101594532056,0.0044164026670411,0.0519209822642056,0.731437314187128,0.0138672980938603' --gmm_weight_matrix='/home/ec2-user/data/mining_mm1gmmweights.csv'

File siman_solve/runscript_retail.sh

-#!/bin/bash
-
-./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_manuf --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.107124722575284,0.00535355708017895,0.000216839955448869,0.284541999948171,0.0521805099884974,0.14980491692855,0.875747347175603,0.00150237313896556,1.56883518378941,0.00901287757819546,0.000801128518339913,0.065583365697604,0.922610463303042,0.00778109541367473' --gmm_weight_matrix='/home/ec2-user/data/retail_mm1gmmweights.csv'
-

File siman_solve/runscript_retail_loggamma_ddw.sh

-#!/bin/bash
-
-./nm_solve_smmddw_loggamma_d13 --rho=0.38  --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_retail_loggamma_ddw --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.107124722575284,0.00535355708017895,0.000216839955448869,0.284541999948171,0.0521805099884974,0.14980491692855,0.875747347175603,0.00150237313896556,1.56883518378941,0.00901287757819546,0.000801128518339913,0.065583365697604' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/retail_mm1_ddw_gmmweights.csv'
-

File siman_solve/runscript_services.sh

-#!/bin/bash
-
-./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_services --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.11380010445974,0.00613730754456499,0.000538570282313263,0.336989774206494,0.0649412644867921,0.167701880064935,0.880911616582838,0.00172825154252222,3.64977641402597,0.0217153959295766,0.00384305800517649,0.0952005491636364,0.870794609523446,0.00436160110293463' --gmm_weight_matrix='/home/ec2-user/data/services_mm1gmmweights.csv'

File siman_solve/runscript_services_barr_loggamma.sh

-#!/bin/bash
-
-./nm_solve_lgll_d15 --rho=0.38   --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_services_loggamma --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.11380010445974,0.00613730754456499,0.000538570282313263,0.336989774206494,0.0649412644867921,0.167701880064935,0.880911616582838,0.00172825154252222,3.64977641402597,0.0217153959295766,0.00384305800517649,0.0952005491636364,0.870794609523446,0.00436160110293463' --gmm_weight_matrix='/home/ec2-user/data/services_mm1gmmweights.csv'

File siman_solve/runscript_services_ddw_loggamma.sh

-#!/bin/bash
-
-./nm_solve_smmddw_loggamma_d15 --rho=0.38   --sigma_v=-2.35 --a=0.08 --gamma=-5.692843 --s=0.0077 --lambda_1=-2.407946 --lambda_2=-5.809143 --theta=0.7880 --prefix=/mnt/eph0/smm_services_loggamma --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal' --datamoments='0.11380010445974,0.00613730754456499,0.000538570282313263,0.336989774206494,0.0649412644867921,0.167701880064935,0.880911616582838,0.00172825154252222,3.64977641402597,0.0217153959295766,0.00384305800517649,0.0952005491636364' --gmm_weight_matrix='/home/ec2-user/data/ddwweights/services_mm1_ddw_gmmweights.csv'

File siman_solve/runscript_transport.sh

-#!/bin/bash
-
-./nm_solve_d15 --rho=0.38 --sigma_v=0.1 --a=0.08 --gamma=0.003370 --s=0.0077 --lambda_1=0.09 --lambda_2=0.003  --epsilon_P=-3.912023 --theta=0.7880 --prefix=/mnt/eph0/smm_transport --momentlist='mean_inv,var_inv,inv_3rd_central,mean_lev,var_lev,mean_opr_income,ser_cor,var_opr_income_innov,mean_tobins_q,mean_equity_issuance,var_equity_issuance,mean_cash_bal,soa_beta_lev1,cov_kl3_opinc3' --datamoments='0.103730629797826,0.00628072873726406,0.000361166560356407,0.341303088918478,0.0516248708598414,0.152083260634058,0.828257780654921,0.00147744780932678,1.56907982492754,0.0135167066079511,0.00240853074771662,0.0688966616403261,0.915791142188016,0.00103975853255081' --gmm_weight_matrix='/home/ec2-user/data/transport_mm1gmmweights.csv'

File siman_solve/siman_solve.c

 #include <gsl/gsl_siman.h>
 
 /* Command to run */
-#define SOLVE_COMMAND		"solve_test-icpc"
+#define SOLVE_COMMAND		"solve_isC-icpc"
 
 /* Solve parameters */
-#define MODEL_VALUE_COUNT	10
+#define MODEL_VALUE_COUNT	8
 #define	STEP_ALPHA		0.2
 
+#define PARAM_rho  	0
+#define PARAM_sigma_v   1
+#define PARAM_a	        2
+#define PARAM_gamma  	3
+#define PARAM_s 	4	
+#define PARAM_lambda_1 	5
+#define PARAM_lambda_2 	6
+#define PARAM_theta	7
+
+
 /*
  * Model value ranges -
  *
 /* STEPHEN - FILL IN */
 double ModelValueMin[MODEL_VALUE_COUNT] =
 {
-  -10.0,	/* rho  	*/
-  -10.0,	/* sigma_v  	*/
-  -10.0,	/* a	       	*/
-  -10.0,	/* gamma  	*/
-  -10.0,	/* s 		*/
-  -10.0,	/* lambda_1 	*/
-  -10.0,	/* lambda_2 	*/
-  -10.0,	/* delta 	*/
-  -10.0,	/* epsilon_P	*/
-  -10.0		/* theta	*/
+    0.2,	/* rho  	*/
+    -3.912023,	/* sigma_v  	*/
+    0.01,	/* a	       	*/
+    -10,	/* gamma (log gamma)  	*/
+    0.0001,	/* s 		*/
+    -9.21034,	/* lambda_1 	*/
+    -9.21034,	/* lambda_2 	*/
+  /* -10.0,	/\* delta 	*\/ */
+  /* -10.0,	/\* epsilon_P	*\/ */
+    -10.0		/* theta	*/
 };
 
 /* STEPHEN - FILL IN */
 double ModelValueMax[MODEL_VALUE_COUNT] =
 {
-  10.0,		/* rho  	*/
-  10.0,		/* sigma_v 	*/
-  10.0,		/* a 	 	*/
-  10.0,		/* gamma     	*/
-  10.0,		/* s		*/
-  10.0,		/* lambda_1 	*/
-  10.0,		/* lambda_2	*/
-  10.0,		/* delta 	*/
-  10.0,		/* epsilon_P	*/
-  10.0		/* theta	*/
+    0.95,		/* rho  	*/
+    -0.01005034,		/* sigma_v 	*/
+    1.0,		/* a 	 	*/
+    -2.995732,		/* log gamma     	*/
+    0.01,		/* s		*/
+    -1.203973,		/* lambda_1 	*/
+    -4.60517,		/* lambda_2	*/
+    /* 10.0,		/\* delta 	*\/ */
+    /* 10.0,		/\* epsilon_P	*\/ */
+    0.84		/* theta	*/
 };
 
 char *ModelValueNames[MODEL_VALUE_COUNT] = 
   "s",		
   "lambda_1",	
   "lambda_2",	
-  "delta",	
-  "epsilon_P",
+  /* "delta",	 */
+  /* "epsilon_P", */
   "theta"
 };
 
 /* Global variables */
 static int	 Iter   = 1;
-static char	*Prefix = "Pref";
-
+static char	*Prefix = "Pref"
+;static char     *Momentlist = "Momentlist";
+static char     *Datamoments = "Datamoments";
+static char     *Gmmweightmatrix = "Gmmweightmatrix";
+static char     *DoSMM = "--do_smm_for_ddw --add_ddw='1' --delta='0.15' --epsilon_P='-4.0' --log_gamma --log_sigma_v ";
 /*
  * Simulated annealing parameters:
  *
       continue;
     }
 
+
+    if (strncmp(argv[i], "--momentlist=", 13) == 0) {
+	Momentlist = &argv[i][13];
+	printf("Momentlist set to %s\n", Momentlist);
+	continue;
+    }
+
+    if (strncmp(argv[i], "--datamoments=", 14) == 0) {
+	Datamoments = &argv[i][14];
+	printf("Datamoments set to %s\n", Datamoments);
+	continue;
+    }
+
+    if (strncmp(argv[i], "--gmm_weight_matrix=", 20) == 0) {
+	Gmmweightmatrix = &argv[i][20];
+	printf("Gmmweightmatrix set to %s\n", Gmmweightmatrix);
+	continue;
+    }
+
+
     j = ModelNameIndex(argv[i] + 2);
     
     if (j != -1)
   char		 Command[2048];
   char		 CommandArg[1024];
   char		 CommandOut[2048];
+  char           MlCommand[1024];
+  char           DMCommand[1024];
+  char           GMWCommand[1024];
   char		*EnPtr;
   FILE		*FP;
   double 	 Energy;
     strcat(Command, " ");
   }
 
+  /* Add smm flag */
+  strcat(Command, DoSMM);
+  strcat(Command, " ");
+
+  /* Add momentlist */
+  sprintf(MlCommand, "--momentlist='%s'", Momentlist);
+  strcat(Command, MlCommand);
+  strcat(Command, " ");
+
+  /* Add datamoments */
+  sprintf(DMCommand, "--datamoments='%s'", Datamoments);
+  strcat(Command, DMCommand);
+  strcat(Command, " ");
+
+  /* Add gmm_weight_matrix */
+  sprintf(GMWCommand, "--gmm_weight_matrix='%s'", Gmmweightmatrix);
+  strcat(Command, GMWCommand);
+  strcat(Command, " ");
+
+
   printf("Running command: %s\n", Command);
   
   Energy = INFINITY;

File solve_isC.cpp

     cout << "...done. See: " << fname + "full-sim.txt" << endl << endl;
 
 
-    Nsim = 30000;
+    Nsim = 20000;
     int NS_economies = 1;
     vector<MapStringDoubleType> allTrendedMoments;
     MapStringDoubleType trendedMoments_tmp;