Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 1 a . What are the types of variable ( quantitative / qualitative ) and levels of measurementLinks to an external site. ( nominal
Q 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?
Qb 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.
Q 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$Ageisnamydata$Age medianmydata$Age, narmTRUE You can read up on indexing in dataframeLinks to an external site. ie "dataframename$variablename"
Q Install the psych package in R: install.packagespscyh Invoke the package using librarypsych Then provide descriptive statistics for Age, SibSp, and Parch eg describemydata$Age Please comment on what you observe from the summary statistics.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started