SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: "In sqrt(VS) : NaNs produced" [ Reply ]
By: Ott Toomet on 2020-06-02 16:50
[forum:47822]
Dear Atul,
sorry to hear you run into the trouble but I fail to see how is this a maxLik related problem. It seems to me you are using modifiedmk package, is that one calling maxlik behind the scenes? This does not seem to be the case, at least based its CRAN page.

"In sqrt(VS) : NaNs produced" [ Reply ]
By: Atul Saini on 2020-01-19 09:06
[forum:47324]

Data_for_R_MMKT.xlsx (2) downloads
I am using the the package modifiedmk package. Sir, I am facing the problem and therefore the script and data is attached herewith this mail please help me to solve the problem of -

"In sqrt(VS) : NaNs produced" with the p value of dumy$Mar

Script:

library(readxl)
library(modifiedmk)
dumy<-read_excel("Data_for_R_MMKT.xlsx")
mar<-dumy$Mar
mar_mmkh<-mmkh(Mar,0.90)
result<-format(mar_mmkh,scientific = FALSE)
View(result)

Thanks to:
Vienna University of Economics and Business Powered By FusionForge