PLEASE USE CSV FILE: https://drive.google.com/open?id=1Mwpuiupdb5CGq_Dgk5SaXtw2u
ID: 3066436 • Letter: P
Question
PLEASE USE CSV FILE: https://drive.google.com/open?id=1Mwpuiupdb5CGq_Dgk5SaXtw2uDSxQkbR
2. Family transportation costs are usually higher than most people believe because those costs include car payments, insurance, fuel costs, repairs, parking, and public transportation. Twenty randomly selected families in four major cities are asked to use their records to estimate a monthly figure for transportation cost. (2). Transform the data TransportationCost.csv to the data set with one dependent variable and one independent variable as two separate columns. Import the dataset you created. Construct a One-way ANOVA model using correct R command. Inspect the model. What is the p value? What is the statistical decision? Assume that a -.05.Explanation / Answer
r<-read.table("C:\Users\hp\Desktop\\attachments\tsc.csv",sep=",",header=TRUE)
r
fact=as.factor(rep(1:4,each=5))
summary(aov(r1~fact))
Output
Df Sum Sq Mean Sq F value Pr(>F)
fact 3 456630 152210 11.03 0.000358 ***
Residuals 16 220770 13798
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.