skip to main
|
skip to sidebar
Shige's Research Blog
Monday, July 05, 2010
Handling missing data in R
Some estimation procedures, including MCMCglmm, does not handle missing values directly. Before estimating these models, missing values need to be excluded. From
this post
, the command to do this is:
newdata <- na.omit(mydata)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Counter
Important Links
ADMB
Advanced R Programming
Bayesian Analysis
brms
Causality
CCPR
China Migration Project
CIDR
DAGitty
Developmental Origins Project
Doing Bayesian Data Analysis
Emacs
ESS
ggdag
Journal of Statistical Software
LaTeX wiki book
Lavaan
Lazarus
Maxima
Mplus
My Home Page
NetLogo
Nimble
OpenMX
PracTeX
Queens College
R
R bloggers
R-INLA
Rcpp
Research Progress
RStudio
ShareLaTeX
Stan
Stata
Stata Journal
StatET
TeXstudio
TUGboat
Labels
academic research
(2)
ADMB
(16)
agent-based model
(8)
air quality
(1)
algebra
(1)
Amazon
(1)
American Community Survey
(1)
aML
(11)
anamation
(1)
Android
(2)
Apophenia
(3)
Apple
(15)
Atom
(2)
AUCTeX
(2)
Azure
(1)
Bayesian
(74)
BayesX
(1)
Beamer
(1)
benchmark
(1)
beta regression
(1)
bibliographic software
(11)
bibtex
(4)
big data
(15)
BLAS
(2)
blockchain
(5)
blog
(26)
book
(50)
book reader
(3)
bootstrap
(1)
brms
(2)
BUGS
(29)
build dependency
(1)
C
(8)
C++
(25)
Cargo
(1)
causal inference
(10)
ceemple
(1)
China
(6)
Chinese
(18)
Cinnamon
(1)
citation
(3)
Clojure
(5)
cloud computing
(7)
computer
(15)
computing
(3)
console
(1)
COVID-19
(3)
CPU
(1)
css
(1)
Cure model
(5)
cygwin
(3)
DAG
(2)
data entry
(1)
data manipulation
(7)
data science
(12)
database
(2)
Debian
(10)
debug
(4)
demography
(9)
desktop
(2)
diagram
(2)
difference-in-difference
(1)
documentation
(1)
dplyr
(2)
eclipse
(11)
ecology
(1)
econometrics
(2)
Emacs
(43)
email
(1)
encryption
(1)
ESS
(3)
evolutionary psychology
(2)
exams
(1)
first difference
(1)
flash drive
(1)
font
(2)
Fortran
(10)
frailty
(3)
fraud
(1)
free books
(2)
Free software
(21)
freepascal
(3)
front-door criterion
(1)
g++
(5)
GEE
(1)
gganimate
(2)
ggdag
(1)
ggmap
(2)
ggplot2
(19)
GIS
(9)
github
(1)
GLMM
(5)
Gmail
(1)
Gnome
(2)
GPL
(1)
grant
(1)
graph
(19)
graphics
(4)
gtk
(1)
GUI
(2)
hacker
(1)
Hadoop
(3)
happiness
(1)
high performance
(3)
history
(2)
human nature
(1)
ide
(4)
Incanter
(1)
INLA
(4)
instrumental variables
(2)
interaction effect
(1)
ipython
(3)
IRT
(1)
JAGS
(20)
java
(5)
javascript
(1)
journal
(11)
Julia
(6)
Jupyter
(2)
kindle
(1)
knitr
(4)
kvm
(1)
LaplacesDemon
(2)
Laptop
(16)
Latent Gold
(1)
latent variable
(2)
LaTeX
(82)
legend
(1)
library
(4)
LibreOffice
(3)
linu
(1)
Linux
(102)
Lisp
(7)
literature review
(1)
Lubuntu
(1)
LyX
(1)
machine learning
(2)
make
(1)
map
(14)
marginal effect
(2)
Markdown
(23)
matlab
(3)
maximum likelihood
(2)
MCMC
(10)
methodology
(2)
mind mapping
(2)
Mint Linux
(20)
missing values
(3)
mixture model
(7)
MLwiN
(1)
mono
(1)
monte carlo
(1)
mortality
(2)
Mplus
(7)
multilevel model
(14)
multilevel multiprocess model
(8)
multiple imputation
(4)
natural selection
(1)
netlogo
(9)
network
(1)
news
(1)
note-taking
(1)
NSF
(1)
numerical method
(1)
obesity
(1)
Obsidian
(2)
octave
(1)
open access
(1)
open source
(9)
OpenOffice
(9)
output
(3)
PAA
(2)
pandoc
(5)
Paper
(7)
parallel
(2)
pdf
(7)
performance
(16)
phone
(1)
pipeline
(1)
politics
(3)
poststratification
(1)
prediction
(2)
presentation
(3)
prior
(1)
programming
(27)
projection
(1)
propensity score
(1)
proposal
(3)
public use data
(7)
publishing
(5)
python
(20)
quantile regression
(1)
Quarto
(1)
R
(119)
R packages
(7)
random effect
(3)
Rcpp
(11)
regular expression
(2)
relative distribution
(1)
Repast
(1)
report
(2)
reproducible research
(6)
rescue
(1)
research project
(1)
rpubs
(1)
rstan
(1)
rstudio
(22)
Russia
(1)
Rust
(2)
Sabre
(1)
scam
(1)
Sciviews
(2)
scripting
(2)
security
(1)
sequence analysis
(1)
sex ratio
(1)
sex selection
(1)
sharing monitor
(2)
shell
(2)
simulation
(15)
skewed distribution
(1)
skype
(1)
sociology
(4)
software
(21)
solid state drive
(1)
source tarball
(1)
Spark
(7)
SparkR
(8)
spatial analysis
(12)
spell checking
(1)
spline
(1)
ssh
(4)
stan
(16)
Stata
(37)
StatET
(3)
statistics
(5)
structural equation modeling
(5)
summary statistics
(1)
survey data
(1)
survival model
(2)
sweave
(15)
synchronize
(1)
SyncTeX
(1)
table
(24)
tablet pc
(10)
talk
(1)
teaching
(11)
text analysis
(4)
text editor
(9)
text mining
(4)
theme
(1)
Thunderbird
(2)
tidyr
(1)
tidyverse
(4)
TikZ
(1)
time series
(1)
tmap
(1)
to-do
(1)
trust
(1)
ubuntu
(31)
Unix
(3)
Unix philosophy
(1)
version control
(7)
vim
(1)
virtualization
(3)
Visual Studio Code
(1)
vmware
(2)
voip
(2)
vpn
(3)
web data
(3)
web log
(1)
web scraping
(3)
wiki
(2)
Windows
(1)
word count
(1)
workflow
(5)
workstation
(2)
writing
(2)
Xfce
(1)
Zelig
(3)
Zotero
(4)
Blog Archive
►
2024
(4)
►
October
(1)
►
July
(1)
►
February
(1)
►
January
(1)
►
2023
(8)
►
December
(3)
►
November
(1)
►
August
(1)
►
July
(1)
►
June
(1)
►
January
(1)
►
2022
(2)
►
August
(1)
►
April
(1)
►
2021
(11)
►
December
(1)
►
August
(2)
►
April
(1)
►
February
(5)
►
January
(2)
►
2020
(12)
►
December
(1)
►
November
(3)
►
October
(1)
►
May
(1)
►
April
(3)
►
March
(1)
►
January
(2)
►
2019
(28)
►
December
(3)
►
November
(2)
►
October
(2)
►
September
(1)
►
August
(1)
►
July
(2)
►
June
(8)
►
May
(3)
►
April
(2)
►
March
(1)
►
February
(2)
►
January
(1)
►
2018
(21)
►
December
(3)
►
November
(3)
►
October
(2)
►
July
(1)
►
April
(2)
►
March
(3)
►
February
(4)
►
January
(3)
►
2017
(19)
►
December
(4)
►
October
(1)
►
September
(1)
►
August
(1)
►
July
(3)
►
March
(2)
►
February
(3)
►
January
(4)
►
2016
(28)
►
December
(5)
►
November
(6)
►
October
(3)
►
August
(1)
►
July
(2)
►
June
(1)
►
May
(1)
►
April
(1)
►
March
(1)
►
February
(5)
►
January
(2)
►
2015
(59)
►
December
(1)
►
November
(2)
►
October
(3)
►
August
(4)
►
July
(10)
►
June
(9)
►
May
(10)
►
April
(3)
►
March
(8)
►
February
(1)
►
January
(8)
►
2014
(79)
►
December
(11)
►
November
(3)
►
October
(11)
►
September
(5)
►
August
(7)
►
July
(6)
►
June
(4)
►
May
(11)
►
April
(7)
►
March
(9)
►
February
(2)
►
January
(3)
►
2013
(58)
►
December
(3)
►
November
(7)
►
October
(8)
►
September
(7)
►
August
(2)
►
July
(3)
►
June
(9)
►
May
(6)
►
April
(5)
►
March
(3)
►
February
(3)
►
January
(2)
►
2012
(91)
►
December
(5)
►
November
(13)
►
October
(12)
►
September
(4)
►
August
(6)
►
June
(7)
►
May
(11)
►
April
(11)
►
March
(2)
►
February
(9)
►
January
(11)
►
2011
(157)
►
December
(19)
►
November
(22)
►
October
(18)
►
September
(16)
►
August
(14)
►
July
(7)
►
June
(7)
►
May
(9)
►
April
(13)
►
March
(14)
►
February
(8)
►
January
(10)
▼
2010
(213)
►
December
(6)
►
November
(10)
►
October
(19)
►
September
(21)
►
August
(16)
▼
July
(14)
Red-R
Another tablet, looking good
Pdf support in ebook reader
Recent emmigration from China...
Ebook reader price cut
Looking forward to HP's webOS-based slate computer
Living in China
Flexmix taks long time...
Npmlreg and Flexmix
Latent variable analysis package for R
Online LaTeX table generater
Flexmix for binary dependent variable
Convergence diagnostics with MCMCglmm
Handling missing data in R
►
June
(20)
►
May
(13)
►
April
(22)
►
March
(21)
►
February
(29)
►
January
(22)
►
2009
(235)
►
December
(31)
►
November
(44)
►
October
(24)
►
September
(5)
►
August
(24)
►
July
(4)
►
June
(12)
►
May
(18)
►
April
(9)
►
March
(12)
►
February
(23)
►
January
(29)
►
2008
(102)
►
December
(45)
►
November
(10)
►
October
(4)
►
September
(2)
►
August
(1)
►
July
(7)
►
June
(8)
►
May
(2)
►
April
(5)
►
March
(2)
►
February
(3)
►
January
(13)
►
2007
(55)
►
December
(8)
►
November
(5)
►
October
(9)
►
September
(3)
►
August
(13)
►
July
(3)
►
June
(4)
►
May
(1)
►
April
(3)
►
March
(2)
►
February
(3)
►
January
(1)
►
2006
(13)
►
December
(10)
►
November
(1)
►
October
(2)
No comments:
Post a Comment