Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 1 a . What are the types of variable ( quantitative / qualitative ) and levels of measurementLinks to an external site. ( nominal

Q1 a. What are the types of variable (quantitative / qualitative) and levels of measurementLinks to an external site. (nominal / ordinal / interval / ratio) for PassengerId and Age?
Q1b. Which variable has the most missing observations? You could have Googled for "Count NA values in R for all columns in a dataframeLinks to an external site." or something like that.
Q2. Impute missing observations for Age, SibSp, and Parch with the column median (ordinal, interval, or ratio), or the column mode. To do so, use something like this: mydata$Age[is.na(mydata$Age)]<- median(mydata$Age, na.rm=TRUE). You can read up on indexing in dataframeLinks to an external site. (i.e. "dataframe_name$variable_name").
Q3. Install the psych package in R: install.packages('pscyh'). Invoke the package using library(psych). Then provide descriptive statistics for Age, SibSp, and Parch (e.g., describe(mydata$Age). Please comment on what you observe from the summary statistics.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

=+ (a) Show that C is uncountable but trifling.

Answered: 1 week ago