tnagler / vinereg

D-vine quantile regression
GNU General Public License v3.0
11 stars 6 forks source link

Getting an error 'Error in -2 * var_cll : non-numeric argument to binary operator' #9

Closed ArjunReddy07 closed 3 years ago

ArjunReddy07 commented 3 years ago

Hi,

I am running 'vinereg' for different sets of data. I have one response variable and three independent variables ( I do not explicitly know the relation between them).

I am not able to understand the cause for such an error, would be helpful if resolved. Thank you.

tnagler commented 3 years ago

Is it possible to give a reproducible example? (You can also send me an email if you don't want to post data publicly.) I have an idea what is happening, but without example, it's very hard to find out why.

ArjunReddy07 commented 3 years ago

Ok sure, thank you.

ArjunReddy07 commented 3 years ago

Please use the attached code snippet and the data from the excel file. This is one instance where there is an error. For some other similar instances of data, 'vinereg' is working fine. Please let me know if any concerns.

Sincerely, Arjun

On Wed, 24 Feb 2021 at 13:31, Thomas Nagler notifications@github.com wrote:

Is it possible to give a reproducible example? (You can also send me an email if you don't want to post data publicly.) I have an idea what is happening, but without example, it's very hard to find out why.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tnagler/vinereg/issues/9#issuecomment-784877043, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMBTNMMSH2QIALMYETUR7CTTASW65ANCNFSM4YD4RKRA .

tnagler commented 3 years ago

There's no attachment, please send to mail@tnagler.com.

tnagler commented 3 years ago

Alright, so in your example, no covariates were selected to have predictive power. This case wasn't handled properly in the library, should be fixed now. You can install an updated version with

devtools::install_github("tnagler/vinereg")

I'll submit the new version to CRAN soon.

tnagler commented 3 years ago

Alright, so in your example, no covariates were selected to have predictive power. This case wasn't handled properly in the library, should be fixed now. You can install an updated version with

devtools::install_github("tnagler/vinereg")

I'll submit the new version to CRAN soon.

ArjunReddy07 commented 3 years ago

ok, I was not able to think about this case. Thank you for the help. I will install the updated version and try again.

On Wed, 24 Feb 2021 at 19:13, Thomas Nagler notifications@github.com wrote:

Alright, so in your example, no covariates were selected to have predictive power. This case wasn't handled properly in the library, should be fixed now. You can install an updated version with

devtools::install_github("tnagler/vinereg")

I'll submit the new version to CRAN soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tnagler/vinereg/issues/9#issuecomment-785084325, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMBTNMJ6H6CAR7WV7WBTOR3TAT7BJANCNFSM4YD4RKRA .