bo-js / Robin2011_RepPackage.jl

Replication Package for Robin (2011) in Julia, term project for Comp Econ class by Bo Jacobs Strom and Lewin Nolden.
MIT License
0 stars 0 forks source link

inexisting file and other issues #24

Open floswald opened 5 months ago

floswald commented 5 months ago

structure

all imports need to be here

module Robin2011_RepPackage

using Distributions
using Copulas
using LinearAlgebra
using Distributions

export SurplusVFI, matchprod, homeprod

and not here

using Robin2011_RepPackage
using CSV
using DataFrames
using Distributions
using Random
using Optimization
using OptimizationNLopt
using DelimitedFiles

# Initialisation
global N = 150
global M = 500

running

wrong path: dta = CSV.read("/Users/74097/Downloads/9070_data and programs/matlab/USquarterly.csv", DataFrame, header = false)

correct path: dta = CSV.read("/Users/74097/Downloads/9070_data and programs/stata/USquarterly.csv", DataFrame, header = false)

file does not exist.

this exists but errors.

correct path: dta = CSV.read("/Users/74097/Downloads/9070_data and programs/stata/USquarterly.raw", DataFrame, header = false)