- This Exercise Is Designed To Be Used With The Statistical Package R Within Rstudio Rstudio Is On The Lab Computers Ma1 1 (96.76 KiB) Viewed 142 times
This exercise is designed to be used with the statistical package R within RStudio. RStudio is on the lab computers (MA1
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
This exercise is designed to be used with the statistical package R within RStudio. RStudio is on the lab computers (MA1
This exercise is designed to be used with the statistical package R within RStudio. RStudio is on the lab computers (MA124) or you can download it to your own computer. Using the link below, save a text version (file extension .txt) of the datafile to a folder on your computer. Then open RStudio, set your working directory to the folder where you saved the data, and load the data using the read.table() function. Remember to assign the data to an R object (i.e. give your dataset a name e.g. mydata). Note: this datafile has a header in it, so you should set header=TRUE. Further instructions on using R and loading in data can be found in the Introduction to R document on the resources page and in the course slides. Download this data file: >> text file Luteotropichormone (LH) is a pituitary hormone. Laboratory measurement of LH is typically conducted using an instrument called an electrochemistry luminescence immunity (ELI) analyser. As part of laboratory quality control, measurements were taken on samples with a known LH concentration of 64.31 mIU/mL. A total of n = 36 measurements were taken to assess whether the instrument was correctly calibrated. The dataset contains a single variable, LH, which are the LH concentrations for the 36 samples. Using your data and a = 0.05 assess whether the ELI analyser is correctly calibrated or not. Hint: if the mean LH concentration in the samples is consistent with the known concentration then the calibration is correct. a) (1) What is the sample mean LH concentration? 20 3DP (11) What is the standard deviation of the sample LH concentrations? 0 2 3DP 3DP (iii) What is the standard error of the sample mean LH concentrations for samples of size 362 b) If X represents LH concentration, which one of the following is the appropriate pair of hypotheses? OHO: x 64.31, HA : Hx = 64.31 OH : * = 64.279, HA :* # 64.279 OH : x = 64.279, HA: MX = 64.279 HHX = 64,31, HHX 64.31 O HOUX = 64.31, HA : x = 64.279