Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4. There is a data set in R that is from the Mayo Clinic trial in primary biliary cirrhosis (PBC) of the liver conducted between
4. There is a data set in R that is from the Mayo Clinic trial in primary biliary cirrhosis (PBC) of the liver conducted between 1974 and 1984. This data set has many variables in it, but I want you to concentrate on one variable of interest. Albumin, produced only in the liver, is the major plasma protein that circulates in the blood stream. Albumin is essential for maintaining the oncotic pressure in the vascular system. A decrease in oncotic pressure due to a low albumin level allows uid to leak out from the in- terstitial spaces into the peritoneal cavity. producing ascites. Albumin is also very important in the transportation of many substances such as drugs, lipids, hormones, and toxins that are bound to albumin in the bloodstream. Once the drug or other substance reaches the liver, it is detached from the albumin and made less toxic by conversion to a water-soluble form that Can be excreted, A low serum albumin indicates poor liver function. The most common reason for a low albumin is chronic liver failure caused by cirrhosis. The standard range of albumin in a healthy liver is usually between 3.5 and 5.0 g/dL. To get the liver data to open, type the following into R: install.packages('survival') library(survival) datatpbc) attach(pbc) # this will allow you to call up the albumin variable. To check that the data set is there, just type albumin and press enter. You should see 418 measurements for albumin. (a) Let us check to see how normal our albumin data is by creating a l by 2 plotting window using par(mfrow=c(l ,2)) and plotting the following plots: Plot 1: Make an appropriately labeled histogram of the albumin variable . Change the color of the bars to something other than white. Make the main title read "Albumin Values for PBC Patients" and add an x label called \"Albumin Level (g/dL)". You should be able to do this in one command. Type help(hist) in the command window if you need to see the histogram options. Plot 2: Create a normal quantile plot, qqnonn(). for the albumin variable with main title "Q-Q Plot: Albumin\". Add the Q-Q line to the qqnorm plot using the qqline() command, Change the color of the line to red by adding col=\"red" to the qqline() command ( the de- fault is black) and change the line width by adding in lwd=2 into the qqline() command. Based on these two graphs, does the albumin data appear to come from a normal popula- tion? Justify your answer. (b) Regardless of your conclusion on normality, let us treat the albumin levels like they are a population. Find the population mean and population standard deviation for the albumin variable. Note: the function sd(). will calculate the sample standard deviation. To get the population standard deviation for any data set. multiply sd() by sqrt(n-1). In this case: sd(albumin)-sqrt(4l7/4l 8). (c) Use your albumin population mean and standard deviation to calculate the following: 1. Probability that an individual will have an albumin level below 3.49 g/dL. 2. Probability that an individual will have an albumin level between 3.5 and 5 g/dL. 3. 20th percentile of the albumin levels. (d) Let's say we sampled n=40 individuals from the population of PBC patients and found that the sample mean was i = 3.47075. The central limit theorem may be helpful here! 1. Use your albumin population standard deviation from pan (b) to calculate the standard error for the sample. Use the albumin sample mean and the standard error to calculate the probabilities in parts 2 and 3. 2. Probability that the sample mean will have an albumin level below 3.49 g/dL. 3. Probability that a sample mean will have an albumin level between 3.5 and 5 g/dL
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started