R probblem statistics
Suppose you have a data set that consists of 10 numerical
observations from group A, and 10 numerical observations from group
B. Suppose we also randomly permute the numerical observations, so
that each observation is equally likely to appear in group A and in
group B (as in a permutation test). Let X denote the mean of the
values in group A, and Y denote the mean of the values in group B.
Find E[X −Y ].
rm(list=ls())
groupA=c(43,89,71,49,58,62,73,84,80,49)
groupB=c(40,70,85,64,59,60,45,78,55,68)
#x denote mean of group A.
x=mean(groupA)
#y denote mean of group B.
y=mean(groupB)
z=mean(x-y)
so here each observation appear equally likely in group A and group
B.That is as in a permutation test
OUTPUT:
> x
[1] 65.8
> y
[1] 62.4
> z
[1] 3.4
R probblem statistics Suppose you have a data set that consists of 10 numerical observations from...
Problem 1. Suppose we have a finite population of bivariate data, so the population consists of N pairs (You can think of these as pairs of measurements on a particular object-height and age of an individual, for instance.) Let μΖ and μy be the population means of the z-and y-measurements, respectively, and σ and σ, denote the population variances of the r-and y-measurements. So, for instance, and the corresponding formulas hold for Finally, let and σ ー1 denote the population...
Suppose a set of data was arranged in order from lowest to highest values as shown below, where each letter or symbol had an unknown numerical value: b, a, #, v, w, y, @, p, c, m, n, x, q, &, k, +, r, $ (a) Find the five number summary.
The following table provides a set of training data that contains 10 observations, 2 characteristics and a qualitative response variable that tells us if the patient should be classified as sick and go immediately to emergency. Observation X1 X2 Y 1 4 1 Healthy 2 1 0 Healthy 3 2 4 Sick 4 3 2 Healthy 5 1 2 Sick 6 2 5 Sick 7 4 3 Healthy 8 3 4 Sick 9 2 3 Sick 10 6 2 Healthy...
Having trouble with these two problems
3. Suppose a Coed basketball team consists of 7 females and 8 males. Suppose a starting line-up of five players is randomly selected (each possible starting line-up is equally likely). What is the exact probability that the chosen starting line-up contains at least one male? A bar is trying to get a feel for the number of drinks that a person will order. Let the random variable X denote the number of drinks a...
Suppose you randomly select 4 observations from a population with μ = 7 and σ = 2 . You find a sample mean x ̅ = 9 . The sampling error is _____. Group of answer choices 1 2 -2 unknown
Question text Suppose that you have a five-point sample data set; the observations of (x, y) are given by (8, 3), (10, 3), (6, 2), (2, 0), and (2, 1). Fit a simple linear regression model to this data by first computing the least squares estimate of the slope parameter. Which of the following is the most accurate? Select one: a. 0.3438 b. 0.4728 d. 0.6712
12. Suppose , 8. denote the proportions of Democrats (D), Republicans (R) and Others (O) in a large population of voters. (S00S0.8.25 1 anda+8+= 1.) An individual is selected at random from the population. Write X = 1, Y =0,2 = 0 if that individual is Dwrite X = 0, y = 1,2 = 0 if the individual is R and write X = 0, y = 0,2 = 1 if the individual is O. Find: a) E(X), E(Y); b)...
answer all the questions, I will give u a thumb!
1.3 A portfolio consists of 10 shares of stock A and 8 shares of stock B. The price of A has a mean of 10 and variance of 16, while the price of B has a mean of 12 and a variance of 9 The correlation between prices is 0.3. What are the mean and variance of the portfolio value? 2.1 2.1.a State the definition of the sampling distribution of...
DR 252: Applied Statistics Total ring 2019 Quiz 13 Name: Karun Dor yon y 8, 2019 -- we have n observations (zn, yī), (z21, บ2), . . . , (Zn1.Yn), where the response variable yi takes on the values either 0 or 1. We generate another training set of n observations {(x11,212, yı), (z21, Χ22W2), . . . , (4m Ind, yn)), where in each observation zil and Vi are the same as in the previous set and then t2...
Please explain very carefully!
4. Suppose that x = (x1, r.) is a sample from a N(μ, σ2) distribution where μ E R, σ2 > 0 are unknown. (a) (5 marks) Let μ+σ~p denote the p-th quantile of the N(μ, σ*) distribution. What does this mean? (b) (10 marks) Determine a UMVU estimate of,1+ ơZp and justify your answer.
4. Suppose that x = (x1, r.) is a sample from a N(μ, σ2) distribution where μ E R, σ2 >...