# The built in dataset DNase data frame has 176 rows and 3 columns of d

Content type
User Generated
Rating
Showing Page:
1/3
The built-in dataset DNase data frame has 176 rows and 3
columns of data obtained during development of an ELISA
assay for the recombinant protein DNase in rat serum. The
data for this problem can be found in this built-in R dataset
under the density column. Let the random variable X
represent a random observation from DNase\$density.
Assume these values are a random sample from a
population with distribution X. Assume X has mean mu and
standard deviation sigma. Answer the following using R
code. Give the R code to assign the data of
DNase\$density column to the vector x Calculate the sum
of the elements of x. Calculate the sum of the squares of
the elements of x. Calculate the mean of x, call this mean
xbar. Calculate the 65th percentile of x. Calculate an
unbiased estimate for the mean of X. Calculate an
unbiased estimate of the variance of X. Calculate the
critical value to be used to produce an 85% confidence
interval for mu. Find the lower boundary for an 85%
confidence interval for mu. Find the upper boundary for an
85% confidence interval for mu. Copy your R script for the
above into the text box here.
Solution
a)
data(DNase) # import \"DNase\" dataset.
head(DNase) # see the first 6 lines.
tail(DNase) # see the last 6 lines

Sign up to view the full document!

Showing Page:
2/3
## Run conc density
## 1 1 0.04882812 0.017
## 2 1 0.04882812 0.018
## 3 1 0.19531250 0.121
## 4 1 0.19531250 0.124
## 5 1 0.39062500 0.206
## 6 1 0.39062500 0.215
tail(DNase)
## Run conc density
## 171 11 3.125 0.994
## 172 11 3.125 0.980
## 173 11 6.250 1.421
## 174 11 6.250 1.385
## 175 11 12.500 1.715
## 176 11 12.500 1.721
> x<-cat(DNase\$density)
b)sum(x)
c)S=square(x)
sum(square(x))
d)xbar=mean(x)
xbar=
0.7192
f)boxplot(xbar)

Sign up to view the full document!

Showing Page:
3/3

Sign up to view the full document!

Unformatted Attachment Preview
The built-in dataset DNase data frame has 176 rows and 3 columns of data obtained during development of an ELISA assay for the recombinant protein DNase in rat serum. The data for this problem can be found in this built -in R dataset under the density column. Let the random variable X represent a random observation from DNase\$density. Assume these values are a random sample from a population with distribution X. Assume X has mean mu and standard deviation sigma. Answer the following using R code. Give the R code to assign the data of DNase\$density column to the vector x Calculate the sum of the elements of x. Calculate the sum of the squares of the elements of x. Calculate the mean of x, call this mean xbar. Calculate the 65th percentile of x. Calculat e an unbiased estimate for the mean of X. Calculate an unbiased estimate of the variance of X. Calculate the critical value to be used to ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

### Review

Anonymous
Really great stuff, couldn't ask for more.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4