Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Questions for R / RStudio (Fall 2023) / Solutions to Lab 19,20,21,22
« Last post by curiosity on December 09, 2023, 02:59:05 pm »
Can solutions to lab 19,20,21 and 22 be posted?
12
Questions for R / RStudio (Fall 2023) / Re: Question for HW8
« Last post by Darth Knight on October 31, 2023, 08:46:17 pm »
Sure. See the slide and class code.
13
Questions for R / RStudio (Fall 2023) / Question for HW8
« Last post by YuyangWu on October 31, 2023, 08:44:37 pm »
Did we learn the coverage probability?
14
We need to choose k that provides the minimum MSE.
That is our optimal level k.

Let say My.MSE is the vector of MSEs for different k values.
Then, which.min(My.MSE) will give you the index for the minimum MSE.
But, I still think the graph is good enough to find out the optimal k.
15
Questions for R / RStudio (Fall 2023) / Re: HW8 For Question 1
« Last post by Darth Knight on October 31, 2023, 08:28:47 pm »
k is the index for the level of the trimmed mean.
So, the different k's will provide you different MSEs.
16
Questions for R / RStudio (Fall 2023) / Question for HW8 and question 1 last part
« Last post by YuyangWu on October 31, 2023, 08:21:47 pm »
 According to the plot result, we may guess when k equal to which number will let the mse be small. However, is there any more useful way to determine ?
17
Questions for R / RStudio (Fall 2023) / HW8 For Question 1
« Last post by YuyangWu on October 31, 2023, 07:42:34 pm »
I know how to calculate the MSE of the Trimmed value. But how do we calculate with the k???? I have no clue for this question. Would you mind provide some help? Thanks a lot!
18
Questions for R / RStudio (Fall 2023) / Re: Question for HW7 Question 2 ii)
« Last post by Darth Knight on October 27, 2023, 08:45:52 pm »
Yes, theta.st and theta.an are vectors that contains m number of MC approximations.

19
Questions for R / RStudio (Fall 2023) / Re: Question for HW7 Question 2 ii)
« Last post by YuyangWu on October 27, 2023, 07:32:47 pm »
Hi Darth, I found the question. I forgot  the theta should be a vector.  :'(  :'(  :'(  :'(  :'(  :'(
20
Questions for R / RStudio (Fall 2023) / Re: Question for HW7 Question 2 ii)
« Last post by Darth Knight on October 27, 2023, 07:30:50 pm »
Hi,

There is nothing wrong with "NULL" to initiate a vector.
We should correct the actual body of the function content.
Pages: 1 [2] 3 4 ... 10