##R code
Upper_quantile=numeric(4)
lower_quantile=numeric(4)
p=c(50,100,500,1000)
for(k in 1:4){
r=numeric(1000)
for(s in 1:1000){
dist=numeric(10000)
for(i in 1:10000){
x=runif(p[k])
y=runif(p[k])
dist[j]=(sum((x-y)^2))^(1/2)
}
r[s]=quantile(dist,prob=0.25)/quantile(dist,prob=0.75)
}
Upper_quantile[k]=quantile(r,prob=0.025)
lower_quantile[k]=quantile(r,prob=0.975)
}
plot(p,Upper_quantile,type="l",col="red",ylab="Upper and lower
quantile")
lines(p,lower_quantile,col="blue")
Use R to solve this Thank for your help 3· [Additional problem only for graduate students....
i need help on question 3 to 22 please. Midterm ex review. MATH 101 Use the following information to answer the next four exercises. The midterm grades on a chemistry exam, graded on a scale of 0 to 100, were: 62, 64, 65, 65, 68, 70, 72, 72, 74, 75, 75, 75, 76,78, 78, 81, 82, 83, 84, 85, 87, 88, 92, 95, 98, 98, 100, 100,740 1. Do you see any outliers in this data? If so, how would...
The following ANOVA model is for a multiple regression model with two independent variables: Degrees of Sum of Mean Source Freedom Squares Squares F Regression 2 60 Error 18 120 Total 20 180 Determine the Regression Mean Square (MSR): Determine the Mean Square Error (MSE): Compute the overall Fstat test statistic. Is the Fstat significant at the 0.05 level? A linear regression was run on auto sales relative to consumer income. The Regression Sum of Squares (SSR) was 360 and...