Solve the following problem:
Write an R code that truly produces a sample of 400 observations from (equ.) instead of setting the normal subsample sizes to 100 and 300. Compare the shapes of the corresponding log-likelihoods in case.
Equ.: 1/4 N (μ1,1)+3/4 N (μ2,1)
Make sure you use enough details to support your answer.