Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistencies between GEMM fitting code ALL COD.docx and csv files #3

Open
muoten opened this issue Jan 24, 2021 · 0 comments
Open

Comments

@muoten
Copy link

muoten commented Jan 24, 2021

There are several inconsistencies between code in GEMM fitting code ALL COD.docx and the provided files.

Most of them can be apparently easily circumvented: removing extra spaces after filename, replacing ap_exp by ap.exp and viceversa. But several inconsistencies and required fixes are not so straightforward:

  • There is no China results.csv. There is instead China IND + CONT results and it's not clear that this is the required file.
  • DUELS results uses "," as separator instead of ";", despite what is indicated in R code. It has no 9 columns (so f=as.character(dataDUELS[a:e,9]) gets NULL) and order of columns 3 to 5 in header is not beta,se,tau but tau, beta, se
  • CTS results.csv has no 9 columns, so f gets NULL, and weight is not columns 7 but 6. Same for VHM&PP results.csv
  • output=cbind(f, weight, mu, tau, beta, se); out=subset(output, weight>0) generates 5 columns. So se=as.numeric(out[,6]) fails. And it seems also the column index of wt, mu, tau, beta and se is not right too.
  • ...

Could you please provide some updated code consistent with csv files, or at least some advice to succesfully run the script?

Thanks. Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant