How many variables does the data frame have how many rows


Read data from the csv file "hw3data.csv" into an R data frame.

How many variables does the data frame have?

How many rows does the data frame contain?

What is the mean of the variable X2?

What is the maximum value for the variable Y?

Run a linear regression of Y on all the other variables.

Which of the input variables have a significant impact on the output variable Y?

Now run a regression of Y on only the significant variables.

What are the coefficient estimates?

By how much do you expect Y to change if X1 increases by 1?

By how much do you expect Y to change if X3 increases by 1?

By how much do you expect Y to change if X5 changes from 1 to 0?

Predict Y if , X3=%, and

Attachment:- hw3data.csv

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: How many variables does the data frame have how many rows
Reference No:- TGS01142074

Now Priced at $30 (50% Discount)

Recommended (92%)

Rated (4.4/5)