Tutor profile: Candace S.
Subject: R Programming
What would be the output for the following code? Explain what each expression means. x = c(1, 2, 5, 10, 15)^2 mean( x [ 2:4 ] )
In the first line of code, we create the object "x" which is equal to a list of numbers which we put in a vector together using "c." We square them using "^2". In the second line of code, we take the mean of the subset of the object "x." We use the brackets to indicate that we want the entries at the indices 2 through 4. Here, using the colon just means the numbers in between 2 and 4. Answer: Output would be "43"
What are the three steps in what's known as the "Central Dogma" of Biology. Aka, How does the cell use DNA to make things?
DNA is the stable molecule that stores all your cell's genetic information that it needs to make its proteins. The central dogma of biology is the phrase we use to refer the steps it takes for a part of DNA to become RNA and then that RNA to become protein. DNA becoming RNA is referred to as "transcription", while RNA to protein is referred to as "translation."
What is the Central Limit Theorem and how can we apply its ideas experimental design?
Central Limit Theorem basically says that the mean of a randomly selected sample from a population will be closer mean of the population as the sample size increases. In other words, the more samples that you have from your population the more your sample will be representative of the population. As an example: If you want to know what the average height of the population of Fiji (approximately 890,000), you can randomly select a sample of Fijians and take the average height of your sample. But the more Fijian's heights you add to your sample, the more that average will resemble the average of the entire population of Fijians.
needs and Candace will reply soon.