I generate data by DGP 1 described in Su, Shi and Phillips (2016) and it works well using "PLS.cvxr". However, when I use "PLS.mosek" with the code
pls_out <- PLS.mosek(n, tt, y, x, K = 3, lambda = lambda)
, it raise error:
Error in a.out[k, ] <- mosek.out$alpha :
number of items to replace is not a multiple of replacement length
When I use "PLS.nlopt" with
pls_out <- PLS.nlopt(n, tt, y, x, K = 3, lambda = lambda)
, it raise error:
Error in eval_f(x0, ...) : object 'p' not found
I have checked that the package "Rmosel" and "nloptr" are rightly installed.
I generate data by DGP 1 described in Su, Shi and Phillips (2016) and it works well using "PLS.cvxr". However, when I use "PLS.mosek" with the code pls_out <- PLS.mosek(n, tt, y, x, K = 3, lambda = lambda) , it raise error: Error in a.out[k, ] <- mosek.out$alpha : number of items to replace is not a multiple of replacement length
When I use "PLS.nlopt" with pls_out <- PLS.nlopt(n, tt, y, x, K = 3, lambda = lambda) , it raise error: Error in eval_f(x0, ...) : object 'p' not found
I have checked that the package "Rmosel" and "nloptr" are rightly installed.