Question: PLEASE USE RStudio TO ANSWER Install package AER on your computer, if you have not done before. Next, load the package and print the output
PLEASE USE RStudio TO ANSWER
Install package AER on your computer, if you have not done before. Next, load the
package and print the output of the package loading process.
Load the dataset named NMES in the AER package and display the top few records
using the head function. Finally print output of the entire process.
Use the table function to display the frequency distribution of the school variable in
NMES Explain the pattern that you see in the distribution.
Use one of the apply family functions, to compute and print a vector of averages of
all columns of NMES SUB. Note that you can use the mean function for computing
the averages.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
