LittleMCAR Test

Hello, I'm trying to do the Little test for MCAR.

Dateninspektion <- read_excel("documents/Uni/FOM/01 Veranstaltungen/7. Semester/Bachelorarbeit/Datensatz_AA/Dateninspektion.xlsx")
this could take a whileError in solve.default(cov) : 'a' is 0-diml
In addition: Warning messages:
1: In mysort(data) : NAs introduced by coercion to integer range
2: In mysort(data) : NAs introduced by coercion to integer range

I already tried to find a solution with the help function, but could not succeed. What do I have to do?


It's impossible to say what could be the error from the snippet you've provided. We don't have access to dataset you are using, so first step is for you try to come up with reproducible example (e.g., by using first 10 rows if they don't have any identifiable information).

That being said, this error " NAs introduced by coercion to integer range" usually indicates that column that is not an integer was converted to one and whatever is not convertible, was turned into NA. For example, try running as.integer("x") and you'll see what I mean. Why that happens is not clear, but maybe it's something you can investigate.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.