search for: diamonds1

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

Did you mean: diamonds
2012 May 09
0
Failed Convergence when using mi to generate synthetic data
...ords. I kept getting failed convergence. I think I have simplified the dataset down to the point where either I am doing it wrong or something is wrong (conceptually) with what I am doing. I would welcome suggestions: library(ggplot2) library(mi) data(diamonds) #use only 2800 or so observations! diamonds1 <-subset(diamonds, color=="J") rm(diamonds) #simplify the data structure diamonds1 <-subset(diamonds1, select=-c(x, z, y, cut, clarity, depth, table)) str(diamonds1) #generate a blank table emptydiamonds1 <-diamonds1 for(j in 1:dim(diamonds1)[2]) { empty...