Question

In: Statistics and Probability

Give a method to simulate BN(4,5,16,25,0.67) using cholesky factorization .Using R simulate this BN when n1=...

Give a method to simulate BN(4,5,16,25,0.67) using cholesky factorization .Using R simulate this BN when n1= 50 and n2= 50 and draw scatter diagram of (x1 ,x2) Estimate m1,m2 and sample corr(X1,X2) .Give regression line of X2 and X1 and also draw this line using method of least squares using R. Comment on your results.

Solutions

Expert Solution

Hope this was helpful. Please leave back any comment.


Related Solutions

Using the factorization criterion, determine sufficient statistics in each of the following cases. (a) Negative Binomial(r,...
Using the factorization criterion, determine sufficient statistics in each of the following cases. (a) Negative Binomial(r, p) with r specified (b) Poisson(λ) (c) Exponential(θ) ( d) Gamma(p, θ) (e) N(µ, σ2 )
Determine the factorization method and MLE of gamma distribution
Determine the factorization method and MLE of gamma distribution
Using built in R functions to calculate mean and standard deviation. Simulate the X vector with...
Using built in R functions to calculate mean and standard deviation. Simulate the X vector with a length of 50 from a normal distribution with mean 2 and variance 1. Using a for() loop, create 100 different confidence intervals and also create a variable that keeps a count of how many of these confidence intervals contain the true mean 2. Hint: Use If/else statement to keep track of whether the confidence interval contains the true mean or not within the...
Problem 7. Give the canonical prime factorization of 504
Prime Factorizations Problem 7. Give the canonical prime factorization of 504 Problem 8. Give the canonical prime factorization of 540 Problem 9. Give the canonical prime factorization of 208740. Problem 10. Give the canonical prime factorization of 514395
write a procedure that implements the Pollard rho factorization method in Mathematica.
write a procedure that implements the Pollard rho factorization method in Mathematica.
Write a procedure that implements the Fermat factorization method done in Mathematica.
Write a procedure that implements the Fermat factorization method done in Mathematica.
Using R Language The code provided below uses a for loop to simulate conducting 10,000 polls...
Using R Language The code provided below uses a for loop to simulate conducting 10,000 polls of 8 people in which each person has 58% probability of being a supporter of the Democratic candidate and a 42% probability of being a supporter of the Republican. The way the loop works is it runs through the code inside the loop 10,000 times, but changing the value of i with each iteration (i is 1 in the first iteration, 10,000 in the...
Using the factorization of wave operator, derive the D’Alembert formula.
Using the factorization of wave operator, derive the D’Alembert formula.
How to simulate independent binary response for GEE in R?
How to simulate independent binary response for GEE in R?
show (b1+b2+...+bn)/n >= (b1b2...bn)^(1/n) Hint: do induction over k when n = 2k . Then for...
show (b1+b2+...+bn)/n >= (b1b2...bn)^(1/n) Hint: do induction over k when n = 2k . Then for 2k−1 < n < 2k append to b1, b2, . . . , bn, 2 k − n equal numbers all equal to the arithmetic mean of the first n.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT