Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAs in x and y coordinates #11

Open
tmalsburg opened this issue Mar 16, 2015 · 2 comments
Open

NAs in x and y coordinates #11

tmalsburg opened this issue Mar 16, 2015 · 2 comments

Comments

@tmalsburg
Copy link
Owner

Example:

data(samples)

fixations <- detect.fixations(samples)
head(fixations)

samples$x[100] <- NA
samples$y[100] <- NA
fixations <- detect.fixations(samples)
head(fixations)

What's the proper way to deal with NAs? We can't just delete samples with NAs because the velocity calculations assume that Δt between samples is constant.

@vasishth
Copy link

We can impute missing values given available data; I have done this in the
past.

Shravan Vasishth
Professor for Psycholinguistics and Neurolinguistics
Department of Linguistics
University of Potsdam, Germany
http://www.ling.uni-potsdam.de/~vasishth

On Mon, Mar 16, 2015 at 11:29 PM, Titus von der Malsburg <
notifications@github.com> wrote:

Example:

data(samples)

fixations <- detect.fixations(samples)
head(fixations)

samples$x[100] <- NA
samples$y[100] <- NA
fixations <- detect.fixations(samples)
head(fixations)

What's the proper way to deal with NAs? We can't just delete samples with
NAs because the velocity calculations assume that Δt between samples is
constant.


Reply to this email directly or view it on GitHub
#11.

@tmalsburg
Copy link
Owner Author

The problem is that there are different kinds of NAs that need different treatment but we don't know which type we're dealing with. For example, we'd like to keep NAs due to blinks, but whether blinks have NAs or not depends on the eyetracking system that was used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants