library(MASS)
## a)
M=c(0,0)
M
S=matrix(c(9,0,0,1), nrow=2)
S
bivn=mvrnorm(n = 1000, mu=M, Sigma=S)
# now we do a kernel density estimate
bivn.kde <- kde2d(bivn[,1], bivn[,2], n = 50)
# now plot your results
contour(bivn.kde)
## b)
M=c(0,0)
M
S.2=matrix(c(1,-0.75,-0.75,1), nrow=2)
S.2
bivn.2=mvrnorm(n = 1000, mu=M, Sigma=S.2)
# now we do a kernel density estimate
bivn.kde.2 <- kde2d(bivn.2[,1], bivn.2[,2], n = 50)
# now plot your results
contour(bivn.kde.2)
Roughly sketch the shapes of the following Gaussians N (μ,2). For each, you only need to...
Suppose that X ~ POI(μ), where μ > 0. You will need to use the following fact: when μ is not too close to 0, VR ape x N(VF,1/4). (a) Suppose that we wish to test Ho : μ-710 against Ha : μ μί are given and 10 < μι. m, where 140 and Using 2 (Vx-VHo) as the test statistic, find a critical region (rejection region) with level approximately a (b) Now suppose that we wish to test Ho...
#2 g and #3&4 please!!!
#2 For each of the following, first sketch (roughly) the region enclosed by the given curves, labelling any important points of intersection, then find the area of the shaded region. WARNING: Make sure that you give a solid attempt and a guess to the graph BEFORE looking at the answers, or you will likely find yourself unable to do these problems on a test! (a)--(-2)2,--- (h) 4x + y2 = 12, *= fety-12-22 - x²6...
R2 IS THE QUESTION,THANKS!
R2. Let X ~ N(μ = 10.82). Following upon we be approximating μwe can see should be 100. For now, let the sample size be n = 3, Pick 3 random numbers from X, compute X', and repeat the process a total of 50000 times. Plot a smooth version of the histogram of these 50000 values for X: the plot(density(...)) command in R will be useful. Now find the average of your 50000 values and make...
The Census Bureau groups data on households into census tracts,
where each census tract has a total population of about 4,000
residents. Census tracts should be divided so that the households
in the census tracts share certain characteristics, such as
economic status. Even though most tracts are around 4,000
residents, there is some variability, which is the focus of this
lab. In practice, census tracts usually have a population between
1,200 and 8,000 people.
I just need help with the...
Solve the following recurrences. You only need to derive the asymptotic solution (in 0) 2. T(n) = 3T(1) + TRT, T(1) = 1.
Solve the following recurrences. You only need to derive the asymptotic solution (in 0) 2. T(n) = 3T(1) + TRT, T(1) = 1.
you
only need to do 2 of them
2. Grade? Y or N If you have 8 moles of FesOs and 18 moles of Aldetermine the number of moles of re produced according to the following equation. Fe2O3() + 2 Al(s) - A1203(s) + 2 Fe(s) 3. Grade? Y or N Determine the volume in mL of 3.26 M HCl(aq) required to neutralize 348.2 ml of 1.45 M Ba(OH)2(aq). 2 HCl(aq) + Ba(OH)2(aq) - BaCl2(aq)+ 2 H2O(aq) 4. Grade? Y...
Need help answering Questions 2-3 please
Q2. For each of the following, draw a representative isoquant (2 points each). For each of the following, what can you say about the marginal rate of technical substitution in each case? (3 points each) A firm can hire only full-time employees to produce its output, or it can hire some combination of full-time and part-time employees. For each full-time worker let go, the firm must hire an increasing number of temporary employees to...
Show the ERD for the following piece of the problem statements. Show only entities (or dependent entities), relationships, multiplicities, primary keys and foreign keys. Create an appropriate primary key if necessary. You don’t need to specify other attributes. If a relationship is M:N, then show two diagrams: both the M:N relationship diagram and its decomposition into two 1:N relationships. (a) A book has one or many keywords and one keyword can be used in zero or many books. (b) A...
ONLY QUESTION THAT NEED ANSWERING IS QUESTION 14 (QUESTION 2 IN
THE PAGES) THANK YOU SO MUCH FOR YOUR HELP! :)
Problem Set #2-worth 10pts The topographic map below is from the USGS O'Leary Peak, AZ 7.5" quadrangle map. The contour interval is 20 ft. Construct a topographic profile along the line X-Y using the space on the following page. 7300 7400 Medicine Valley North 7300 449 SCALE 1:24 000 0.5 KILOMETERS 1000 500 METERS 1000 0.5 MILES 1000 0...
YOU ONLY NEED TO ANSWER QUESTIONS 1,5, & 8
AND…in addition to answering each question, state 2 other
questions after each of these that might be asked of you by a
health professional that would call on you to do the same
calculation, or know the same concept. Give answer for these, and
show all work.
174 Chapter LEARNING QUESTIONS (1) Gentamicin has an average elimination half- life of approximately 2 hours and an apparent volume of distribution of 20%...