-
Notifications
You must be signed in to change notification settings - Fork 2
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
coherent bsvars notation #27
Comments
Hey @donotdespair now all the objects have the same dimensions as in |
Hey @adamwang15 This is great! Thanks! Could you prepare here a list of file that you went thorugh and implemented changes. It would greatly help to work on corrections of the rest of the package! Cheers, T |
@donotdespair Of course! I have only changed these two R files, the idea is to transpose everything just before feeding them to the cpp functions (and cpp functions are kept the same).
For example, in prior$B = t(prior$A)
prior$Ysoc = t(prior$Ysoc)
prior$Xsoc = t(prior$Xsoc)
prior$Ysur = t(prior$Ysur)
prior$Xsur = t(prior$Xsur)
Y = t(data_matrices$Y)
X = t(data_matrices$X) |
|
+ simple changes to accommodate the transposes #27
Notations in R should be coherent with
bsvars
and notations in C++ should be coherent with original papers.The text was updated successfully, but these errors were encountered: