search for: bw_cx

Displaying 1 result from an estimated 1 matches for "bw_cx".

Did you mean: bw_
2016 Apr 22
1
npudens(np) Error missing value where TRUE/FALSE needed
...tion in the np package. I am trying to find a kernel density function of a multivariate dataset and the density evaluated at each of the 176 points. I have 2 continuous and 3 ordered discrete variables. My sample size is 176. So edata is a 176x(2+3) data frame, while tdat is a 1x(2+3) vector. bw_cx[i,] is a 1x (2+3) vector representing the bandwidths h for each variable, which were calculated using the npcdensbw function. (no this is not a mistake, I deliberately use the conditional one) For this I use the below function in R. kerz <- npudens(bws=(bw_cx[i,]),cykertype="epanechnikov...