Question

In: Math

The data frame TestScores in the PASWR packages gives the test grades of 20 students taking...

The data frame TestScores in the PASWR packages gives the test grades of 20 students taking a basic statistic course.

a) Use the function EDA() on the data. Can normality be assumed?
b) Perform the test for normal distribution.

Use R to solve and show R code

Solutions

Expert Solution

a)

> library(PASWR)
> Data=TestScores[1:20,]
> EDA(Data)
[1] "Data"
Size (n) Missing Minimum 1st Qu Mean Median TrMean 3rd Qu Max. Stdev.
20.000 0.000 57.000 68.000 75.200 76.000 75.278 82.500 92.000 9.507
Var. SE Mean I.Q.R. Range Kurtosis Skewness SW p-val
90.379 2.126 14.500 35.000 -0.842 -0.097 0.938

From above graph we can say that grades of 20 students is normally distributed.

b)

> library(nortest)

i) Shapiro-Francia test for normality

Hypothesis,

H0= Grades of 20 students is normally distributed

H1=Grades of 20 students is not normally distributed

> sf.test(Data)

Shapiro-Francia normality test

data: Data

W = 0.9865, p-value = 0.9681

Here p-value > alpha=0.05

therefore we accept the H0

Therefore we can say that grades of 20 students is normally distributed.

ii)Anderson-Darling test for normality

Hypothesis,

H0= Grades of 20 students is normally distributed

H1=Grades of 20 students is not normally distributed

> ad.test(Data)

Anderson-Darling normality test

data: Data

A = 0.17194, p-value = 0.9173

Here p-value > alpha=0.05

therefore we accept the H0

Therefore we can say that grades of 20 students is normally distributed.


Related Solutions

The following data gives the number of hours 7 students spent studying and their corresponding grades...
The following data gives the number of hours 7 students spent studying and their corresponding grades on their exams. Hours Spent Studying 0 1 2.5 3 4 4.5 5.5 gRADES 60 69 72 75 78 81 90 Step 1 of 3: Calculate the correlation coefficient, r. Round your answer to six decimal places. Step 2 of 3: Determine if r is statistically significant at the 0.050.05 level. Step 3 of 3: Calculate the coefficient of determination, r2r2. Round your answer...
The following data gives the number of hours 10 students spent studying and their corresponding grades...
The following data gives the number of hours 10 students spent studying and their corresponding grades on their midterm exams. Hours Spent Studying 0 0.5 1 2 2.5 3 4 4.5 5 5.5 Midterm Grades 60 63 75 81 84 87 90 93 96 99 Determine if r is statistically significant at the 0.01 level.
The following data gives the number of hours 5 students spent studying and their corresponding grades...
The following data gives the number of hours 5 students spent studying and their corresponding grades on their midterm exams. Hours Spent Studying 0 1 2 4 5 Midterm Grades 69 72 75 84 93 Copy Data Step 1 of 3: Calculate the coefficient of determination, R2. Round your answer to three decimal places. Step 2 of 3: Determine if r if statistically significant at the 0.01 level. (a) Yes (b) No Step 3 of 3: Calculate the coefficient of...
The following data gives the number of hours 10 students spent studying and their corresponding grades...
The following data gives the number of hours 10 students spent studying and their corresponding grades on their midterm exams. Hours Spent Studying 0 0.5 1 2 2.5 3.5 4 5 5.5 6 Midterm Grades 63 72 75 78 81 84 87 90 93 96 Step 1 of 3: Draw a scatter plot of the given data Step 2 of 3: Estimate the correlation in words: positive, negative, no correlation. Step 3 of 3: Calculate the correlation coefficient, r. Round...
The following data gives the number of hours 7 students spent studying and their corresponding grades...
The following data gives the number of hours 7 students spent studying and their corresponding grades on their midterm exams. Hours Spent Studying 1 1.5 3 3.5 4 4.5 5.5 Midterm Grades 60 63 75 78 84 87 93 Step 2 of 3 : Determine if r is statistically significant at the 0.01 level.
A math department gives all college algebra students a test to test rather or not students...
A math department gives all college algebra students a test to test rather or not students taking college algebra on site perform better on Final than students that take class completely online. The Math department gathers random samples of 40 on-site students (Students who take class in the classroom) and 35 online students. The test score for each student in the random sample is determined. The mean score for the on-site students is 75, with a standard deviation of 12....
A test was given to a group of students. The grades and gender are summarized below...
A test was given to a group of students. The grades and gender are summarized below A B C Total Male 6 17 16 39 Female 19 9 15 43 Total 25 26 31 82 If one student is chosen at random from those who took the test, Find the probability that the student got a 'C' GIVEN they are male
Grades on a standardized test are known to have a mean of 10901090 for students in...
Grades on a standardized test are known to have a mean of 10901090 for students in the United States. The test is administered to 458458 randomly selected students in​ Florida; in this​ sample, the mean is 1104.171104.17 and the standard deviation ​(s​) is 117.72117.72. Another 508508 students are selected at random from Florida. They are given a​ 3-hour preparation course before the test is administered. Their average test score is 1110.711110.71 with a standard deviation of 103.55103.55. The​ 95% confidence...
Giving a test to a group of students, the grades and gender are summarized below A...
Giving a test to a group of students, the grades and gender are summarized below A B C Total Male 3 12 6 21 Female 10 2 5 17 Total 13 14 11 38 Let ππ represent the percentage of all male students who would receive a grade of C on this test. Use a 80% confidence interval to estimate p to three decimal places. Enter your answer as a tri-linear inequality using decimals (not percents). < p <
Giving a test to a group of students, the grades and gender are summarized below A...
Giving a test to a group of students, the grades and gender are summarized below A B C Total Male 3 12 6 21 Female 10 2 5 17 Total 13 14 11 38 Let ππ represent the percentage of all male students who would receive a grade of C on this test. Use a 80% confidence interval to estimate p to three decimal places. Enter your answer as a tri-linear inequality using decimals (not percents). < p <
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT