I am trying to run an MCAR test using the naniar package in R. I have a dataset with 52 variables (most of these responses to items on likert type scales). I am getting the warning "Warning: In norm::prelim.norm(data) : NAs introduced by coercion to integer range". I tried changing the data types, and running the test on subsets of data frames. I am not getting the warning when I run the test on a smaller number of variables but when I increase it to about 31 columns is when the error shows up. This lead me to conclude that it's likely not a specific column that is causing the problem. Is this warning ignorable? Can i proceed with the interpreting the results despite it? or is there any other way to address it?
“Warning: In norm::prelim.norm(data) : NAs introduced by coercion to integer range” while using mcar_test in naniar package
243 Views Asked by Rstudiohelp At
1
There are 1 best solutions below
Related Questions in R
- in R, recovering strings that have been converted to factors with factor()
- How to reinstall pandoc after removing .cabal?
- How do I code a Mixed effects model for abalone growth in Aquaculture nutrition with nested individuals
- How to save t.test result in R to a txt file?
- how to call function from library in formula with R type provider
- geom_bar define border color with different fill colors
- Different outcome using model.matrix for a function in R
- Creating a combination data.table in R
- Force specific interactions in Package 'earth' in R
- Output from recursive function R
- Extract series of observations from dataframe for complete sets of data
- Retrieve path of supplementary data file of developed package
- r package development - own function not visible for opencpu
- Label a dataset according to bins of a histogram
- multiply each columns of a matrix by a vector
Related Questions in MISSING-DATA
- Application is missing a default group leaderboard (ItunesConnect error)
- MongoDB - Loading data into sharded DB with balancer on
- Alternatives to count and know what columns have missing values in Pandas
- Obtain unstandardized factor scores from factor analysis in R
- R extracting non-missing data
- replacing a missing value in R with average value
- missing value error when using mirt itemfit function in R
- combining 2 dataframes, replacing values of one frame with other R
- averaging imputation of missing values
- Add missing lines in file with python
- How do I replace all NA with mean in R?
- Remove duplicates making sure of NA values R
- Fill NaN value to continuous time series data where some timeframe were missing
- Predict the values of the unknown numbers
- Replace missing values (given as strings) in pandas dataframe by np.NaN
Related Questions in NANIAR
- Logistic regression plot for NA data not converging in R
- Show missing data in a jittered plot
- Is there another package than (1) naniar - , (2) BaylorEdpsych - , (3) MissMech - package including "Littles mcar_test"?
- MCAR test error (from naniar package): problem with mutate and"conditional number"
- Group output from naniar using dplyr, nesting/unnesting, compatibility with newer version of R
- naniar::replace_with_na_all changes factor variables to integers?
- naniar creating extra plot in rmarkdown
- How to Test Missing At Random (MAR) in R
- R is not detecting all the missing values with naniar package or colSums
- vis_miss make column titles vertical
- How to change the colour for missing values in geom_miss_point (with two different color scales)
- plot missing values hugh dataframe R
- “Warning: In norm::prelim.norm(data) : NAs introduced by coercion to integer range” while using mcar_test in naniar package
- Plot state of boolean variables as bar over time
- How naniar::impute_below_all() function fills the numbers?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is because the
naniar::mcar_test()function is based on theprelim.normfunction in thenormpackage which can handle about 30 variables.There is an extensive description of this issue in the
misty::na.test()help file (which is also based onprelim.norm.The recommend to use the
LittleMCARfunction in theBaylorEdPsychpackage which can deal with up to 50 variables. But you need to install this package from the CRAN Archive, since it was archived some time ago. Which mean you have to install it manually. Maybe the MissMech package also works - but did not check this one.