Question

How do you throw out the “impossible” or “really strange” values using R?

How do you throw out the “impossible” or “really strange” values using R?

Homework Answers

Answer #1

The following are some useful command to throw out impossible value.

  • If data are included impossible value then make it NA i.e R will change with NA ( not a number)
  • >is.na() .....to check presence of NA values
  • >na.omit() ......to omit data from NA
  • >na.exclude() .....not contain NA
  • >na.pass()...... Data ignore NA
  • >na.fail() .....if NA present then failed to further process
  • >outlier.replace(model, value=NA)......to replace outliers with NA
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
You are stuck out on some VERY slippery ice (don’t ask how you got there), so...
You are stuck out on some VERY slippery ice (don’t ask how you got there), so slippery that you can’t walk on it. Fortunately, you have a large rock with you (don’t ask how it got there) which you decide to throw in order to propel yourself across the ice. (You may assume that the rock’s mass is significantly less than yours.) Which object (the rock or you), if either, has the greater momentum after you throw it? Explain. Which...
Based on your understanding of correlation, do you think using regression is really necessary? Why or...
Based on your understanding of correlation, do you think using regression is really necessary? Why or why not?
Im having a really hard time with torque. What angle is used in F(R)SINtheta? When do...
Im having a really hard time with torque. What angle is used in F(R)SINtheta? When do you use F R cos theta?
Assume the earth is a uniform sphere of mass M and radius R. As strange as...
Assume the earth is a uniform sphere of mass M and radius R. As strange as it may sound, if one can dig a long tunnel from one side of the Earth straight through the center and exit the other end, any object falling into the tunnel will appear at the other end (i.e. the opposite side of the Earth) in just 2530 s (42.2 min). Call that time t. Let t be a function of G, M, and R,...
How do I find out whether f(x)=tanh (hyperbolic tangent) defined on f: R->R is increasing or...
How do I find out whether f(x)=tanh (hyperbolic tangent) defined on f: R->R is increasing or decreasing or neither? Also, how do I prove that it is a one-to-one function?
How do I do this in R Studio   1. You are testing a hypothesis Ho: μ...
How do I do this in R Studio   1. You are testing a hypothesis Ho: μ = 10 against Ha: μ < 10 based on a SRS of 20 observations from a Normal population. The data give sample mean of 8 and a sample standard deviation of 4. Find the value of t. (use correct formula, plug numerical values into formula, crunch numbers using R, report value of t) 2. What is the area to the left of the t...
How do you find Km values?
How do you find Km values?
How do you load a .txt file into r?
How do you load a .txt file into r?
You throw a stone straight up with speed 9.8 m/s. Exactly 0.80 s later you throw...
You throw a stone straight up with speed 9.8 m/s. Exactly 0.80 s later you throw a second stone straight up with the same initial speed. Ignore the possible influence of air resistance. (a) When do the stones collide? (b) How high above their common starting point are the stones when they collide?
Which of the following r values would be the most useful for using with regression? Question...
Which of the following r values would be the most useful for using with regression? Question 3 options: r=0 r=.3 r=.05 r= -.06
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT