Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
The sequences represented in Figure all end up in one of the two modes, but with highly nonlinear patterns.
Deduce from the acceptance rate an estimator of the normalizing constant of f for each of the instrumental densities.
Derive an estimate of E[X|X>K] based on a sample from F.
Show that the sum of the weights ?i = f(Xi)/g(Xi) is only equal to n in expectation and deduce that the weights need to be renormalized .
Monte Carlo marginalization is a technique for calculating a marginal density when simulating from a joint density.
Deduce the regular and the self-normalized sequences of estimators of E[exp(X)].
Show that the bias due to the replacement of µ by x¯ n is of the order of a X2n term, which can thus be corrected directly in dn.
Show that Sigma=cov(matrix(rnorm(30),nrow=10)) defines a proper covariance matrix.
Show that the probability of acceptance in an Accept-Reject algorithm with upper bound M on the density ratio f /g is 1/M.
Compare the execution times of the two proposed implementations of the Accept-Reject algorithm, as well as alternatives simulating Nsim*Nprop proposals .
Show that the probability of acceptance is then and deduce that, to produce one normal random variable, this Accept-Reject algorithm requires .
Plot a histogram for a simulated sample and compare it with the binomial mass function. Compare your generator with the R binomial generator.
Plot the integrands, and use Monte Carlo integration based on a Cauchy simulation to calculate the integrals.
Deduce the number of simulations (as a function of t) that are necessary to achieve a variance less than 10-8.
Express the probability as an integral and use an obvious change of variable to rewrite this integral as an expectation under a U(0, 1/20) distribution.
Design a nonslender circular column with six vertical rebars and circumferential rebar cage, subjected to a factored ultimate loading Vu = 3.78 × 106 N.
Describe the role of the option na.action in the functions lm and glm.
Discuss the uses of match and which in the case of the comparison of two vectors. Compare this with the use of % in %.
Compare the execution times of the three equivalent R commands-y=c();for (t in 1:100) y[t]=exp(t).
Explain why the functions diag, dim, length, and names can be assigned new values (as in diag(m)=pi).
Using the Orange dataset that monitors tree growth versus age for five orange trees, represent the dataset using the command xyplot.
Compare both of the generators in part a. with rnorm.
Calculate the strain at position x = aw/4, y = af /2 for the case of a longitudinal tensile load Nx = 5 N/mm using the bending-restrained model.
Optimum values for these geometric ratios could be obtained by analyzing the buckling modes of the beam.
The maximum deflection should not exceed 1/800 of the span. Use the carpet plots for E-glass-polyester with Vf = 0.5.